Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
evas
evas.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File evas.spec of Package evas
# # spec file for package evas # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: evas Version: 1.7.8 Release: 0 Summary: Canvas and scenegraph rendering library License: BSD-2-Clause Group: Development/Libraries/C and C++ Url: http://enlightenment.org/ Source: %{name}-%{version}.tar.bz2 BuildRequires: Mesa-devel BuildRequires: SDL-devel BuildRequires: doxygen BuildRequires: eet-devel >= %{version} BuildRequires: eina-devel >= %{version} BuildRequires: fontconfig-devel BuildRequires: freetype2-devel BuildRequires: fribidi-devel BuildRequires: giflib-devel BuildRequires: glibc-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel >= 1.2.10 BuildRequires: librsvg-devel BuildRequires: libtiff-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: xorg-x11-libX11-devel BuildRequires: xorg-x11-libXext-devel BuildRequires: xorg-x11-libxcb-devel %if 0%{?suse_version} BuildRequires: fdupes %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Evas is a clean display canvas API that implements a scene graph, not an immediate-mode rendering target, is cross-platform, for several target display systems that can draw anti-aliased text, smooth super and sub-sampled scaled images, alpha-blend objects and much more. %package -n libevas1 Summary: Evas Dynamic Libraries Group: System/Libraries Requires: %{name}-modules %description -n libevas1 Headers, static libraries, test programs and documentation for eet %package devel Summary: Evas headers, static libraries, documentation and test programs Group: Development/Libraries/C and C++ Requires: Mesa-devel Requires: SDL-devel Requires: eet-devel >= %{version} Requires: eina-devel >= %{version} Requires: fontconfig-devel Requires: freetype2-devel Requires: giflib-devel Requires: glibc-devel Requires: libevas1 = %{version} Requires: libjpeg-devel Requires: libpng-devel >= 1.2.10 Requires: librsvg-devel Requires: libtiff-devel Requires: xorg-x11-libX11-devel Requires: xorg-x11-libXext-devel Requires: xorg-x11-libxcb-devel %description devel Headers, static libraries, test programs and documentation for evas %package modules Summary: Evas modules Group: Development/Libraries/C and C++ %description modules Evas modules containing loader, savers and engines. %package doc-html Summary: HTML documentation of Evas Group: Documentation/HTML %description doc-html Documentation of Evas library in form of HTML pages. %package examples Summary: Evas usage example Group: Documentation/Other %description examples Example of usage of Evas library. %prep %setup -q %build # fake time used for documentation FAKE_DOCDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%a %%b %%d %%Y') FAKE_DOCYEAR=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%Y') FAKE_DOCDATETIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%a %%b %%d %%Y %T') sed -i "s/\$datetime/$FAKE_DOCDATETIME/g;s/\$date/$FAKE_DOCDATE/g;s/\$year/$FAKEDOCYEAR/g" doc/*.html %if 0%{?sles_version} && 0%{?sles_version} <= 10 # old gcc without intristic %configure --disable-static --disable-cpu-sse3 --enable-image-loader-generic --enable-software-16-x11 %else %configure --disable-static \ --enable-image-loader-generic \ --enable-image-loader-svg \ --with-opengl=full \ %ifarch %arm --enable-gl-flavor-gles \ --enable-gles-variety-sgx \ --enable-gl-xlib \ %endif --enable-software-16-x11 \ --disable-wayland-shm \ --disable-wayland-egl %endif make %{?_smp_mflags} make doc %install make install DESTDIR="%buildroot" # copy documentation manually echo "Copying HTML documentation" mkdir -p %{buildroot}%{_docdir}/%{name} /bin/cp -vr doc/html %{buildroot}%{_docdir}/%{name} # fix line endings find %{buildroot}%{_docdir} -name '*.eps' | xargs sed -i 's@\r@\n@g' # fix permissions find %{buildroot}%{_docdir} -type f | xargs chmod 0644 find %{buildroot}%{_docdir} -type d | xargs chmod 0755 # remove duplicates %if 0%{?suse_version} %fdupes -s %{buildroot}%{_docdir} %endif find %{buildroot}%{_libdir} -name '*.la' -exec rm -v {} \; if [ /usr/lib != %{_libexecdir} ] && [ -e %{buildroot}%{_prefix}/lib/dummy_slave ]; then mv %{buildroot}%{_prefix}/lib/evas* %{buildroot}%{_prefix}/lib/dummy_slave %{buildroot}%{_libexecdir} fi %post -n libevas1 -p /sbin/ldconfig %postun -n libevas1 -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/evas_* %files -n libevas1 %defattr(-, root, root) %{_libdir}/libevas.so.* %files modules %defattr(-, root, root) %dir %{_libdir}/evas/ %dir %{_libdir}/evas/modules/ %dir %{_libdir}/evas/modules/loaders/ %{_libdir}/evas/cserve2 %{_libdir}/evas/modules/engines %{_libdir}/evas/modules/savers %{_libdir}/evas/modules/loaders/bmp %{_libdir}/evas/modules/loaders/eet %{_libdir}/evas/modules/loaders/generic %{_libdir}/evas/modules/loaders/gif %{_libdir}/evas/modules/loaders/ico %{_libdir}/evas/modules/loaders/jpeg %{_libdir}/evas/modules/loaders/pmaps %{_libdir}/evas/modules/loaders/png %{_libdir}/evas/modules/loaders/psd %{_libdir}/evas/modules/loaders/tga %{_libdir}/evas/modules/loaders/tiff %{_libdir}/evas/modules/loaders/wbmp %{_libdir}/evas/modules/loaders/xpm %files devel %defattr(-, root, root) %{_includedir}/evas-1/ %{_libdir}/pkgconfig/evas*.pc %{_libdir}/libevas.so %dir %{_datadir}/evas/ %{_datadir}/evas/checkme %{_libexecdir}/evas_* %{_libexecdir}/dummy_slave %files doc-html %defattr(-, root, root) %{_docdir}/%{name} %files examples %defattr(-, root, root) %{_datadir}/%{name}/examples %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor