Blame SPECS/gegl04.spec

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