2 %define ecore_ver 0.9.9.043
3 %define edje_ver 0.9.9.043
4 %define evas_ver 0.9.9.043
6 Summary: Toolkit based on the EFL
7 Summary(pl.UTF-8): Toolkit oparty na EFL
13 Source0: http://download.enlightenment.org/snapshots/2008-01-25/%{name}-%{version}.tar.bz2
14 # Source0-md5: 6c1f4c204f2227476cb232127156113f
15 URL: http://enlightenment.org/p.php?p=about/libs/etk
16 BuildRequires: autoconf >= 2.52
17 BuildRequires: automake >= 1.6
18 # ecore-file ecore-x ecore-fb
19 BuildRequires: ecore-devel >= %{ecore_ver}
20 BuildRequires: edje >= %{edje_ver}
21 BuildRequires: edje-devel >= %{edje_ver}
22 BuildRequires: evas-devel >= %{evas_ver}
23 BuildRequires: gettext-devel >= 0.14.1
24 BuildRequires: libtool
25 BuildRequires: pkgconfig
26 Requires: %{name}-libs = %{version}-%{release}
27 Requires: fonts-TTF-bitstream-vera
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Enlightenment Foundations Library based toolkit.
33 %description -l pl.UTF-8
34 Toolkit oparty na EFL (Enlightenment Foundations Library).
37 Summary: EFL toolkit library
38 Summary(pl.UTF-8): Biblioteka toolkitu EFL.
40 Requires: ecore-fb >= %{ecore_ver}
41 Requires: ecore-file >= %{ecore_ver}
42 Requires: ecore-x >= %{ecore_ver}
43 Requires: edje-libs >= %{edje_ver}
44 Requires: evas >= %{evas_ver}
45 Conflicts: etk < 0.1.0.003
48 Enlightenment Foundations Library based toolkit library.
50 %description libs -l pl.UTF-8
51 Biblioteka toolkitu opartego na EFL (Enlightenment Foundations
55 Summary: Header files for etk library
56 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki etk
57 Group: Development/Libraries
58 Requires: %{name}-libs = %{version}-%{release}
59 # ecore-file ecore-x ecore-fb
60 Requires: ecore-devel >= %{ecore_ver}
61 Requires: edje-devel >= %{edje_ver}
62 Requires: evas-devel >= %{evas_ver}
65 This is the package containing the header files for etk library.
67 %description devel -l pl.UTF-8
68 Ten pakiet zawiera pliki nagłówkowe biblioteki etk.
71 Summary: Static etk library
72 Summary(pl.UTF-8): Statyczna biblioteka etk
73 Group: Development/Libraries
74 Requires: %{name}-devel = %{version}-%{release}
79 %description static -l pl.UTF-8
80 Statyczna biblioteka etk.
95 rm -rf $RPM_BUILD_ROOT
98 DESTDIR=$RPM_BUILD_ROOT
100 cd $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts
102 for FONT in $VERA; do
104 ln -s %{_fontsdir}/TTF/$FONT .
108 rm -f $RPM_BUILD_ROOT%{_libdir}/etk/engines/*.{la,a}
113 rm -rf $RPM_BUILD_ROOT
115 %post libs -p /sbin/ldconfig
116 %postun libs -p /sbin/ldconfig
118 %files -f %{name}.lang
119 %defattr(644,root,root,755)
120 %doc AUTHORS COPYING README TODO
121 %attr(755,root,root) %{_bindir}/etk_prefs
122 %attr(755,root,root) %{_bindir}/etk_test
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_libdir}/libetk.so.*.*.*
128 %attr(755,root,root) %ghost %{_libdir}/libetk.so.1
130 %dir %{_libdir}/etk/engines
131 %attr(755,root,root) %{_libdir}/etk/engines/ecore_*.so
134 %defattr(644,root,root,755)
135 %attr(755,root,root) %{_libdir}/libetk.so
138 %{_includedir}/Etk_Engine_Ecore_*.h
139 %{_pkgconfigdir}/etk.pc
142 %defattr(644,root,root,755)