Blame SPECS/gegl04.spec

6db0ff
%global apiver 0.4
6db0ff
6db0ff
Name:           gegl04
6db0ff
Version:        0.4.4
6db0ff
Release:        6%{?dist}
6db0ff
Summary:        Graph based image processing framework
6db0ff
6db0ff
# The binary is under the GPL, while the libs are under LGPL.
6db0ff
# The main package only installs the libs, which makes the license:
6db0ff
License:        LGPLv3+
6db0ff
URL:            http://www.gegl.org/
6db0ff
Source0:        http://download.gimp.org/pub/gegl/%{apiver}/gegl-%{version}.tar.bz2
6db0ff
6db0ff
BuildRequires:  chrpath
6db0ff
BuildRequires:  enscript
6db0ff
BuildRequires:  gcc-c++
6db0ff
BuildRequires:  gettext-devel >= 0.19.8
6db0ff
BuildRequires:  gobject-introspection-devel >= 1.32.0
6db0ff
BuildRequires:  libspiro-devel
6db0ff
BuildRequires:  perl-interpreter
6db0ff
BuildRequires:  ruby
6db0ff
BuildRequires:  SDL-devel >= 1.2.0
6db0ff
BuildRequires:  suitesparse-devel
6db0ff
BuildRequires:  vala-tools
6db0ff
6db0ff
BuildRequires:  pkgconfig(babl) >= 0.1.52
6db0ff
BuildRequires:  pkgconfig(cairo) >= 1.12.2
6db0ff
BuildRequires:  pkgconfig(exiv2) >= 0.25
6db0ff
BuildRequires:  pkgconfig(gdk-pixbuf-2.0) >= 2.32.0
6db0ff
BuildRequires:  pkgconfig(glib-2.0) >= 2.44.0
6db0ff
BuildRequires:  pkgconfig(jasper) >= 1.900.1
6db0ff
BuildRequires:  pkgconfig(json-glib-1.0)
6db0ff
BuildRequires:  pkgconfig(lcms2) >= 2.8
6db0ff
BuildRequires:  pkgconfig(lensfun) >= 0.2.5
6db0ff
BuildRequires:  pkgconfig(libraw) >= 0.19.0
6db0ff
BuildRequires:  pkgconfig(libpng) >= 1.6.0
6db0ff
BuildRequires:  pkgconfig(librsvg-2.0) >= 2.40.6
6db0ff
BuildRequires:  pkgconfig(libv4l2) >= 1.0.1
6db0ff
BuildRequires:  pkgconfig(libwebp) >= 0.5.0
6db0ff
BuildRequires:  pkgconfig(lua) >= 5.1.0
6db0ff
BuildRequires:  pkgconfig(OpenEXR) >= 1.6.1
6db0ff
BuildRequires:  pkgconfig(pango) >= 1.38.0
6db0ff
BuildRequires:  pkgconfig(pangocairo) >= 1.38.0
6db0ff
BuildRequires:  pkgconfig(pygobject-3.0) >= 3.2
6db0ff
BuildRequires:  pkgconfig(vapigen) >= 0.20.0
6db0ff
BuildRequires:  pkgconfig(libtiff-4) >= 4.0.0
6db0ff
6db0ff
# gegl contains a stripped down version of poly2tri-c, a C+glib port of
6db0ff
# poly2tri, a 2D constrained Delaunay triangulation library.
6db0ff
# Version information:
6db0ff
#     CURRENT REVISION: b27c5b79df2ffa4e2cb37f9e5536831f16afb11b
6db0ff
#     CACHED ON: August 11th, 2012
6db0ff
Provides:       bundled(poly2tri-c)
6db0ff
6db0ff
6db0ff
%description
6db0ff
GEGL (Generic Graphics Library) is a graph based image processing framework.
6db0ff
GEGLs original design was made to scratch GIMP's itches for a new
6db0ff
compositing and processing core. This core is being designed to have
6db0ff
minimal dependencies and a simple well defined API.
6db0ff
6db0ff
6db0ff
%package        devel
6db0ff
Summary:        Development files for %{name}
6db0ff
Requires:       %{name}%{?_isa} = %{version}-%{release}
6db0ff
Obsoletes:      %{name}-devel < 0.4.2
6db0ff
Conflicts:      %{name}-devel < 0.4.2
6db0ff
6db0ff
%description    devel
6db0ff
The %{name}-devel package contains libraries and header files for
6db0ff
developing applications that use GEGL API version %{apiver}.
6db0ff
6db0ff
6db0ff
%package        devel-docs
6db0ff
Summary:        Documentation files for developing with %{name}
6db0ff
Requires:       %{name}%{?_isa} = %{version}-%{release}
6db0ff
Obsoletes:      %{name}-devel < 0.4.2
6db0ff
Conflicts:      %{name}-devel < 0.4.2
6db0ff
Conflicts:      gegl-devel < 0.4
6db0ff
6db0ff
%description    devel-docs
6db0ff
The %{name}-devel-docs package contains documentation files for developing
6db0ff
applications that use GEGL API version %{apiver}.
6db0ff
6db0ff
6db0ff
%package        tools
6db0ff
Summary:        Command line tools for %{name}
6db0ff
Requires:       %{name}%{?_isa} = %{version}-%{release}
6db0ff
License:        GPLv3+
6db0ff
Conflicts:      gegl < 0.4
6db0ff
6db0ff
%description    tools
6db0ff
The %{name}-tools package contains tools for the command line that use the
6db0ff
GEGL library.
6db0ff
6db0ff
6db0ff
%prep
6db0ff
%setup -q -n gegl-%{version}
6db0ff
6db0ff
6db0ff
%build
6db0ff
%configure --disable-static
6db0ff
make %{?_smp_mflags}
6db0ff
6db0ff
6db0ff
%install
6db0ff
%make_install
6db0ff
6db0ff
# Remove rpaths
6db0ff
chrpath --delete %{buildroot}%{_bindir}/*
6db0ff
chrpath --delete %{buildroot}%{_libdir}/*.so*
6db0ff
chrpath --delete %{buildroot}%{_libdir}/gegl-%{apiver}/*.so
6db0ff
6db0ff
# Remove .la files
6db0ff
find %{buildroot} -name '*.la' -delete
6db0ff
6db0ff
%find_lang gegl-%{apiver}
6db0ff
6db0ff
6db0ff
%ldconfig_scriptlets
6db0ff
6db0ff
6db0ff
%files -f gegl-%{apiver}.lang
6db0ff
%license COPYING.LESSER
6db0ff
%{_libdir}/gegl-%{apiver}/
6db0ff
%{_libdir}/libgegl-%{apiver}.so.*
6db0ff
%{_libdir}/libgegl-npd-%{apiver}.so
6db0ff
%{_libdir}/libgegl-sc-%{apiver}.so
6db0ff
%{_libdir}/girepository-1.0/Gegl-%{apiver}.typelib
6db0ff
6db0ff
%files devel
6db0ff
%{_includedir}/gegl-%{apiver}/
6db0ff
%{_libdir}/libgegl-%{apiver}.so
6db0ff
%{_libdir}/pkgconfig/gegl-%{apiver}.pc
6db0ff
%{_libdir}/pkgconfig/gegl-sc-%{apiver}.pc
6db0ff
%dir %{_datadir}/gir-1.0
6db0ff
%{_datadir}/gir-1.0/Gegl-%{apiver}.gir
6db0ff
%dir %{_datadir}/vala
6db0ff
%dir %{_datadir}/vala/vapi
6db0ff
%{_datadir}/vala/vapi/gegl-%{apiver}.deps
6db0ff
%{_datadir}/vala/vapi/gegl-%{apiver}.vapi
6db0ff
6db0ff
%files devel-docs
6db0ff
%doc %{_datadir}/gtk-doc/
6db0ff
6db0ff
%files tools
6db0ff
%license COPYING
6db0ff
%{_bindir}/*
6db0ff
6db0ff
6db0ff
%changelog
6db0ff
* Wed Oct 03 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.4.4-6
6db0ff
- Rebuild against new LibRaw soname
6db0ff
Resolves: #1633708
6db0ff
6db0ff
* Thu Aug 23 2018 Josef Ridky <jridky@redhat.com> - 0.4.4-5
6db0ff
- Remove ImageMagick requirement
6db0ff
Resolves: #1620209
6db0ff
6db0ff
* Mon Aug 06 2018 Josef Ridky <jridky@redhat.com> - 0.4.4-4
6db0ff
- Remove luajit requirement, because it is not available on RHEL-8
6db0ff
Resolves: #1609985
6db0ff
6db0ff
* Thu Jul 19 2018 Christian Dersch <lupinix@fedoraproject.org> - 0.4.4-3
6db0ff
- Rebuilt for LibRaw soname bump
6db0ff
6db0ff
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-2
6db0ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6db0ff
6db0ff
* Thu Jul 05 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.4-1
6db0ff
- version 0.4.4
6db0ff
6db0ff
* Mon May 21 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.2-2
6db0ff
- split off devel docs
6db0ff
- let gegl04-devel-docs explicitly conflict with old gegl-devel (#1577595)
6db0ff
6db0ff
* Mon May 21 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.2-1
6db0ff
- version 0.4.2
6db0ff
6db0ff
* Wed May 02 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.0-2
6db0ff
- don't require asciidoc for building
6db0ff
- always install unversioned executables
6db0ff
6db0ff
* Sat Apr 28 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.0-1
6db0ff
- import into Fedora dist-git
6db0ff
6db0ff
* Fri Apr 27 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.0-0.4
6db0ff
- own all created directories
6db0ff
- remove rpaths
6db0ff
6db0ff
* Fri Apr 27 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.0-0.3
6db0ff
- use %%ldconfig_scriptlets macro
6db0ff
6db0ff
* Fri Apr 27 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.0-0.2
6db0ff
- add tools subpackage
6db0ff
- tidy up remains of 0.3
6db0ff
- add back gtk-doc documentation
6db0ff
6db0ff
* Fri Apr 27 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.0-0.1
6db0ff
- initial import