3 %bcond_without static_libs # don't build static library
5 %define ecore_ver 1.0.0
8 Summary: freedesktop.org standards implementation for the EFL
9 Summary(pl.UTF-8): Implementacja standardów freedesktop.org dla EFL
15 Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
16 # Source0-md5: e0ac8c2598003fea833a85de8a3efe26
17 URL: http://enlightenment.org/p.php?p=about/libs/efreet
18 BuildRequires: autoconf >= 2.52
19 BuildRequires: automake >= 1.6
20 BuildRequires: ecore-devel >= %{ecore_ver}
21 BuildRequires: ecore-file-devel >= %{ecore_ver}
22 BuildRequires: eet-devel >= %{eet_ver}
23 BuildRequires: libtool
24 BuildRequires: pkgconfig >= 1:0.22
25 Requires: eet >= %{eet_ver}
26 Requires: ecore >= %{ecore_ver}
27 Requires: ecore-file >= %{ecore_ver}
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Efreet is an implementation of the following specifications from
33 - Base Directory - Locations for system and user specific desktop
35 - Desktop Entries - The metadata associated with the applications
36 installed on a system,
37 - Application Menus - The arrangement of available applications into
39 - Icon Themes - A means of associating icons with various objects on
40 the desktop in a themable fashion.
42 By following these specifications, Enlightenment 0.17 uses the same
43 format for describing application launchers, menus and icon themes as
44 the GNOME, KDE and XFCE Desktop Environments. A system must only
45 provide a single set of this data for use with any of these desktops.
47 %description -l pl.UTF-8
48 Efreet to implementacja następujących specyfikacji z freedesktop.org:
49 - Base Directory - położenie plików konfiguracyjnych środowiska dla
50 systemu i użytkownika,
51 - Desktop Entries - metadane związane z aplikacjami zainstalowanymi w
53 - Application Menus - uporządkowanie dostępnych aplikacji w menu
55 - Icon Themes - sposób wiązania ikon z różnymi obiektami w środowisku
56 w sposób pozwalający na ustawianie motywów.
59 Summary: Efreet header files
60 Summary(pl.UTF-8): Pliki nagłówkowe Efreet
61 Group: Development/Libraries
62 Requires: %{name} = %{version}-%{release}
63 Requires: ecore-devel >= %{ecore_ver}
64 Requires: ecore-file-devel >= %{ecore_ver}
65 Requires: eet-devel >= %{eet_ver}
68 Header files for Efreet.
70 %description devel -l pl.UTF-8
71 Pliki nagłówkowe Efreet.
74 Summary: Static Efreet library
75 Summary(pl.UTF-8): Statyczna biblioteka Efreet
76 Group: Development/Libraries
77 Requires: %{name}-devel = %{version}-%{release}
80 Static Efreet library.
82 %description static -l pl.UTF-8
83 Statyczna biblioteka Efreet.
95 --disable-silent-rules \
96 %{!?with_static_libs:--disable-static}
100 rm -rf $RPM_BUILD_ROOT
103 DESTDIR=$RPM_BUILD_ROOT
106 %{__rm} $RPM_BUILD_ROOT%{_bindir}/efreet_{alloc,menu_alloc,test,spec_test,cache_test}
107 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/test
110 rm -rf $RPM_BUILD_ROOT
112 %post -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
116 %defattr(644,root,root,755)
117 %doc AUTHORS COPYING README TODO
118 %attr(755,root,root) %{_libdir}/libefreet.so.*.*.*
119 %attr(755,root,root) %ghost %{_libdir}/libefreet.so.1
120 %attr(755,root,root) %{_libdir}/libefreet_mime.so.*.*.*
121 %attr(755,root,root) %ghost %{_libdir}/libefreet_mime.so.1
122 %attr(755,root,root) %{_libdir}/libefreet_trash.so.*.*.*
123 %attr(755,root,root) %ghost %{_libdir}/libefreet_trash.so.1
124 %dir %{_libdir}/efreet
125 %attr(755,root,root) %{_libdir}/efreet/efreet_desktop_cache_create
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{_libdir}/libefreet.so
130 %attr(755,root,root) %{_libdir}/libefreet_mime.so
131 %attr(755,root,root) %{_libdir}/libefreet_trash.so
132 %{_libdir}/libefreet.la
133 %{_libdir}/libefreet_mime.la
134 %{_libdir}/libefreet_trash.la
135 %{_includedir}/efreet-1
136 %{_pkgconfigdir}/efreet.pc
137 %{_pkgconfigdir}/efreet-mime.pc
138 %{_pkgconfigdir}/efreet-trash.pc
140 %if %{with static_libs}
142 %defattr(644,root,root,755)
143 %{_libdir}/libefreet.a
144 %{_libdir}/libefreet_mime.a
145 %{_libdir}/libefreet_trash.a