]> git.pld-linux.org Git - packages/efreet.git/blobdiff - efreet.spec
- updated URL
[packages/efreet.git] / efreet.spec
index e1fed263e35c9d0dae6a88be47cb99c2074a46a9..6a3918461eef554db15bf654c53c341df06aafb7 100644 (file)
@@ -2,25 +2,28 @@
 # Conditional build:
 %bcond_without static_libs     # don't build static library
 #
-%define                ecore_ver       0.9.9
+%define                ecore_ver       1.0.0
+%define                eet_ver         1.4.0
 
 Summary:       freedesktop.org standards implementation for the EFL
 Summary(pl.UTF-8):     Implementacja standardów freedesktop.org dla EFL
 Name:          efreet
-Version:       0.0.3.002
-Release:       1
+Version:       1.0.0
+Release:       3
 License:       BSD
 Group:         X11/Libraries
-Source0:       http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
-# Source0-md5: e39b686b04cfa3ef634efe8f95858daf
-URL:           http://enlightenment.org/p.php?p=about/libs/efreet
-BuildRequires: autoconf
-BuildRequires: automake >= 1.4
-# ecore-file; ecore-desktop for tests
+Source0:       http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
+# Source0-md5: e0ac8c2598003fea833a85de8a3efe26
+URL:           http://trac.enlightenment.org/e/wiki/Efreet
+BuildRequires: autoconf >= 2.52
+BuildRequires: automake >= 1.6
 BuildRequires: ecore-devel >= %{ecore_ver}
+BuildRequires: ecore-file-devel >= %{ecore_ver}
+BuildRequires: eet-devel >= %{eet_ver}
 BuildRequires: libtool
-BuildRequires: pkgconfig
-BuildRequires: sed >= 4.0
+BuildRequires: pkgconfig >= 1:0.22
+Requires:      eet >= %{eet_ver}
+Requires:      ecore >= %{ecore_ver}
 Requires:      ecore-file >= %{ecore_ver}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -57,8 +60,9 @@ Summary:      Efreet header files
 Summary(pl.UTF-8):     Pliki nagłówkowe Efreet
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-# ecore-file
-BuildRequires: ecore-devel >= %{ecore_ver}
+Requires:      ecore-devel >= %{ecore_ver}
+Requires:      ecore-file-devel >= %{ecore_ver}
+Requires:      eet-devel >= %{eet_ver}
 
 %description devel
 Header files for Efreet.
@@ -81,8 +85,6 @@ Statyczna biblioteka Efreet.
 %prep
 %setup -q
 
-sed -i -e 's/-g -O0//' src/lib/Makefile.am
-
 %build
 %{__libtoolize}
 %{__aclocal} -I m4
@@ -90,6 +92,7 @@ sed -i -e 's/-g -O0//' src/lib/Makefile.am
 %{__autoheader}
 %{__automake}
 %configure \
+       --disable-silent-rules \
        %{!?with_static_libs:--disable-static}
 %{__make}
 
@@ -100,9 +103,8 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT
 
 # just tests
-rm $RPM_BUILD_ROOT%{_bindir}/efreet_{alloc,menu_alloc,test,spec_test,cache_test}
-rm $RPM_BUILD_ROOT%{_bindir}/{ecore_alloc,compare_results}
-rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/test
+%{__rm} $RPM_BUILD_ROOT%{_bindir}/efreet_{alloc,menu_alloc,test,spec_test,cache_test}
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/test
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -112,19 +114,33 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING README TODO
+%doc AUTHORS COPYING ChangeLog README TODO
 %attr(755,root,root) %{_libdir}/libefreet.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libefreet.so.1
+%attr(755,root,root) %{_libdir}/libefreet_mime.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libefreet_mime.so.1
+%attr(755,root,root) %{_libdir}/libefreet_trash.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libefreet_trash.so.1
+%dir %{_libdir}/efreet
+%attr(755,root,root) %{_libdir}/efreet/efreet_desktop_cache_create
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/efreet-config
 %attr(755,root,root) %{_libdir}/libefreet.so
+%attr(755,root,root) %{_libdir}/libefreet_mime.so
+%attr(755,root,root) %{_libdir}/libefreet_trash.so
 %{_libdir}/libefreet.la
-%{_includedir}/efreet
+%{_libdir}/libefreet_mime.la
+%{_libdir}/libefreet_trash.la
+%{_includedir}/efreet-1
 %{_pkgconfigdir}/efreet.pc
+%{_pkgconfigdir}/efreet-mime.pc
+%{_pkgconfigdir}/efreet-trash.pc
 
 %if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libefreet.a
+%{_libdir}/libefreet_mime.a
+%{_libdir}/libefreet_trash.a
 %endif
This page took 0.080502 seconds and 4 git commands to generate.