# NOTE: this library is obsolete, don't on ftp # # Conditional build: %bcond_without static_libs # don't build static library %bcond_with epeg # use Epeg for JPEG scaling (no longer supported by configure) # %define ecore_ver 1.0.0 %define edje_ver 0.9.9.044 %define epeg_ver 0.9.1.043 %define evas_ver 0.9.9.044 %define _snap 20080813 Summary: Enlightened Thumbnail Generator Summary(pl.UTF-8): Oświecony generator miniaturek obrazów Name: epsilon Version: 0.3.0.013 Release: 0.%{_snap}.1.1 License: BSD Group: X11/Libraries Source0: %{name}-%{version}-%{_snap}.tar.bz2 # Source0-md5: b677b9c39aa2d5b467503faffd4b4879 # this patch is probably incomplete, Ecore_List and Eina_List semantics differ Patch0: %{name}-update.patch URL: http://enlightenment.org/ BuildRequires: autoconf BuildRequires: automake BuildRequires: ecore-devel >= %{ecore_ver} BuildRequires: ecore-evas-devel >= %{ecore_ver} BuildRequires: ecore-file-devel >= %{ecore_ver} BuildRequires: ecore-ipc-devel >= %{ecore_ver} BuildRequires: edje-devel >= %{edje_ver} %{?with_epeg:BuildRequires: epeg-devel >= %{epeg_ver}} BuildRequires: evas-devel >= %{evas_ver} BuildRequires: imlib2-devel >= 1.0.0 BuildRequires: libpng-devel >= 1.2.0 BuildRequires: libtool BuildRequires: perl-base BuildRequires: pkgconfig BuildRequires: xine-lib-devel >= 1:1.0.0 Requires: %{name}-libs = %{version}-%{release} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %undefine __cxx %description Epsilon is a small, display independent, and quick thumbnailing library. The lib itself conforms to the standard put forth by freedesktop.org . You can find out more information about it at http://triq.net/~jens/thumbnail-spec/index.html . %if %{with epeg} Epeg offers very noticeable speed increases to this standard, but it is only available if the input image is a JPEG file. If the file is anything other than jpg, the traditional freedesktop.org thumbnailing will occur. To show the speed increase epeg offers, Epsilon can be built with and without epeg. %endif Note: this library is obsolete; Ethumb should be used instead. %description -l pl.UTF-8 Epsilon to mała, niezależna od ekranu i szybka biblioteka do generowania miniaturek obrazów. Sama biblioteka jest zgodna ze standardem opracowanym przez freedesktop.org . Więcej informacji można znaleźć pod adresem http://triq.net/~jens/thumbnail-spec/index.html . %if %{with epeg} Epeg oferuje bardzo zauważalne przyspieszenie w stosunku do tego standardu, ale jest ono dostępne tylko jeśli obrazek jest plikiem JPEG. Jeśli plik jest innego typu, zostanie użyte tradycyjne zachowanie freedesktop.org . Aby pokazać przyspieszenie oferowane przez epeg, Epsilon może być zbudowany z lub bez epeg. %endif Uwaga: ta biblioteka jest przestarzała; zamiast niej należy używać biblioteki Ethumb. %package libs Summary: Epsilon library Summary(pl.UTF-8): Biblioteka Epsilon Group: X11/Libraries Requires: ecore-evas >= %{ecore_ver} Requires: ecore-file >= %{ecore_ver} Requires: ecore-ipc >= %{ecore_ver} Requires: edje-libs >= %{edje_ver} %{?with_epeg:Requires: epeg-libs >= %{epeg_ver}} Requires: evas >= %{evas_ver} Requires: imlib2 >= 1.0.0 %description libs Epsilon library. %description libs -l pl.UTF-8 Biblioteka Epsilon. %package devel Summary: Epsilon header file Summary(pl.UTF-8): Plik nagłówkowy Epsilon Group: X11/Development/Libraries Requires: %{name}-libs = %{version}-%{release} Requires: ecore-evas-devel >= %{ecore_ver} Requires: ecore-file-devel >= %{ecore_ver} Requires: ecore-ipc-devel >= %{ecore_ver} Requires: edje-devel >= %{edje_ver} %{?with_epeg:Requires: epeg-devel >= %{epeg_ver}} Requires: evas-devel >= %{evas_ver} Requires: imlib2-devel >= 1.0.0 Requires: libpng-devel >= 1.2.0 %description devel Epsilon thumbnailer development header. %description devel -l pl.UTF-8 Plik nagłówkowy biblioteki Epsilon generującej miniaturki obrazów. %package static Summary: Static Epsilon library Summary(pl.UTF-8): Statyczna biblioteka Epsilon Group: X11/Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static Static Epsilon library. %description static -l pl.UTF-8 Statyczna biblioteka Epsilon. %package plugin-xine Summary: XINE-based thumbnailer for Epsilon Summary(pl.UTF-8): Oparty na XINE generator miniaturek dla Epsilona Group: Libraries Requires: %{name}-libs = %{version}-%{release} Requires: xine-lib >= 1:1.0.0 %description plugin-xine XINE-based thumbnailer for Epsilon. It supports MPEG, AVI, WMV and QuickTime files. Oparty na XINE generator miniaturek dla Epsilona. Obsługuje pliki MPEG, AVI, WMV i QuickTime. %prep %setup -q -n %{name}-%{version}-%{_snap} %patch0 -p1 %build %{__libtoolize} %{__aclocal} %{__autoconf} %{__autoheader} %{__automake} %configure \ %{!?with_static_libs:--disable-static} %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %{__rm} $RPM_BUILD_ROOT%{_libdir}/epsilon/plugins/*.{la,a} %clean rm -rf $RPM_BUILD_ROOT %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc AUTHORS COPYING README %attr(755,root,root) %{_bindir}/epsilon %attr(755,root,root) %{_bindir}/epsilon_thumbd %attr(755,root,root) %{_bindir}/epsilon_thumb_test %files libs %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libepsilon.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libepsilon.so.0 %dir %{_libdir}/epsilon %dir %{_libdir}/epsilon/plugins %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libepsilon.so %{_libdir}/libepsilon.la %{_includedir}/Epsilon*.h %{_pkgconfigdir}/epsilon.pc %if %{with static_libs} %files static %defattr(644,root,root,755) %{_libdir}/libepsilon.a %endif %files plugin-xine %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/epsilon/plugins/xine_thumbnailer.so