]> git.pld-linux.org Git - packages/epsilon.git/blame - epsilon.spec
- updated to 0.3.0.008
[packages/epsilon.git] / epsilon.spec
CommitLineData
fbca8ac4
KK
1#
2# Conditional build:
3%bcond_without static_libs # don't build static library
4#
c1be99b4 5Summary: Enlightened Thumbnail Generator
a03995be 6Summary(pl.UTF-8): Oświecony generator miniaturek obrazów
c1be99b4 7Name: epsilon
a9424692
JB
8Version: 0.3.0.008
9Release: 1
c1be99b4 10License: BSD
11Group: X11/Libraries
ceb8f382 12Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
a9424692
JB
13# Source0-md5: ba946584d90357f98402456e0fee9dcf
14URL: http://enlightenment.org/
15# ecore-con ecore-evas ecore-file
16BuildRequires: ecore-devel >= 0.9.9.038
17BuildRequires: edje-devel >= 0.5.0.038
18BuildRequires: epeg-devel >= 0.9.0.008
19BuildRequires: evas-devel >= 0.9.9.038
20BuildRequires: imlib2-devel >= 1.0.0
21BuildRequires: libpng-devel >= 1.2.0
22BuildRequires: perl-base
23BuildRequires: pkgconfig
24BuildRequires: xine-lib-devel >= 1:1.0.0
bedd446f 25Requires: %{name}-libs = %{version}-%{release}
c1be99b4 26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
e98ec6ba 28%undefine __cxx
29
c1be99b4 30%description
31Epsilon is a small, display independent, and quick thumbnailing
32library. The lib itself conforms to the standard put forth by
7246afe3
JB
33freedesktop.org . You can find out more information about it at
34http://triq.net/~jens/thumbnail-spec/index.html .
c1be99b4 35
36Epeg offers very noticeable speed increases to this standard, but it
7246afe3 37is only available if the input image is a JPEG file. If the file is
c1be99b4 38anything other than jpg, the traditional freedesktop.org thumbnailing
39will occur. To show the speed increase epeg offers, Epsilon can be
40built with and without epeg.
41
aa11d776
JR
42%description -l pl.UTF-8
43Epsilon to mała, niezależna od ekranu i szybka biblioteka do
44generowania miniaturek obrazów. Sama biblioteka jest zgodna ze
45standardem opracowanym przez freedesktop.org . Więcej informacji
46można znaleźć pod adresem
7246afe3
JB
47http://triq.net/~jens/thumbnail-spec/index.html .
48
aa11d776
JR
49Epeg oferuje bardzo zauważalne przyspieszenie w stosunku do tego
50standardu, ale jest ono dostępne tylko jeśli obrazek jest plikiem
51JPEG. Jeśli plik jest innego typu, zostanie użyte tradycyjne
52zachowanie freedesktop.org . Aby pokazać przyspieszenie oferowane
53przez epeg, Epsilon może być zbudowany z lub bez epeg.
7246afe3 54
bedd446f 55%package libs
56Summary: Epsilon library
a03995be 57Summary(pl.UTF-8): Biblioteka Epsilon
bedd446f 58Group: X11/Libraries
a9424692
JB
59Requires: ecore-con >= 0.9.9.038
60Requires: ecore-evas >= 0.9.9.038
61Requires: ecore-file >= 0.9.9.038
62Requires: edje-libs >= 0.5.0.038
63Requires: epeg-libs >= 0.9.0.008
64Requires: evas >= 0.9.9.038
65Requires: imlib2 >= 1.0.0
bedd446f 66
67%description libs
68Epsilon library.
69
aa11d776 70%description libs -l pl.UTF-8
bedd446f 71Biblioteka Epsilon.
72
c1be99b4 73%package devel
7246afe3 74Summary: Epsilon header file
a03995be 75Summary(pl.UTF-8): Plik nagłówkowy Epsilon
a9424692 76Group: X11/Development/Libraries
bedd446f 77Requires: %{name}-libs = %{version}-%{release}
a9424692
JB
78# ecore-con ecore-evas ecore-file
79Requires: ecore-devel >= 0.9.9.038
80Requires: edje-devel >= 0.5.0.038
81Requires: epeg-devel >= 0.9.0.008
82Requires: evas-devel >= 0.9.9.038
83Requires: imlib2-devel >= 1.0.0
84Requires: libpng-devel >= 1.2.0
c1be99b4 85
86%description devel
7246afe3
JB
87Epsilon thumbnailer development header.
88
aa11d776
JR
89%description devel -l pl.UTF-8
90Plik nagłówkowy biblioteki Epsilon generującej miniaturki obrazów.
c1be99b4 91
92%package static
7246afe3 93Summary: Static Epsilon library
a03995be 94Summary(pl.UTF-8): Statyczna biblioteka Epsilon
a9424692 95Group: X11/Development/Libraries
7246afe3 96Requires: %{name}-devel = %{version}-%{release}
c1be99b4 97
98%description static
7246afe3
JB
99Static Epsilon library.
100
aa11d776 101%description static -l pl.UTF-8
7246afe3 102Statyczna biblioteka Epsilon.
c1be99b4 103
a9424692
JB
104%package plugin-xine
105Summary: XINE-based thumbnailer for Epsilon
106Summary(pl.UTF-8): Oparty na XINE generator miniaturek dla Epsilona
107Group: Libraries
108Requires: %{name}-libs = %{version}-%{release}
109Requires: xine-lib >= 1:1.0.0
110
111%description plugin-xine
112XINE-based thumbnailer for Epsilon. It supports MPEG, AVI, WMV and
113QuickTime files.
114
115Oparty na XINE generator miniaturek dla Epsilona. Obsługuje pliki
116MPEG, AVI, WMV i QuickTime.
117
c1be99b4 118%prep
ceb8f382 119%setup -q
c1be99b4 120
121%build
fbca8ac4
KK
122%configure \
123 %{!?with_static_libs:--disable-static}
c1be99b4 124%{__make}
125
126%install
127rm -rf $RPM_BUILD_ROOT
7246afe3 128
c1be99b4 129%{__make} install \
130 DESTDIR=$RPM_BUILD_ROOT
131
a9424692
JB
132rm -f $RPM_BUILD_ROOT%{_libdir}/epsilon/plugins/*.{la,a}
133
c1be99b4 134%clean
135rm -rf $RPM_BUILD_ROOT
136
a9424692
JB
137%post libs -p /sbin/ldconfig
138%postun libs -p /sbin/ldconfig
c1be99b4 139
140%files
141%defattr(644,root,root,755)
142%doc AUTHORS COPYING README
a9424692
JB
143%attr(755,root,root) %{_bindir}/epsilon
144%attr(755,root,root) %{_bindir}/epsilon_thumbd
145%attr(755,root,root) %{_bindir}/epsilon_thumb_test
bedd446f 146
147%files libs
148%defattr(644,root,root,755)
7246afe3 149%attr(755,root,root) %{_libdir}/libepsilon.so.*.*.*
a9424692
JB
150%dir %{_libdir}/epsilon
151%dir %{_libdir}/epsilon/plugins
c1be99b4 152
153%files devel
154%defattr(644,root,root,755)
7246afe3 155%attr(755,root,root) %{_bindir}/epsilon-config
c1be99b4 156%attr(755,root,root) %{_libdir}/libepsilon.so
157%{_libdir}/libepsilon.la
d79a7074 158%{_includedir}/Epsilon*.h
a9424692 159%{_pkgconfigdir}/epsilon.pc
c1be99b4 160
fbca8ac4 161%if %{with static_libs}
c1be99b4 162%files static
163%defattr(644,root,root,755)
164%{_libdir}/libepsilon.a
fbca8ac4 165%endif
a9424692
JB
166
167%files plugin-xine
168%defattr(644,root,root,755)
169%attr(755,root,root) %{_libdir}/epsilon/plugins/xine_thumbnailer.so
This page took 0.085185 seconds and 4 git commands to generate.