3 %bcond_without static_libs # don't build static library
5 Summary: Enlightened Thumbnail Generator
6 Summary(pl): O¶wiecony generator miniaturek obrazów
12 Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
13 # Source0-md5: 408d3c63f9efa06e93e29a691c28985e
14 Patch0: %{name}-proto.patch
15 URL: http://enlightenment.org/Libraries/Epsilon/
16 BuildRequires: edje-devel
17 BuildRequires: epeg-devel
18 Requires: %{name}-libs = %{version}-%{release}
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Epsilon is a small, display independent, and quick thumbnailing
25 library. The lib itself conforms to the standard put forth by
26 freedesktop.org . You can find out more information about it at
27 http://triq.net/~jens/thumbnail-spec/index.html .
29 Epeg offers very noticeable speed increases to this standard, but it
30 is only available if the input image is a JPEG file. If the file is
31 anything other than jpg, the traditional freedesktop.org thumbnailing
32 will occur. To show the speed increase epeg offers, Epsilon can be
33 built with and without epeg.
36 Epsilon to ma³a, niezale¿na od ekranu i szybka biblioteka do
37 generowania miniaturek obrazów. Sama biblioteka jest zgodna ze
38 standardem opracowanym przez freedesktop.org . Wiêcej informacji
39 mo¿na znale¼æ pod adresem
40 http://triq.net/~jens/thumbnail-spec/index.html .
42 Epeg oferuje bardzo zauwa¿alne przyspieszenie w stosunku do tego
43 standardu, ale jest ono dostêpne tylko je¶li obrazek jest plikiem
44 JPEG. Je¶li plik jest innego typu, zostanie u¿yte tradycyjne
45 zachowanie freedesktop.org . Aby pokazaæ przyspieszenie oferowane
46 przez epeg, Epsilon mo¿e byæ zbudowany z lub bez epeg.
49 Summary: Epsilon library
50 Summary(pl): Biblioteka Epsilon
56 %description libs -l pl
60 Summary: Epsilon header file
61 Summary(pl): Plik nag³ówkowy Epsilon
62 Group: Development/Libraries
63 Requires: %{name}-libs = %{version}-%{release}
67 Epsilon thumbnailer development header.
69 %description devel -l pl
70 Plik nag³ówkowy biblioteki Epsilon generuj±cej miniaturki obrazów.
73 Summary: Static Epsilon library
74 Summary(pl): Statyczna biblioteka Epsilon
75 Group: Development/Libraries
76 Requires: %{name}-devel = %{version}-%{release}
79 Static Epsilon library.
81 %description static -l pl
82 Statyczna biblioteka Epsilon.
90 %{!?with_static_libs:--disable-static}
94 rm -rf $RPM_BUILD_ROOT
97 DESTDIR=$RPM_BUILD_ROOT
100 rm -rf $RPM_BUILD_ROOT
102 %post libs -p /sbin/ldconfig
103 %postun libs -p /sbin/ldconfig
106 %defattr(644,root,root,755)
107 %doc AUTHORS COPYING README
108 %attr(755,root,root) %{_bindir}/epsilon*
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_libdir}/libepsilon.so.*.*.*
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_bindir}/epsilon-config
117 %attr(755,root,root) %{_libdir}/libepsilon.so
118 %{_libdir}/libepsilon.la
119 %{_includedir}/Epsilon*.h
120 %{_pkgconfigdir}/%{name}.pc
122 %if %{with static_libs}
124 %defattr(644,root,root,755)
125 %{_libdir}/libepsilon.a