3 %bcond_without static_libs # don't build static library
5 Summary: freedesktop.org standards implementation for the EFL
6 Summary(pl.UTF-8): Implementacja standardów freedesktop.org dla EFL
12 Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
13 # Source0-md5: e39b686b04cfa3ef634efe8f95858daf
14 URL: http://enlightenment.org/p.php?p=about/libs/efreet
15 BuildRequires: autoconf
16 BuildRequires: automake >= 1.4
17 # ecore-file; ecore-desktop for tests
18 BuildRequires: ecore-devel >= 0.9.9
19 BuildRequires: libtool
20 BuildRequires: pkgconfig
21 BuildRequires: sed >= 4.0
22 Requires: ecore-file >= 0.9.9
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Efreet is an implementation of the following specifications from
28 - Base Directory - Locations for system and user specific desktop
30 - Desktop Entries - The metadata associated with the applications
31 installed on a system,
32 - Application Menus - The arrangement of available applications into
34 - Icon Themes - A means of associating icons with various objects on
35 the desktop in a themable fashion.
37 By following these specifications, Enlightenment 0.17 uses the same
38 format for describing application launchers, menus and icon themes as
39 the GNOME, KDE and XFCE Desktop Environments. A system must only
40 provide a single set of this data for use with any of these desktops.
42 %description -l pl.UTF-8
43 Efreet to implementacja następujących specyfikacji z freedesktop.org:
44 - Base Directory - położenie plików konfiguracyjnych środowiska dla
45 systemu i użytkownika,
46 - Desktop Entries - metadane związane z aplikacjami zainstalowanymi w
48 - Application Menus - uporządkowanie dostępnych aplikacji w menu
50 - Icon Themes - sposób wiązania ikon z różnymi obiektami w środowisku
51 w sposób pozwalający na ustawianie motywów.
54 Summary: Efreet header files
55 Summary(pl.UTF-8): Pliki nagłówkowe Efreet
56 Group: Development/Libraries
57 Requires: %{name} = %{version}-%{release}
59 BuildRequires: ecore-devel >= 0.9.9
62 Header files for Efreet.
64 %description devel -l pl.UTF-8
65 Pliki nagłówkowe Efreet.
68 Summary: Static Efreet library
69 Summary(pl.UTF-8): Statyczna biblioteka Efreet
70 Group: Development/Libraries
71 Requires: %{name}-devel = %{version}-%{release}
74 Static Efreet library.
76 %description static -l pl.UTF-8
77 Statyczna biblioteka Efreet.
82 sed -i -e 's/-g -O0//' src/lib/Makefile.am
91 %{!?with_static_libs:--disable-static}
95 rm -rf $RPM_BUILD_ROOT
98 DESTDIR=$RPM_BUILD_ROOT
101 rm $RPM_BUILD_ROOT%{_bindir}/efreet_{alloc,menu_alloc,test,spec_test,cache_test}
102 rm $RPM_BUILD_ROOT%{_bindir}/{ecore_alloc,compare_results}
103 rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/test
106 rm -rf $RPM_BUILD_ROOT
108 %post -p /sbin/ldconfig
109 %postun -p /sbin/ldconfig
112 %defattr(644,root,root,755)
113 %doc AUTHORS COPYING README TODO
114 %attr(755,root,root) %{_libdir}/libefreet.so.*.*.*
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_bindir}/efreet-config
119 %attr(755,root,root) %{_libdir}/libefreet.so
120 %{_libdir}/libefreet.la
121 %{_includedir}/efreet
122 %{_pkgconfigdir}/efreet.pc
124 %if %{with static_libs}
126 %defattr(644,root,root,755)
127 %{_libdir}/libefreet.a