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