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