1 # NOTE: this library is obsolete, don't on ftp
4 %bcond_without static_libs # don't build static library
5 %bcond_with epeg # use Epeg for JPEG scaling (no longer supported by configure)
7 %define ecore_ver 1.0.0
8 %define edje_ver 0.9.9.044
9 %define epeg_ver 0.9.1.043
10 %define evas_ver 0.9.9.044
11 %define _snap 20080813
13 Summary: Enlightened Thumbnail Generator
14 Summary(pl.UTF-8): Oświecony generator miniaturek obrazów
17 Release: 0.%{_snap}.1.1
20 Source0: %{name}-%{version}-%{_snap}.tar.bz2
21 # Source0-md5: b677b9c39aa2d5b467503faffd4b4879
22 # this patch is probably incomplete, Ecore_List and Eina_List semantics differ
23 Patch0: %{name}-update.patch
24 URL: http://enlightenment.org/
25 BuildRequires: autoconf
26 BuildRequires: automake
27 BuildRequires: ecore-devel >= %{ecore_ver}
28 BuildRequires: ecore-evas-devel >= %{ecore_ver}
29 BuildRequires: ecore-file-devel >= %{ecore_ver}
30 BuildRequires: ecore-ipc-devel >= %{ecore_ver}
31 BuildRequires: edje-devel >= %{edje_ver}
32 %{?with_epeg:BuildRequires: epeg-devel >= %{epeg_ver}}
33 BuildRequires: evas-devel >= %{evas_ver}
34 BuildRequires: imlib2-devel >= 1.0.0
35 BuildRequires: libpng-devel >= 1.2.0
36 BuildRequires: libtool
37 BuildRequires: perl-base
38 BuildRequires: pkgconfig
39 BuildRequires: xine-lib-devel >= 1:1.0.0
40 Requires: %{name}-libs = %{version}-%{release}
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46 Epsilon is a small, display independent, and quick thumbnailing
47 library. The lib itself conforms to the standard put forth by
48 freedesktop.org . You can find out more information about it at
49 http://triq.net/~jens/thumbnail-spec/index.html .
52 Epeg offers very noticeable speed increases to this standard, but it
53 is only available if the input image is a JPEG file. If the file is
54 anything other than jpg, the traditional freedesktop.org thumbnailing
55 will occur. To show the speed increase epeg offers, Epsilon can be
56 built with and without epeg.
59 Note: this library is obsolete; Ethumb should be used instead.
61 %description -l pl.UTF-8
62 Epsilon to mała, niezależna od ekranu i szybka biblioteka do
63 generowania miniaturek obrazów. Sama biblioteka jest zgodna ze
64 standardem opracowanym przez freedesktop.org . Więcej informacji
65 można znaleźć pod adresem
66 http://triq.net/~jens/thumbnail-spec/index.html .
69 Epeg oferuje bardzo zauważalne przyspieszenie w stosunku do tego
70 standardu, ale jest ono dostępne tylko jeśli obrazek jest plikiem
71 JPEG. Jeśli plik jest innego typu, zostanie użyte tradycyjne
72 zachowanie freedesktop.org . Aby pokazać przyspieszenie oferowane
73 przez epeg, Epsilon może być zbudowany z lub bez epeg.
76 Uwaga: ta biblioteka jest przestarzała; zamiast niej należy używać
80 Summary: Epsilon library
81 Summary(pl.UTF-8): Biblioteka Epsilon
83 Requires: ecore-evas >= %{ecore_ver}
84 Requires: ecore-file >= %{ecore_ver}
85 Requires: ecore-ipc >= %{ecore_ver}
86 Requires: edje-libs >= %{edje_ver}
87 %{?with_epeg:Requires: epeg-libs >= %{epeg_ver}}
88 Requires: evas >= %{evas_ver}
89 Requires: imlib2 >= 1.0.0
94 %description libs -l pl.UTF-8
98 Summary: Epsilon header file
99 Summary(pl.UTF-8): Plik nagłówkowy Epsilon
100 Group: X11/Development/Libraries
101 Requires: %{name}-libs = %{version}-%{release}
102 Requires: ecore-evas-devel >= %{ecore_ver}
103 Requires: ecore-file-devel >= %{ecore_ver}
104 Requires: ecore-ipc-devel >= %{ecore_ver}
105 Requires: edje-devel >= %{edje_ver}
106 %{?with_epeg:Requires: epeg-devel >= %{epeg_ver}}
107 Requires: evas-devel >= %{evas_ver}
108 Requires: imlib2-devel >= 1.0.0
109 Requires: libpng-devel >= 1.2.0
112 Epsilon thumbnailer development header.
114 %description devel -l pl.UTF-8
115 Plik nagłówkowy biblioteki Epsilon generującej miniaturki obrazów.
118 Summary: Static Epsilon library
119 Summary(pl.UTF-8): Statyczna biblioteka Epsilon
120 Group: X11/Development/Libraries
121 Requires: %{name}-devel = %{version}-%{release}
124 Static Epsilon library.
126 %description static -l pl.UTF-8
127 Statyczna biblioteka Epsilon.
130 Summary: XINE-based thumbnailer for Epsilon
131 Summary(pl.UTF-8): Oparty na XINE generator miniaturek dla Epsilona
133 Requires: %{name}-libs = %{version}-%{release}
134 Requires: xine-lib >= 1:1.0.0
136 %description plugin-xine
137 XINE-based thumbnailer for Epsilon. It supports MPEG, AVI, WMV and
140 Oparty na XINE generator miniaturek dla Epsilona. Obsługuje pliki
141 MPEG, AVI, WMV i QuickTime.
144 %setup -q -n %{name}-%{version}-%{_snap}
154 %{!?with_static_libs:--disable-static}
158 rm -rf $RPM_BUILD_ROOT
161 DESTDIR=$RPM_BUILD_ROOT
163 %{__rm} $RPM_BUILD_ROOT%{_libdir}/epsilon/plugins/*.{la,a}
166 rm -rf $RPM_BUILD_ROOT
168 %post libs -p /sbin/ldconfig
169 %postun libs -p /sbin/ldconfig
172 %defattr(644,root,root,755)
173 %doc AUTHORS COPYING README
174 %attr(755,root,root) %{_bindir}/epsilon
175 %attr(755,root,root) %{_bindir}/epsilon_thumbd
176 %attr(755,root,root) %{_bindir}/epsilon_thumb_test
179 %defattr(644,root,root,755)
180 %attr(755,root,root) %{_libdir}/libepsilon.so.*.*.*
181 %attr(755,root,root) %ghost %{_libdir}/libepsilon.so.0
182 %dir %{_libdir}/epsilon
183 %dir %{_libdir}/epsilon/plugins
186 %defattr(644,root,root,755)
187 %attr(755,root,root) %{_libdir}/libepsilon.so
188 %{_libdir}/libepsilon.la
189 %{_includedir}/Epsilon*.h
190 %{_pkgconfigdir}/epsilon.pc
192 %if %{with static_libs}
194 %defattr(644,root,root,755)
195 %{_libdir}/libepsilon.a
199 %defattr(644,root,root,755)
200 %attr(755,root,root) %{_libdir}/epsilon/plugins/xine_thumbnailer.so