3 %bcond_without static_libs # don't build static library
5 Summary: Enlightened Thumbnail Generator
6 Summary(pl.UTF-8): Oświecony generator miniaturek obrazów
12 Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
13 # Source0-md5: ba946584d90357f98402456e0fee9dcf
14 URL: http://enlightenment.org/
15 # ecore-con ecore-evas ecore-file
16 BuildRequires: ecore-devel >= 0.9.9.038
17 BuildRequires: edje-devel >= 0.5.0.038
18 BuildRequires: epeg-devel >= 0.9.0.008
19 BuildRequires: evas-devel >= 0.9.9.038
20 BuildRequires: imlib2-devel >= 1.0.0
21 BuildRequires: libpng-devel >= 1.2.0
22 BuildRequires: perl-base
23 BuildRequires: pkgconfig
24 BuildRequires: xine-lib-devel >= 1:1.0.0
25 Requires: %{name}-libs = %{version}-%{release}
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Epsilon is a small, display independent, and quick thumbnailing
32 library. The lib itself conforms to the standard put forth by
33 freedesktop.org . You can find out more information about it at
34 http://triq.net/~jens/thumbnail-spec/index.html .
36 Epeg offers very noticeable speed increases to this standard, but it
37 is only available if the input image is a JPEG file. If the file is
38 anything other than jpg, the traditional freedesktop.org thumbnailing
39 will occur. To show the speed increase epeg offers, Epsilon can be
40 built with and without epeg.
42 %description -l pl.UTF-8
43 Epsilon to mała, niezależna od ekranu i szybka biblioteka do
44 generowania miniaturek obrazów. Sama biblioteka jest zgodna ze
45 standardem opracowanym przez freedesktop.org . Więcej informacji
46 można znaleźć pod adresem
47 http://triq.net/~jens/thumbnail-spec/index.html .
49 Epeg oferuje bardzo zauważalne przyspieszenie w stosunku do tego
50 standardu, ale jest ono dostępne tylko jeśli obrazek jest plikiem
51 JPEG. Jeśli plik jest innego typu, zostanie użyte tradycyjne
52 zachowanie freedesktop.org . Aby pokazać przyspieszenie oferowane
53 przez epeg, Epsilon może być zbudowany z lub bez epeg.
56 Summary: Epsilon library
57 Summary(pl.UTF-8): Biblioteka Epsilon
59 Requires: ecore-con >= 0.9.9.038
60 Requires: ecore-evas >= 0.9.9.038
61 Requires: ecore-file >= 0.9.9.038
62 Requires: edje-libs >= 0.5.0.038
63 Requires: epeg-libs >= 0.9.0.008
64 Requires: evas >= 0.9.9.038
65 Requires: imlib2 >= 1.0.0
70 %description libs -l pl.UTF-8
74 Summary: Epsilon header file
75 Summary(pl.UTF-8): Plik nagłówkowy Epsilon
76 Group: X11/Development/Libraries
77 Requires: %{name}-libs = %{version}-%{release}
78 # ecore-con ecore-evas ecore-file
79 Requires: ecore-devel >= 0.9.9.038
80 Requires: edje-devel >= 0.5.0.038
81 Requires: epeg-devel >= 0.9.0.008
82 Requires: evas-devel >= 0.9.9.038
83 Requires: imlib2-devel >= 1.0.0
84 Requires: libpng-devel >= 1.2.0
87 Epsilon thumbnailer development header.
89 %description devel -l pl.UTF-8
90 Plik nagłówkowy biblioteki Epsilon generującej miniaturki obrazów.
93 Summary: Static Epsilon library
94 Summary(pl.UTF-8): Statyczna biblioteka Epsilon
95 Group: X11/Development/Libraries
96 Requires: %{name}-devel = %{version}-%{release}
99 Static Epsilon library.
101 %description static -l pl.UTF-8
102 Statyczna biblioteka Epsilon.
105 Summary: XINE-based thumbnailer for Epsilon
106 Summary(pl.UTF-8): Oparty na XINE generator miniaturek dla Epsilona
108 Requires: %{name}-libs = %{version}-%{release}
109 Requires: xine-lib >= 1:1.0.0
111 %description plugin-xine
112 XINE-based thumbnailer for Epsilon. It supports MPEG, AVI, WMV and
115 Oparty na XINE generator miniaturek dla Epsilona. Obsługuje pliki
116 MPEG, AVI, WMV i QuickTime.
123 %{!?with_static_libs:--disable-static}
127 rm -rf $RPM_BUILD_ROOT
130 DESTDIR=$RPM_BUILD_ROOT
132 rm -f $RPM_BUILD_ROOT%{_libdir}/epsilon/plugins/*.{la,a}
135 rm -rf $RPM_BUILD_ROOT
137 %post libs -p /sbin/ldconfig
138 %postun libs -p /sbin/ldconfig
141 %defattr(644,root,root,755)
142 %doc AUTHORS COPYING README
143 %attr(755,root,root) %{_bindir}/epsilon
144 %attr(755,root,root) %{_bindir}/epsilon_thumbd
145 %attr(755,root,root) %{_bindir}/epsilon_thumb_test
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_libdir}/libepsilon.so.*.*.*
150 %dir %{_libdir}/epsilon
151 %dir %{_libdir}/epsilon/plugins
154 %defattr(644,root,root,755)
155 %attr(755,root,root) %{_bindir}/epsilon-config
156 %attr(755,root,root) %{_libdir}/libepsilon.so
157 %{_libdir}/libepsilon.la
158 %{_includedir}/Epsilon*.h
159 %{_pkgconfigdir}/epsilon.pc
161 %if %{with static_libs}
163 %defattr(644,root,root,755)
164 %{_libdir}/libepsilon.a
168 %defattr(644,root,root,755)
169 %attr(755,root,root) %{_libdir}/epsilon/plugins/xine_thumbnailer.so