2 %define ecore_ver 0.9.9.044
3 %define edje_ver 0.9.9.044
4 %define evas_ver 0.9.9.044
7 Summary: Toolkit based on the EFL
8 Summary(pl.UTF-8): Toolkit oparty na EFL
14 Source0: %{name}-%{version}-%{_snap}.tar.bz2
15 # Source0-md5: 77da768fe476aa88f579eb0796b456f7
16 URL: http://enlightenment.org/p.php?p=about/libs/etk
17 BuildRequires: autoconf >= 2.52
18 BuildRequires: automake >= 1.6
19 # ecore-file ecore-x ecore-fb
20 BuildRequires: ecore-devel >= %{ecore_ver}
21 BuildRequires: edje >= %{edje_ver}
22 BuildRequires: edje-devel >= %{edje_ver}
23 BuildRequires: evas-devel >= %{evas_ver}
24 BuildRequires: gettext-autopoint
25 BuildRequires: gettext-tools >= 0.14.1
26 BuildRequires: libtool
27 BuildRequires: pkgconfig
28 Requires: %{name}-libs = %{version}-%{release}
29 Requires: fonts-TTF-bitstream-vera
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Enlightenment Foundations Library based toolkit.
35 %description -l pl.UTF-8
36 Toolkit oparty na EFL (Enlightenment Foundations Library).
39 Summary: EFL toolkit library
40 Summary(pl.UTF-8): Biblioteka toolkitu EFL.
42 Requires: ecore-fb >= %{ecore_ver}
43 Requires: ecore-file >= %{ecore_ver}
44 Requires: ecore-x >= %{ecore_ver}
45 Requires: edje-libs >= %{edje_ver}
46 Requires: evas >= %{evas_ver}
47 Conflicts: etk < 0.1.0.003
50 Enlightenment Foundations Library based toolkit library.
52 %description libs -l pl.UTF-8
53 Biblioteka toolkitu opartego na EFL (Enlightenment Foundations
57 Summary: Header files for etk library
58 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki etk
59 Group: Development/Libraries
60 Requires: %{name}-libs = %{version}-%{release}
61 # ecore-file ecore-x ecore-fb
62 Requires: ecore-devel >= %{ecore_ver}
63 Requires: edje-devel >= %{edje_ver}
64 Requires: evas-devel >= %{evas_ver}
67 This is the package containing the header files for etk library.
69 %description devel -l pl.UTF-8
70 Ten pakiet zawiera pliki nagłówkowe biblioteki etk.
73 Summary: Static etk library
74 Summary(pl.UTF-8): Statyczna biblioteka etk
75 Group: Development/Libraries
76 Requires: %{name}-devel = %{version}-%{release}
81 %description static -l pl.UTF-8
82 Statyczna biblioteka etk.
85 %setup -q -n %{name}-%{version}-%{_snap}
98 rm -rf $RPM_BUILD_ROOT
101 DESTDIR=$RPM_BUILD_ROOT
103 cd $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts
105 for FONT in $VERA; do
107 ln -s %{_fontsdir}/TTF/$FONT .
111 rm -f $RPM_BUILD_ROOT%{_libdir}/etk/engines/*.{la,a}
116 rm -rf $RPM_BUILD_ROOT
118 %post libs -p /sbin/ldconfig
119 %postun libs -p /sbin/ldconfig
121 %files -f %{name}.lang
122 %defattr(644,root,root,755)
123 %doc AUTHORS COPYING README TODO
124 %attr(755,root,root) %{_bindir}/etk_prefs
125 %attr(755,root,root) %{_bindir}/etk_test
129 %defattr(644,root,root,755)
130 %attr(755,root,root) %{_libdir}/libetk.so.*.*.*
131 %attr(755,root,root) %ghost %{_libdir}/libetk.so.1
133 %dir %{_libdir}/etk/engines
134 %attr(755,root,root) %{_libdir}/etk/engines/ecore_*.so
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_libdir}/libetk.so
141 %{_includedir}/Etk_Engine_Ecore_*.h
142 %{_pkgconfigdir}/etk.pc
145 %defattr(644,root,root,755)