]>
Commit | Line | Data |
---|---|---|
27a47ed7 SS |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without opencv # build without OpenCV support | |
4 | # | |
235b3e7c JR |
5 | %ifarch x32 |
6 | %undefine with_opencv | |
7 | %endif | |
8 | ||
00e3ea30 JB |
9 | Summary: Minimalistic plugin API for video effects - common package |
10 | Summary(pl.UTF-8): Minimalistyczne API wtyczek efektów wideo - wspólny pakiet | |
11 | Name: frei0r | |
c95936e7 JB |
12 | Version: 1.7.0 |
13 | Release: 1 | |
00e3ea30 | 14 | License: GPL v2+ |
32beaf3c | 15 | Group: Libraries |
c95936e7 JB |
16 | Source0: https://files.dyne.org/frei0r/releases/%{name}-plugins-%{version}.tar.gz |
17 | # Source0-md5: 78a7c7511cbda93013147563dc7a3618 | |
4e90be67 | 18 | URL: https://frei0r.dyne.org/ |
32beaf3c | 19 | BuildRequires: autoconf >= 2.60 |
441ebaef | 20 | BuildRequires: automake |
4e90be67 JB |
21 | BuildRequires: cairo-devel >= 1.0.0 |
22 | BuildRequires: doxygen | |
00e3ea30 | 23 | BuildRequires: gavl-devel >= 0.2.3 |
4e90be67 | 24 | BuildRequires: libstdc++-devel |
32beaf3c | 25 | BuildRequires: libtool >= 2:2.0 |
27a47ed7 | 26 | %{?with_opencv:BuildRequires: opencv-devel >= 1.0.0} |
32beaf3c JB |
27 | BuildRequires: pkgconfig |
28 | BuildRequires: sed >= 4.0 | |
00e3ea30 JB |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
31 | %description | |
32 | Frei0r is a minimalistic plugin API for video effects. The main | |
33 | emphasis is on simplicity for an API that will round up the most | |
34 | common video effects into simple filters, sources and mixers that can | |
35 | be controlled by parameters. | |
36 | ||
37 | This is common package for all Frei0r plugins. | |
38 | ||
39 | %description -l pl.UTF-8 | |
40 | Frei0r to minimalistyczne API wtyczek efektów wideo. Główny nacisk | |
41 | położony jest na prostotę API, które będzie zamykało większość | |
42 | popularnych efektów graficznych w proste filtry, źródła i miksery, | |
43 | które można sterować parametrami. | |
44 | ||
45 | Ten pakiet jest wspólny dla wszystkich wtyczek Frei0r. | |
46 | ||
47 | %package plugins | |
48 | Summary: Base set of Frei0r plugins | |
49 | Summary(pl.UTF-8): Podstawowy zestaw wtyczek Frei0r | |
50 | Group: Libraries | |
51 | Requires: %{name} = %{version}-%{release} | |
52 | ||
53 | %description plugins | |
54 | Base set of Frei0r plugins. | |
55 | ||
56 | %description plugins -l pl.UTF-8 | |
57 | Podstawowy zestaw wtyczek Frei0r. | |
58 | ||
4e90be67 JB |
59 | %package plugins-cairo |
60 | Summary: Frei0r plugins that use Cairo library | |
61 | Summary(pl.UTF-8): Wtyczki Frei0r wykorzystujące bibliotekę Cairo | |
62 | Group: Libraries | |
63 | Requires: %{name} = %{version}-%{release} | |
64 | Requires: cairo >= 1.0.0 | |
65 | ||
66 | %description plugins-cairo | |
67 | Frei0r plugins that use Cairo library: cairoaffineblend, cairoblend, | |
68 | cairogradient, cairoimagegrid, ndvi. | |
69 | ||
70 | %description plugins-cairo -l pl.UTF-8 | |
71 | Wtyczki Frei0r wykorzystujące bibliotekę Cairo: cairoaffineblend, | |
72 | cairoblend, cairogradient, cairoimagegrid, ndvi. | |
73 | ||
2aa97c26 JB |
74 | %package plugins-gavl |
75 | Summary: Frei0r plugins that use GAVL library | |
76 | Summary(pl.UTF-8): Wtyczki Frei0r wykorzystujące bibliotekę GAVL | |
77 | Group: Libraries | |
78 | Requires: %{name} = %{version}-%{release} | |
79 | Requires: gavl >= 0.2.3 | |
80 | ||
81 | %description plugins-gavl | |
82 | Frei0r plugins that use GAVL library: scale0tilt, vectorscope, | |
83 | rgbparade. | |
84 | ||
85 | %description plugins-gavl -l pl.UTF-8 | |
86 | Wtyczki Frei0r wykorzystujące bibliotekę GAVL: scale0tilt, | |
87 | vectorscope, rgbparade. | |
88 | ||
89 | %package plugins-opencv | |
90 | Summary: Frei0r plugins that use OpenCV library | |
91 | Summary(pl.UTF-8): Wtyczki Frei0r wykorzystujące bibliotekę OpenCV | |
92 | Group: Libraries | |
93 | Requires: %{name} = %{version}-%{release} | |
94 | Requires: opencv >= 1.0.0 | |
95 | ||
96 | %description plugins-opencv | |
97 | Frei0r plugins that use OpenCV library: facebl0r, facedetect. | |
98 | ||
99 | %description plugins-opencv -l pl.UTF-8 | |
100 | Wtyczki Frei0r wykorzystujące bibliotekę OpenCV: facebl0r, facedetect. | |
101 | ||
00e3ea30 JB |
102 | %package devel |
103 | Summary: Minimalistic plugin API for video effects - development files | |
104 | Summary(pl.UTF-8): Minimalistyczne API wtyczek efektów wideo - pliki programistyczne | |
105 | Group: Development/Libraries | |
106 | # doesn't require base | |
107 | ||
108 | %description devel | |
109 | Frei0r is a minimalistic plugin API for video effects. The main | |
110 | emphasis is on simplicity for an API that will round up the most | |
111 | common video effects into simple filters, sources and mixers that can | |
112 | be controlled by parameters. | |
113 | ||
114 | This package contains the Frei0r API header file. | |
115 | ||
116 | %description devel -l pl.UTF-8 | |
117 | Frei0r to minimalistyczne API wtyczek efektów wideo. Główny nacisk | |
118 | położony jest na prostotę API, które będzie zamykało większość | |
119 | popularnych efektów graficznych w proste filtry, źródła i miksery, | |
120 | które można sterować parametrami. | |
121 | ||
122 | Ten pakiet zawiera plik nagłówkowy API Frei0r. | |
123 | ||
124 | %prep | |
4e90be67 | 125 | %setup -q -n frei0r-plugins-%{version} |
00e3ea30 | 126 | |
c95936e7 JB |
127 | %{__mv} AUTHORS.txt AUTHORS |
128 | %{__mv} ChangeLog.txt ChangeLog | |
129 | %{__mv} README.txt README.md | |
130 | %{__mv} TODO.txt TODO | |
131 | ||
132 | sed -i -e '/^PACKAGE_LIB_DIR=/ s,/lib/,/%{_lib}/,' configure.ac | |
32beaf3c | 133 | |
00e3ea30 | 134 | %build |
32beaf3c | 135 | %{__libtoolize} |
441ebaef | 136 | %{__aclocal} -I m4 |
137 | %{__autoconf} | |
138 | %{__autoheader} | |
139 | %{__automake} | |
00e3ea30 JB |
140 | # --enable-cpuflags (default) detects MMX/SSE/SSE2/SSSE3 basing on /proc/cpuinfo on build host |
141 | %configure \ | |
142 | --disable-cpuflags | |
143 | %{__make} | |
144 | ||
145 | %install | |
146 | rm -rf $RPM_BUILD_ROOT | |
147 | ||
148 | %{__make} install \ | |
149 | DESTDIR=$RPM_BUILD_ROOT | |
150 | ||
c95936e7 JB |
151 | # packaged as %doc |
152 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/frei0r-plugins | |
153 | ||
00e3ea30 JB |
154 | %clean |
155 | rm -rf $RPM_BUILD_ROOT | |
156 | ||
157 | %files | |
158 | %defattr(644,root,root,755) | |
c95936e7 | 159 | %doc AUTHORS ChangeLog README.md TODO |
00e3ea30 JB |
160 | %dir %{_libdir}/frei0r-1 |
161 | ||
162 | %files plugins | |
163 | %defattr(644,root,root,755) | |
2aa97c26 JB |
164 | %attr(755,root,root) %{_libdir}/frei0r-1/3dflippo.so |
165 | %attr(755,root,root) %{_libdir}/frei0r-1/B.so | |
166 | %attr(755,root,root) %{_libdir}/frei0r-1/G.so | |
4e90be67 | 167 | %attr(755,root,root) %{_libdir}/frei0r-1/IIRblur.so |
2aa97c26 JB |
168 | %attr(755,root,root) %{_libdir}/frei0r-1/R.so |
169 | %attr(755,root,root) %{_libdir}/frei0r-1/RGB.so | |
170 | %attr(755,root,root) %{_libdir}/frei0r-1/addition.so | |
171 | %attr(755,root,root) %{_libdir}/frei0r-1/addition_alpha.so | |
172 | %attr(755,root,root) %{_libdir}/frei0r-1/alpha0ps.so | |
173 | %attr(755,root,root) %{_libdir}/frei0r-1/alphaatop.so | |
174 | %attr(755,root,root) %{_libdir}/frei0r-1/alphagrad.so | |
175 | %attr(755,root,root) %{_libdir}/frei0r-1/alphain.so | |
176 | %attr(755,root,root) %{_libdir}/frei0r-1/alphainjection.so | |
177 | %attr(755,root,root) %{_libdir}/frei0r-1/alphaout.so | |
178 | %attr(755,root,root) %{_libdir}/frei0r-1/alphaover.so | |
179 | %attr(755,root,root) %{_libdir}/frei0r-1/alphaspot.so | |
180 | %attr(755,root,root) %{_libdir}/frei0r-1/alphaxor.so | |
181 | %attr(755,root,root) %{_libdir}/frei0r-1/balanc0r.so | |
182 | %attr(755,root,root) %{_libdir}/frei0r-1/baltan.so | |
4e90be67 | 183 | %attr(755,root,root) %{_libdir}/frei0r-1/bgsubtract0r.so |
2aa97c26 JB |
184 | %attr(755,root,root) %{_libdir}/frei0r-1/blend.so |
185 | %attr(755,root,root) %{_libdir}/frei0r-1/bluescreen0r.so | |
186 | %attr(755,root,root) %{_libdir}/frei0r-1/brightness.so | |
187 | %attr(755,root,root) %{_libdir}/frei0r-1/burn.so | |
188 | %attr(755,root,root) %{_libdir}/frei0r-1/bw0r.so | |
189 | %attr(755,root,root) %{_libdir}/frei0r-1/c0rners.so | |
190 | %attr(755,root,root) %{_libdir}/frei0r-1/cartoon.so | |
191 | %attr(755,root,root) %{_libdir}/frei0r-1/cluster.so | |
4e90be67 | 192 | %attr(755,root,root) %{_libdir}/frei0r-1/colgate.so |
2aa97c26 JB |
193 | %attr(755,root,root) %{_libdir}/frei0r-1/color_only.so |
194 | %attr(755,root,root) %{_libdir}/frei0r-1/coloradj_RGB.so | |
195 | %attr(755,root,root) %{_libdir}/frei0r-1/colordistance.so | |
4e90be67 JB |
196 | %attr(755,root,root) %{_libdir}/frei0r-1/colorhalftone.so |
197 | %attr(755,root,root) %{_libdir}/frei0r-1/colorize.so | |
198 | %attr(755,root,root) %{_libdir}/frei0r-1/colortap.so | |
2aa97c26 JB |
199 | %attr(755,root,root) %{_libdir}/frei0r-1/composition.so |
200 | %attr(755,root,root) %{_libdir}/frei0r-1/contrast0r.so | |
201 | %attr(755,root,root) %{_libdir}/frei0r-1/curves.so | |
202 | %attr(755,root,root) %{_libdir}/frei0r-1/d90stairsteppingfix.so | |
203 | %attr(755,root,root) %{_libdir}/frei0r-1/darken.so | |
204 | %attr(755,root,root) %{_libdir}/frei0r-1/defish0r.so | |
205 | %attr(755,root,root) %{_libdir}/frei0r-1/delay0r.so | |
206 | %attr(755,root,root) %{_libdir}/frei0r-1/delaygrab.so | |
207 | %attr(755,root,root) %{_libdir}/frei0r-1/difference.so | |
208 | %attr(755,root,root) %{_libdir}/frei0r-1/distort0r.so | |
4e90be67 | 209 | %attr(755,root,root) %{_libdir}/frei0r-1/dither.so |
2aa97c26 JB |
210 | %attr(755,root,root) %{_libdir}/frei0r-1/divide.so |
211 | %attr(755,root,root) %{_libdir}/frei0r-1/dodge.so | |
212 | %attr(755,root,root) %{_libdir}/frei0r-1/edgeglow.so | |
c95936e7 | 213 | %attr(755,root,root) %{_libdir}/frei0r-1/elastic_scale.so |
4e90be67 | 214 | %attr(755,root,root) %{_libdir}/frei0r-1/emboss.so |
2aa97c26 JB |
215 | %attr(755,root,root) %{_libdir}/frei0r-1/equaliz0r.so |
216 | %attr(755,root,root) %{_libdir}/frei0r-1/flippo.so | |
217 | %attr(755,root,root) %{_libdir}/frei0r-1/gamma.so | |
4e90be67 | 218 | %attr(755,root,root) %{_libdir}/frei0r-1/glitch0r.so |
2aa97c26 JB |
219 | %attr(755,root,root) %{_libdir}/frei0r-1/glow.so |
220 | %attr(755,root,root) %{_libdir}/frei0r-1/grain_extract.so | |
221 | %attr(755,root,root) %{_libdir}/frei0r-1/grain_merge.so | |
222 | %attr(755,root,root) %{_libdir}/frei0r-1/hardlight.so | |
223 | %attr(755,root,root) %{_libdir}/frei0r-1/hqdn3d.so | |
224 | %attr(755,root,root) %{_libdir}/frei0r-1/hue.so | |
225 | %attr(755,root,root) %{_libdir}/frei0r-1/hueshift0r.so | |
226 | %attr(755,root,root) %{_libdir}/frei0r-1/invert0r.so | |
227 | %attr(755,root,root) %{_libdir}/frei0r-1/ising0r.so | |
4e90be67 | 228 | %attr(755,root,root) %{_libdir}/frei0r-1/keyspillm0pup.so |
2aa97c26 JB |
229 | %attr(755,root,root) %{_libdir}/frei0r-1/lenscorrection.so |
230 | %attr(755,root,root) %{_libdir}/frei0r-1/letterb0xed.so | |
231 | %attr(755,root,root) %{_libdir}/frei0r-1/levels.so | |
232 | %attr(755,root,root) %{_libdir}/frei0r-1/lighten.so | |
233 | %attr(755,root,root) %{_libdir}/frei0r-1/lightgraffiti.so | |
234 | %attr(755,root,root) %{_libdir}/frei0r-1/lissajous0r.so | |
235 | %attr(755,root,root) %{_libdir}/frei0r-1/luminance.so | |
236 | %attr(755,root,root) %{_libdir}/frei0r-1/mask0mate.so | |
4e90be67 | 237 | %attr(755,root,root) %{_libdir}/frei0r-1/medians.so |
2aa97c26 JB |
238 | %attr(755,root,root) %{_libdir}/frei0r-1/multiply.so |
239 | %attr(755,root,root) %{_libdir}/frei0r-1/nervous.so | |
240 | %attr(755,root,root) %{_libdir}/frei0r-1/nois0r.so | |
c95936e7 | 241 | %attr(755,root,root) %{_libdir}/frei0r-1/normaliz0r.so |
2aa97c26 JB |
242 | %attr(755,root,root) %{_libdir}/frei0r-1/nosync0r.so |
243 | %attr(755,root,root) %{_libdir}/frei0r-1/onecol0r.so | |
244 | %attr(755,root,root) %{_libdir}/frei0r-1/overlay.so | |
245 | %attr(755,root,root) %{_libdir}/frei0r-1/partik0l.so | |
246 | %attr(755,root,root) %{_libdir}/frei0r-1/perspective.so | |
247 | %attr(755,root,root) %{_libdir}/frei0r-1/pixeliz0r.so | |
248 | %attr(755,root,root) %{_libdir}/frei0r-1/plasma.so | |
4e90be67 | 249 | %attr(755,root,root) %{_libdir}/frei0r-1/posterize.so |
2aa97c26 JB |
250 | %attr(755,root,root) %{_libdir}/frei0r-1/pr0be.so |
251 | %attr(755,root,root) %{_libdir}/frei0r-1/pr0file.so | |
c95936e7 | 252 | %attr(755,root,root) %{_libdir}/frei0r-1/premultiply.so |
2aa97c26 | 253 | %attr(755,root,root) %{_libdir}/frei0r-1/primaries.so |
4e90be67 JB |
254 | %attr(755,root,root) %{_libdir}/frei0r-1/rgbnoise.so |
255 | %attr(755,root,root) %{_libdir}/frei0r-1/rgbsplit0r.so | |
2aa97c26 JB |
256 | %attr(755,root,root) %{_libdir}/frei0r-1/saturat0r.so |
257 | %attr(755,root,root) %{_libdir}/frei0r-1/saturation.so | |
258 | %attr(755,root,root) %{_libdir}/frei0r-1/scanline0r.so | |
259 | %attr(755,root,root) %{_libdir}/frei0r-1/screen.so | |
260 | %attr(755,root,root) %{_libdir}/frei0r-1/select0r.so | |
261 | %attr(755,root,root) %{_libdir}/frei0r-1/sharpness.so | |
4e90be67 | 262 | %attr(755,root,root) %{_libdir}/frei0r-1/sigmoidaltransfer.so |
2aa97c26 | 263 | %attr(755,root,root) %{_libdir}/frei0r-1/sobel.so |
4e90be67 | 264 | %attr(755,root,root) %{_libdir}/frei0r-1/softglow.so |
2aa97c26 JB |
265 | %attr(755,root,root) %{_libdir}/frei0r-1/softlight.so |
266 | %attr(755,root,root) %{_libdir}/frei0r-1/sopsat.so | |
4e90be67 | 267 | %attr(755,root,root) %{_libdir}/frei0r-1/spillsupress.so |
2aa97c26 JB |
268 | %attr(755,root,root) %{_libdir}/frei0r-1/squareblur.so |
269 | %attr(755,root,root) %{_libdir}/frei0r-1/subtract.so | |
270 | %attr(755,root,root) %{_libdir}/frei0r-1/tehroxx0r.so | |
271 | %attr(755,root,root) %{_libdir}/frei0r-1/test_pat_B.so | |
272 | %attr(755,root,root) %{_libdir}/frei0r-1/test_pat_C.so | |
273 | %attr(755,root,root) %{_libdir}/frei0r-1/test_pat_G.so | |
274 | %attr(755,root,root) %{_libdir}/frei0r-1/test_pat_I.so | |
275 | %attr(755,root,root) %{_libdir}/frei0r-1/test_pat_L.so | |
276 | %attr(755,root,root) %{_libdir}/frei0r-1/test_pat_R.so | |
277 | %attr(755,root,root) %{_libdir}/frei0r-1/three_point_balance.so | |
278 | %attr(755,root,root) %{_libdir}/frei0r-1/threelay0r.so | |
279 | %attr(755,root,root) %{_libdir}/frei0r-1/threshold0r.so | |
4e90be67 | 280 | %attr(755,root,root) %{_libdir}/frei0r-1/timeout.so |
2aa97c26 JB |
281 | %attr(755,root,root) %{_libdir}/frei0r-1/tint0r.so |
282 | %attr(755,root,root) %{_libdir}/frei0r-1/transparency.so | |
283 | %attr(755,root,root) %{_libdir}/frei0r-1/twolay0r.so | |
284 | %attr(755,root,root) %{_libdir}/frei0r-1/uvmap.so | |
285 | %attr(755,root,root) %{_libdir}/frei0r-1/value.so | |
286 | %attr(755,root,root) %{_libdir}/frei0r-1/vertigo.so | |
4e90be67 | 287 | %attr(755,root,root) %{_libdir}/frei0r-1/vignette.so |
2aa97c26 JB |
288 | %attr(755,root,root) %{_libdir}/frei0r-1/xfade0r.so |
289 | ||
4e90be67 JB |
290 | %files plugins-cairo |
291 | %defattr(644,root,root,755) | |
292 | %attr(755,root,root) %{_libdir}/frei0r-1/cairoaffineblend.so | |
293 | %attr(755,root,root) %{_libdir}/frei0r-1/cairoblend.so | |
294 | %attr(755,root,root) %{_libdir}/frei0r-1/cairogradient.so | |
295 | %attr(755,root,root) %{_libdir}/frei0r-1/cairoimagegrid.so | |
296 | %attr(755,root,root) %{_libdir}/frei0r-1/ndvi.so | |
297 | ||
2aa97c26 JB |
298 | %files plugins-gavl |
299 | %defattr(644,root,root,755) | |
300 | %attr(755,root,root) %{_libdir}/frei0r-1/scale0tilt.so | |
301 | %attr(755,root,root) %{_libdir}/frei0r-1/vectorscope.so | |
302 | %attr(755,root,root) %{_libdir}/frei0r-1/rgbparade.so | |
303 | ||
27a47ed7 | 304 | %if %{with opencv} |
2aa97c26 JB |
305 | %files plugins-opencv |
306 | %defattr(644,root,root,755) | |
307 | %attr(755,root,root) %{_libdir}/frei0r-1/facebl0r.so | |
308 | %attr(755,root,root) %{_libdir}/frei0r-1/facedetect.so | |
27a47ed7 | 309 | %endif |
00e3ea30 JB |
310 | |
311 | %files devel | |
312 | %defattr(644,root,root,755) | |
313 | %{_includedir}/frei0r.h | |
314 | %{_pkgconfigdir}/frei0r.pc |