-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgegl04.spec
335 lines (249 loc) · 10.5 KB
/
gegl04.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
%global apiver 0.4
Name: gegl04
Version: 0.4.48
Release: 1%{?dist}
Summary: Graph based image processing framework
# The binary is under the GPL, while the libs are under LGPL.
License: GPL-3.0-or-later AND LGPL-3.0-or-later
URL: https://www.gegl.org/
Source0: https://download.gimp.org/pub/gegl/%{apiver}/gegl-%{version}.tar.xz
Patch0: gegl04-openexr.patch
Patch1: gegl04-gtk.patch
BuildRequires: chrpath
BuildRequires: enscript
BuildRequires: gcc-c++
BuildRequires: gettext-devel >= 0.19.8
BuildRequires: gobject-introspection-devel >= 1.32.0
BuildRequires: gtk-doc
BuildRequires: libspiro-devel
BuildRequires: meson
BuildRequires: perl-interpreter
BuildRequires: ruby
BuildRequires: suitesparse-devel
BuildRequires: vala
BuildRequires: asciidoc
BuildRequires: pkgconfig(babl-0.1) >= 0.1.106
BuildRequires: pkgconfig(cairo) >= 1.12.2
BuildRequires: pkgconfig(exiv2) >= 0.25
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.32.0
BuildRequires: pkgconfig(gexiv2)
BuildRequires: pkgconfig(glib-2.0) >= 2.44.0
BuildRequires: pkgconfig(jasper) >= 1.900.1
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(lcms2) >= 2.8
BuildRequires: pkgconfig(lensfun) >= 0.2.5
BuildRequires: pkgconfig(libraw) >= 0.15.4
BuildRequires: pkgconfig(libpng) >= 1.6.0
BuildRequires: pkgconfig(librsvg-2.0) >= 2.40.6
BuildRequires: pkgconfig(maxflow)
BuildRequires: pkgconfig(libv4l2) >= 1.0.1
BuildRequires: pkgconfig(libwebp) >= 0.5.0
BuildRequires: pkgconfig(lua) >= 5.1.0
%if ! 0%{?rhel}
%ifarch %{arm} %{ix86} x86_64
BuildRequires: pkgconfig(luajit) >= 2.0.4
%endif
BuildRequires: pkgconfig(OpenEXR) >= 2.5.4
%endif
BuildRequires: pkgconfig(pango) >= 1.38.0
BuildRequires: pkgconfig(pangocairo) >= 1.38.0
BuildRequires: pkgconfig(pygobject-3.0) >= 3.2
BuildRequires: pkgconfig(sdl2) >= 2.0.5
BuildRequires: pkgconfig(vapigen) >= 0.20.0
BuildRequires: pkgconfig(libtiff-4) >= 4.0.0
# operations/common/magick-load.c has a fallback image loader which uses /usr/bin/convert
# However, this code path has no error handling, so no application should rely on it; and
# there is a general trend to migrate away from ImageMagick.
# Requires: /usr/bin/convert
# gegl contains a stripped down version of poly2tri-c, a C+glib port of
# poly2tri, a 2D constrained Delaunay triangulation library.
# Version information:
# CURRENT REVISION: b27c5b79df2ffa4e2cb37f9e5536831f16afb11b
# CACHED ON: August 11th, 2012
Provides: bundled(poly2tri-c)
Obsoletes: gegl03 < 0.3.31
%description
GEGL (Generic Graphics Library) is a graph based image processing framework.
GEGLs original design was made to scratch GIMP's itches for a new
compositing and processing core. This core is being designed to have
minimal dependencies and a simple well defined API.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-devel < 0.4.2
Obsoletes: gegl03-devel < 0.3.31
Conflicts: %{name}-devel < 0.4.2
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use GEGL API version %{apiver}.
%package devel-docs
Summary: Documentation files for developing with %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-devel < 0.4.2
Obsoletes: gegl03-devel-docs < 0.3.31
Conflicts: %{name}-devel < 0.4.2
Conflicts: gegl-devel < 0.4
%description devel-docs
The %{name}-devel-docs package contains documentation files for developing
applications that use GEGL API version %{apiver}.
%package tools
Summary: Command line tools for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Obsoletes: gegl03-tools < 0.3.31
Conflicts: gegl < 0.4
%description tools
The %{name}-tools package contains tools for the command line that use the
GEGL library.
%prep
%autosetup -p1 -n gegl-%{version}
%build
%meson --auto-features=auto -Ddocs=true -Dworkshop=true -Dgtk-doc=true
%meson_build
%install
%meson_install
# Remove rpaths
chrpath --delete %{buildroot}%{_bindir}/*
chrpath --delete %{buildroot}%{_libdir}/*.so*
chrpath --delete %{buildroot}%{_libdir}/gegl-%{apiver}/*.so
%find_lang gegl-%{apiver}
%ldconfig_scriptlets
%files -f gegl-%{apiver}.lang
%license COPYING.LESSER
%{_libdir}/gegl-%{apiver}/
%{_libdir}/libgegl-%{apiver}.so.*
%{_libdir}/libgegl-npd-%{apiver}.so
%{_libdir}/libgegl-sc-%{apiver}.so
%{_libdir}/girepository-1.0/Gegl-%{apiver}.typelib
%if ! 0%{?rhel}
%ifarch %{arm} %{ix86} x86_64
%dir %{_datadir}/gegl-%{apiver}/
%{_datadir}/gegl-%{apiver}/lua/
%endif
%endif
%files devel
%{_includedir}/gegl-%{apiver}/
%{_libdir}/libgegl-%{apiver}.so
%{_libdir}/pkgconfig/gegl-%{apiver}.pc
%{_libdir}/pkgconfig/gegl-sc-%{apiver}.pc
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/Gegl-%{apiver}.gir
%dir %{_datadir}/vala
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/gegl-%{apiver}.deps
%{_datadir}/vala/vapi/gegl-%{apiver}.vapi
%files devel-docs
%doc %{_datadir}/gtk-doc/
%files tools
%license COPYING
%{_bindir}/*
%changelog
* Wed Jul 19 2023 Fedora Release Engineering <[email protected]> - 0.4.44-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Mar 30 2023 David King <[email protected]> - 0.4.44-2
- Build against newer babl releases
- Use SPDX for license fields
* Mon Mar 27 2023 Josef Ridky <[email protected]> - 0.4.44-1
- New upstream release 0.4.44 (#2142383)
* Thu Jan 19 2023 Fedora Release Engineering <[email protected]> - 0.4.38-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Dec 20 2022 Gwyn Ciesla <[email protected]> - 0.4.38-2
- LibRaw rebuild
* Mon Aug 01 2022 Josef Ridky <[email protected]> - 0.4.38-1
- New upstream release 0.4.38
* Thu Jul 21 2022 Fedora Release Engineering <[email protected]> - 0.4.36-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Mar 14 2022 Josef Ridky <[email protected]> - 0.4.36-1
- New upstream release 0.4.36
* Sun Feb 13 2022 Josef Ridky <[email protected]> - 0.4.34-4
- Rebuilt for libjasper.so.6
* Sun Feb 13 2022 Josef Ridky <[email protected]> - 0.4.34-3
- Rebuild for new jasper library
* Thu Jan 20 2022 Fedora Release Engineering <[email protected]> - 0.4.34-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jan 04 2022 Josef Ridky <[email protected]> - 0.4.34-1
- New upstream release 0.4.34
- Fix CVE-2021-45463
* Fri Oct 15 2021 Josef Ridky <[email protected]> - 0.4.32-1
- New upstream release 0.4.32
* Sat Aug 21 2021 Richard Shaw <[email protected]> - 0.4.30-5
- Rebuild for OpenEXR/Imath 3.1.
* Mon Aug 02 2021 Richard Shaw <[email protected]> - 0.4.30-4
- Rebuild for OpenEXR 3.
* Thu Jul 22 2021 Fedora Release Engineering <[email protected]> - 0.4.30-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Apr 15 2021 Debarshi Ray <[email protected]> - 0.4.30-2
- Disable luajit on RHEL
* Fri Apr 02 2021 Kalev Lember <[email protected]> - 0.4.30-1
- Update to 0.4.30
* Thu Jan 28 2021 Josef Ridky <[email protected]> - 0.4.26-4
- Disable OpenEXR on RHEL
* Tue Jan 26 2021 Fedora Release Engineering <[email protected]> - 0.4.26-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Jan 01 2021 Richard Shaw <[email protected]> - 0.4.26-2
- Rebuild for OpenEXR 2.5.3.
* Mon Aug 24 2020 Josef Ridky <[email protected]> - 0.4.26-1
- New upstream release 0.4.26
* Mon Jul 27 2020 Fedora Release Engineering <[email protected]> - 0.4.24-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jun 15 2020 Josef Ridky <[email protected]> - 0.4.24-1
- New upstream release 0.4.24
* Mon May 11 2020 Gwyn Ciesla <[email protected]> - 0.4.22-2
- Rebuild for new LibRaw
* Wed Feb 19 2020 Josef Ridky <[email protected]> - 0.4.22-1
- Update to 0.4.22
* Tue Jan 28 2020 Fedora Release Engineering <[email protected]> - 0.4.18-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Nov 04 2019 Kalev Lember <[email protected]> - 0.4.18-1
- Update to 0.4.18
- Switch to meson build system
- Build against SDL2 instead of SDL 1
- Enable gexiv2 support
* Thu Sep 12 2019 Josef Ridky <[email protected]> -0.4.16-4
- Obsoletes gegl03 (#1751416)
* Tue Aug 27 2019 Kevin Fenzi <[email protected]> - 0.4.16-3
- Rebuild for new libspiro
* Thu Jul 25 2019 Fedora Release Engineering <[email protected]> - 0.4.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Jun 10 2019 Kalev Lember <[email protected]> - 0.4.16-1
- Update to 0.4.16
* Wed Apr 10 2019 Richard Shaw <[email protected]> - 0.4.14-2
- Rebuild for OpenEXR 2.3.0.
* Mon Mar 25 2019 Josef Ridky <[email protected]> - 0.4.14-1
- version 0.4.14
* Mon Feb 04 2019 Kalev Lember <[email protected]> - 0.4.12-3
- Update BRs for vala packaging changes
* Thu Jan 31 2019 Fedora Release Engineering <[email protected]> - 0.4.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Nov 10 2018 Nils Philippsen <[email protected]> - 0.4.12-1
- version 0.4.12
* Fri Aug 24 2018 Debarshi Ray <[email protected]> - 0.4.8-2
- Drop the run-time requirement on ImageMagick
* Mon Aug 20 2018 Nils Philippsen <[email protected]> - 0.4.8-1
- version 0.4.8
* Thu Jul 19 2018 Christian Dersch <[email protected]> - 0.4.4-3
- Rebuilt for LibRaw soname bump
* Fri Jul 13 2018 Fedora Release Engineering <[email protected]> - 0.4.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jul 05 2018 Nils Philippsen <[email protected]> - 0.4.4-1
- version 0.4.4
* Mon May 21 2018 Nils Philippsen <[email protected]> - 0.4.2-2
- split off devel docs
- let gegl04-devel-docs explicitly conflict with old gegl-devel (#1577595)
* Mon May 21 2018 Nils Philippsen <[email protected]> - 0.4.2-1
- version 0.4.2
* Wed May 02 2018 Nils Philippsen <[email protected]> - 0.4.0-2
- don't require asciidoc for building
- always install unversioned executables
* Sat Apr 28 2018 Nils Philippsen <[email protected]> - 0.4.0-1
- import into Fedora dist-git
* Fri Apr 27 2018 Nils Philippsen <[email protected]> - 0.4.0-0.4
- own all created directories
- remove rpaths
* Fri Apr 27 2018 Nils Philippsen <[email protected]> - 0.4.0-0.3
- use %%ldconfig_scriptlets macro
* Fri Apr 27 2018 Nils Philippsen <[email protected]> - 0.4.0-0.2
- add tools subpackage
- tidy up remains of 0.3
- add back gtk-doc documentation
* Fri Apr 27 2018 Nils Philippsen <[email protected]> - 0.4.0-0.1
- initial import