3e72e56
%global apiver 0.4
3e72e56
3e72e56
Name:           gegl04
4365beb
Version:        0.4.30
7554267
Release:        1%{?dist}
3e72e56
Summary:        Graph based image processing framework
3e72e56
3e72e56
# The binary is under the GPL, while the libs are under LGPL.
3e72e56
# The main package only installs the libs, which makes the license:
3e72e56
License:        LGPLv3+
3e72e56
URL:            http://www.gegl.org/
f7fb927
Source0:        http://download.gimp.org/pub/gegl/%{apiver}/gegl-%{version}.tar.xz
f7fb927
3e72e56
BuildRequires:  chrpath
3e72e56
BuildRequires:  enscript
2ab7c93
BuildRequires:  gcc-c++
3e72e56
BuildRequires:  gettext-devel >= 0.19.8
3e72e56
BuildRequires:  gobject-introspection-devel >= 1.32.0
f7fb927
BuildRequires:  gtk-doc
3e72e56
BuildRequires:  libspiro-devel
f7fb927
BuildRequires:  meson
3e72e56
BuildRequires:  perl-interpreter
3e72e56
BuildRequires:  ruby
3e72e56
BuildRequires:  suitesparse-devel
4c8f1bc
BuildRequires:  vala
3e72e56
eedc080
BuildRequires:  pkgconfig(babl) >= 0.1.78
3e72e56
BuildRequires:  pkgconfig(cairo) >= 1.12.2
3e72e56
BuildRequires:  pkgconfig(exiv2) >= 0.25
3e72e56
BuildRequires:  pkgconfig(gdk-pixbuf-2.0) >= 2.32.0
474a46c
BuildRequires:  pkgconfig(gexiv2)
3e72e56
BuildRequires:  pkgconfig(glib-2.0) >= 2.44.0
3e72e56
BuildRequires:  pkgconfig(jasper) >= 1.900.1
3e72e56
BuildRequires:  pkgconfig(json-glib-1.0)
3e72e56
BuildRequires:  pkgconfig(lcms2) >= 2.8
3e72e56
BuildRequires:  pkgconfig(lensfun) >= 0.2.5
3e72e56
BuildRequires:  pkgconfig(libraw) >= 0.15.4
3e72e56
BuildRequires:  pkgconfig(libpng) >= 1.6.0
3e72e56
BuildRequires:  pkgconfig(librsvg-2.0) >= 2.40.6
3e72e56
BuildRequires:  pkgconfig(libv4l2) >= 1.0.1
3e72e56
BuildRequires:  pkgconfig(libwebp) >= 0.5.0
3e72e56
BuildRequires:  pkgconfig(lua) >= 5.1.0
3e72e56
%ifarch %{arm} %{ix86} x86_64
3e72e56
BuildRequires:  pkgconfig(luajit) >= 2.0.4
3e72e56
%endif
3e72e56
BuildRequires:  pkgconfig(OpenEXR) >= 1.6.1
3e72e56
BuildRequires:  pkgconfig(pango) >= 1.38.0
3e72e56
BuildRequires:  pkgconfig(pangocairo) >= 1.38.0
3e72e56
BuildRequires:  pkgconfig(pygobject-3.0) >= 3.2
95e44d9
BuildRequires:  pkgconfig(sdl2) >= 2.0.5
3e72e56
BuildRequires:  pkgconfig(vapigen) >= 0.20.0
3e72e56
BuildRequires:  pkgconfig(libtiff-4) >= 4.0.0
3e72e56
3e72e56
# operations/common/magick-load.c has a fallback image loader which uses /usr/bin/convert
Debarshi Ray 2bb0739
# However, this code path has no error handling, so no application should rely on it; and
Debarshi Ray 2bb0739
# there is a general trend to migrate away from ImageMagick.
Debarshi Ray 2bb0739
# Requires:       /usr/bin/convert
3e72e56
3e72e56
# gegl contains a stripped down version of poly2tri-c, a C+glib port of
3e72e56
# poly2tri, a 2D constrained Delaunay triangulation library.
3e72e56
# Version information:
3e72e56
#     CURRENT REVISION: b27c5b79df2ffa4e2cb37f9e5536831f16afb11b
3e72e56
#     CACHED ON: August 11th, 2012
3e72e56
Provides:       bundled(poly2tri-c)
5f74a64
Obsoletes:      gegl03 < 0.3.31
3e72e56
3e72e56
%description
3e72e56
GEGL (Generic Graphics Library) is a graph based image processing framework.
3e72e56
GEGLs original design was made to scratch GIMP's itches for a new
3e72e56
compositing and processing core. This core is being designed to have
3e72e56
minimal dependencies and a simple well defined API.
3e72e56
3e72e56
3e72e56
%package        devel
3e72e56
Summary:        Development files for %{name}
3e72e56
Requires:       %{name}%{?_isa} = %{version}-%{release}
bd150c9
Obsoletes:      %{name}-devel < 0.4.2
5f74a64
Obsoletes:      gegl03-devel < 0.3.31
bd150c9
Conflicts:      %{name}-devel < 0.4.2
3e72e56
3e72e56
%description    devel
3e72e56
The %{name}-devel package contains libraries and header files for
3e72e56
developing applications that use GEGL API version %{apiver}.
3e72e56
3e72e56
bd150c9
%package        devel-docs
bd150c9
Summary:        Documentation files for developing with %{name}
bd150c9
Requires:       %{name}%{?_isa} = %{version}-%{release}
bd150c9
Obsoletes:      %{name}-devel < 0.4.2
622254f
Obsoletes:      gegl03-devel-docs < 0.3.31
bd150c9
Conflicts:      %{name}-devel < 0.4.2
cfca9fe
Conflicts:      gegl-devel < 0.4
bd150c9
bd150c9
%description    devel-docs
bd150c9
The %{name}-devel-docs package contains documentation files for developing
bd150c9
applications that use GEGL API version %{apiver}.
bd150c9
bd150c9
3e72e56
%package        tools
3e72e56
Summary:        Command line tools for %{name}
3e72e56
Requires:       %{name}%{?_isa} = %{version}-%{release}
3e72e56
License:        GPLv3+
5f74a64
Obsoletes:      gegl03-tools < 0.3.31
97c0636
Conflicts:      gegl < 0.4
3e72e56
3e72e56
%description    tools
3e72e56
The %{name}-tools package contains tools for the command line that use the
3e72e56
GEGL library.
3e72e56
3e72e56
3e72e56
%prep
f7fb927
%autosetup -p1 -n gegl-%{version}
3e72e56
3e72e56
3e72e56
%build
f7fb927
%meson --auto-features=auto -Ddocs=true
f7fb927
%meson_build
3e72e56
3e72e56
3e72e56
%install
f7fb927
%meson_install
3e72e56
3e72e56
# Remove rpaths
3e72e56
chrpath --delete %{buildroot}%{_bindir}/*
3e72e56
chrpath --delete %{buildroot}%{_libdir}/*.so*
3e72e56
chrpath --delete %{buildroot}%{_libdir}/gegl-%{apiver}/*.so
3e72e56
3e72e56
%find_lang gegl-%{apiver}
3e72e56
3e72e56
3e72e56
%ldconfig_scriptlets
3e72e56
3e72e56
3e72e56
%files -f gegl-%{apiver}.lang
3e72e56
%license COPYING.LESSER
3e72e56
%{_libdir}/gegl-%{apiver}/
3e72e56
%{_libdir}/libgegl-%{apiver}.so.*
3e72e56
%{_libdir}/libgegl-npd-%{apiver}.so
3e72e56
%{_libdir}/libgegl-sc-%{apiver}.so
3e72e56
%{_libdir}/girepository-1.0/Gegl-%{apiver}.typelib
f7fb927
%ifarch %{arm} %{ix86} x86_64
f7fb927
%dir %{_datadir}/gegl-%{apiver}/
f7fb927
%{_datadir}/gegl-%{apiver}/lua/
f7fb927
%endif
3e72e56
3e72e56
%files devel
3e72e56
%{_includedir}/gegl-%{apiver}/
3e72e56
%{_libdir}/libgegl-%{apiver}.so
3e72e56
%{_libdir}/pkgconfig/gegl-%{apiver}.pc
3e72e56
%{_libdir}/pkgconfig/gegl-sc-%{apiver}.pc
3e72e56
%dir %{_datadir}/gir-1.0
3e72e56
%{_datadir}/gir-1.0/Gegl-%{apiver}.gir
3e72e56
%dir %{_datadir}/vala
3e72e56
%dir %{_datadir}/vala/vapi
3e72e56
%{_datadir}/vala/vapi/gegl-%{apiver}.deps
3e72e56
%{_datadir}/vala/vapi/gegl-%{apiver}.vapi
3e72e56
bd150c9
%files devel-docs
bd150c9
%doc %{_datadir}/gtk-doc/
bd150c9
3e72e56
%files tools
3e72e56
%license COPYING
3e72e56
%{_bindir}/*
3e72e56
3e72e56
3e72e56
%changelog
4365beb
* Fri Apr 02 2021 Kalev Lember <klember@redhat.com> - 0.4.30-1
4365beb
- Update to 0.4.30
4365beb
7554267
* Mon Aug 24 2020 Josef Ridky <jridky@redhat.com> - 0.4.26-1
7554267
- New upstream release 0.4.26
7554267
73f45f2
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.24-2
73f45f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
73f45f2
8299ec7
* Mon Jun 15 2020 Josef Ridky <jridky@redhat.com> - 0.4.24-1
8299ec7
- New upstream release 0.4.24
8299ec7
9e935dc
* Mon May 11 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.4.22-2
9e935dc
- Rebuild for new LibRaw
9e935dc
c715532
* Wed Feb 19 2020 Josef Ridky <jridky@redhat.com> - 0.4.22-1
c715532
- Update to 0.4.22
c715532
79339ce
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.18-2
79339ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
79339ce
f7fb927
* Mon Nov 04 2019 Kalev Lember <klember@redhat.com> - 0.4.18-1
f7fb927
- Update to 0.4.18
f7fb927
- Switch to meson build system
95e44d9
- Build against SDL2 instead of SDL 1
474a46c
- Enable gexiv2 support
f7fb927
fc052fa
* Thu Sep 12 2019 Josef Ridky <jridky@redhat.com> -0.4.16-4
622254f
- Obsoletes gegl03 (#1751416)
622254f
743be6f
* Tue Aug 27 2019 Kevin Fenzi <kevin@scrye.com> - 0.4.16-3
743be6f
- Rebuild for new libspiro
743be6f
1edf2d3
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.16-2
1edf2d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1edf2d3
dd0ca49
* Mon Jun 10 2019 Kalev Lember <klember@redhat.com> - 0.4.16-1
dd0ca49
- Update to 0.4.16
dd0ca49
6f0569f
* Wed Apr 10 2019 Richard Shaw <hobbes1069@gmail.com> - 0.4.14-2
6f0569f
- Rebuild for OpenEXR 2.3.0.
6f0569f
c8c0aff
* Mon Mar 25 2019 Josef Ridky <jridky@redhat.com> - 0.4.14-1
c8c0aff
- version 0.4.14
c8c0aff
4c8f1bc
* Mon Feb 04 2019 Kalev Lember <klember@redhat.com> - 0.4.12-3
4c8f1bc
- Update BRs for vala packaging changes
4c8f1bc
8d40ff3
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.12-2
8d40ff3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
8d40ff3
ea4fa38
* Sat Nov 10 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.12-1
ea4fa38
- version 0.4.12
ea4fa38
Debarshi Ray 2bb0739
* Fri Aug 24 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.4.8-2
Debarshi Ray 2bb0739
- Drop the run-time requirement on ImageMagick
Debarshi Ray 2bb0739
32561dd
* Mon Aug 20 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.8-1
32561dd
- version 0.4.8
32561dd
3242526
* Thu Jul 19 2018 Christian Dersch <lupinix@fedoraproject.org> - 0.4.4-3
3242526
- Rebuilt for LibRaw soname bump
3242526
b4785e4
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-2
b4785e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b4785e4
c48bf6e
* Thu Jul 05 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.4-1
c48bf6e
- version 0.4.4
c48bf6e
c2f1e5a
* Mon May 21 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.2-2
bd150c9
- split off devel docs
cfca9fe
- let gegl04-devel-docs explicitly conflict with old gegl-devel (#1577595)
bd150c9
6677be3
* Mon May 21 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.2-1
6677be3
- version 0.4.2
6677be3
c53a833
* Wed May 02 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.0-2
fd1eae7
- don't require asciidoc for building
97c0636
- always install unversioned executables
fd1eae7
3e72e56
* Sat Apr 28 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.0-1
3e72e56
- import into Fedora dist-git
3e72e56
3e72e56
* Fri Apr 27 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.0-0.4
3e72e56
- own all created directories
3e72e56
- remove rpaths
3e72e56
3e72e56
* Fri Apr 27 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.0-0.3
3e72e56
- use %%ldconfig_scriptlets macro
3e72e56
3e72e56
* Fri Apr 27 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.0-0.2
3e72e56
- add tools subpackage
3e72e56
- tidy up remains of 0.3
3e72e56
- add back gtk-doc documentation
3e72e56
3e72e56
* Fri Apr 27 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.0-0.1
3e72e56
- initial import