%define majver %(echo %version | cut -d. -f1-2) %define maj3ver %(echo %version | cut -d. -f1-3) Name: eina Version: 0.14.0 Release: 1mamba Summary: A classic player for a modern era Group: Graphical Desktop/Applications/Multimedia Vendor: openmamba Distribution: openmamba Packager: Ercole 'ercolinux' Carpanetto URL: http://eina.sourceforge.net Source: http://launchpad.net/eina/trunk/%{maj3ver}/+download/eina-%{version}.tar.gz Patch0: %{name}-0.9.4.2-gcc-4.5.1.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libcares-devel BuildRequires: libcurl-devel BuildRequires: libdbus-devel BuildRequires: libdbus-glib-devel BuildRequires: libe2fs-devel BuildRequires: libexpat-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcrypt-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libglitz-devel BuildRequires: libgpg-error-devel BuildRequires: libgstreamer-devel BuildRequires: libgtk-devel BuildRequires: libidn-devel BuildRequires: libkrb5-devel BuildRequires: libnotify-devel BuildRequires: libopenldap-devel BuildRequires: libopenssl-devel BuildRequires: libpango-devel BuildRequires: libpixman-devel BuildRequires: libpng-devel BuildRequires: libpthread-stubs-devel BuildRequires: libsasl-devel BuildRequires: libselinux-devel BuildRequires: libsqlite-devel BuildRequires: libssh2-devel BuildRequires: libstdc++6-devel BuildRequires: libunique-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libxcb-devel BuildRequires: libxcb-util-devel BuildRequires: libXdmcp-devel BuildRequires: libxml2-devel BuildRequires: libXrender-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Current music players are focused on managing your music collection, while using mandatory criteria about how they organize it. Eina does not care about it at all. If your are an organized person, chances are your music collection is organized too, and you won't like to spend your time rearranging it to follow your player's specific rules. In addition, having those players to arrange music that's randomly stored, named or tagged, is usually counterproductive. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel A classic player for a modern era. This package contains static libraries and header files need for development. %prep %setup -q #%patch0 -p1 %build %configure \ --disable-schemas-compile %make -j1 \ CFLAGS="-Wno-deprecated-declarations -Wno-unused-result %{optflags}" %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall rm -f %{buildroot}%{_datadir}/glib-2.0/schemas/gschemas.compiled %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p/sbin/ldconfig %postun -p/sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/eina %dir %{_libdir}/eina %{_libdir}/eina/* %{_libdir}/libgel-2.0.so.* %{_libdir}/libgel-ui-2.0.so.* %{_libdir}/liblomo-2.0.so.* %{_libdir}/girepository-1.0/Eina-0.14.typelib %{_libdir}/girepository-1.0/Gel-2.0.typelib %{_libdir}/girepository-1.0/GelUI-2.0.typelib %{_libdir}/girepository-1.0/Lomo-2.0.typelib %{_datadir}/applications/eina.desktop %{_datadir}/glib-2.0/schemas/net.sourceforge.eina.gschema.xml %dir %{_datadir}/eina %{_datadir}/eina/* %{_datadir}/gtk-doc/html/lomo %doc AUTHORS COPYING %files devel %defattr(-,root,root) %dir %{_includedir}/eina-%{majver} %dir %{_includedir}/eina-%{majver}/eina %{_includedir}/eina-%{majver}/eina/* %dir %{_includedir}/gel-2.0 %dir %{_includedir}/gel-2.0/gel %{_includedir}/gel-2.0/gel/*.h %dir %{_includedir}/lomo-2.0 %dir %{_includedir}/lomo-2.0/lomo %{_includedir}/lomo-2.0/lomo/*.h #%{_includedir}/eina-* %{_libdir}/libgel-2.0.a %{_libdir}/libgel-2.0.la %{_libdir}/libgel-2.0.so %{_libdir}/libgel-ui-2.0.a %{_libdir}/libgel-ui-2.0.la %{_libdir}/libgel-ui-2.0.so %{_libdir}/liblomo-2.0.a %{_libdir}/liblomo-2.0.la %{_libdir}/liblomo-2.0.so %{_datadir}/gir-1.0/Eina-0.14.gir %{_datadir}/gir-1.0/Gel-2.0.gir %{_datadir}/gir-1.0/GelUI-2.0.gir %{_datadir}/gir-1.0/Lomo-2.0.gir %dir %{_datadir}/gtk-doc/html/eina %{_datadir}/gtk-doc/html/eina/* %dir %{_datadir}/gtk-doc/html/gel %{_datadir}/gtk-doc/html/gel/* %{_libdir}/pkgconfig/*.pc %doc ChangeLog README %changelog * Tue Sep 04 2012 Automatic Build System 0.14.0-1mamba - automatic version update by autodist - forced -j1 in make to fix a build error * Thu Nov 11 2010 Silvan Calarco 0.9.4.2-1mamba - update to 0.9.4.2 * Sat Jan 02 2010 Ercole 'ercolinux' Carpanetto 0.8.0-1mamba - package created by autospec