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