babl/babl.spec

414 lines
14 KiB
RPMSpec
Raw Normal View History

2012-04-03 10:06:49 +00:00
# skip tests known to be problematic in a specific version
2018-11-09 23:00:20 +00:00
%global skip_checks_version 0.1.58
2018-05-21 13:24:45 +00:00
%ifarch ppc64 ppc64le
%global skip_checks %nil
%else
%ifarch s390x
%global skip_checks float-to-8bit
%else
%global skip_checks %nil
%endif
2018-05-17 13:54:53 +00:00
%endif
2018-02-14 13:31:26 +00:00
%if ! 0%{?fedora}%{?rhel} || 0%{?fedora} >= 20 || 0%{?rhel} > 7
%global develdocdir %{_docdir}/%{name}-devel/html
%else
%global develdocdir %{_docdir}/%{name}-devel-%{version}/html
%endif
2007-10-23 02:01:27 +00:00
Summary: A dynamic, any to any, pixel format conversion library
Name: babl
2021-10-18 12:12:25 +00:00
Version: 0.1.88
Release: 1%{?dist}
2012-04-03 09:18:36 +00:00
# Compute some version related macros
# Ugly hack, you need to get your quoting backslashes/percent signs straight
%global major %(ver=%version; echo ${ver%%%%.*})
%global minor %(ver=%version; ver=${ver#%major.}; echo ${ver%%%%.*})
%global micro %(ver=%version; ver=${ver#%major.%minor.}; echo ${ver%%%%.*})
%global apiver %major.%minor
# The gggl codes contained in this package are under the GPL, with exceptions allowing their use under libraries covered under the LGPL
License: LGPLv3+ and GPLv3+
2007-10-23 02:01:27 +00:00
URL: http://www.gegl.org/babl/
Source0: https://download.gimp.org/pub/babl/%{apiver}/%{name}-%{version}.tar.xz
2017-10-17 16:07:57 +00:00
BuildRequires: gcc
2021-08-02 07:39:56 +00:00
BuildRequires: openssh-clients
BuildRequires: gobject-introspection-devel
2019-11-05 09:35:06 +00:00
BuildRequires: librsvg2-tools
2020-06-15 07:41:17 +00:00
BuildRequires: meson, vala
2019-02-09 22:35:33 +00:00
BuildRequires: pkgconfig(lcms2)
2007-10-23 02:01:27 +00:00
%description
Babl is a dynamic, any to any, pixel format conversion library. It
provides conversions between the myriad of buffer types images can be
stored in. Babl doesn't only help with existing pixel formats, but also
facilitates creation of new and uncommon ones.
%package devel
Summary: Headers for developing programs that will use %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
2007-10-23 02:01:27 +00:00
Requires: pkgconfig
2018-02-14 13:31:26 +00:00
%if ! (0%{?fedora} >= 22 || 0%{?rhel} > 7)
# Split off devel docs from 0.1.2-2 on
Obsoletes: %{name}-devel < 0.1.2-2%{?dist}
Conflicts: %{name}-devel < 0.1.2-2%{?dist}
%endif
2007-10-23 02:01:27 +00:00
%description devel
This package contains the libraries and header files needed for
developing with %{name}.
%package devel-docs
Summary: Documentation for developing programs that will use %{name}
BuildArch: noarch
Requires: %{name}-devel = %{version}-%{release}
# Split off devel docs from 0.1.2-2 on
Obsoletes: %{name}-devel < 0.1.2-2%{?dist}
Conflicts: %{name}-devel < 0.1.2-2%{?dist}
2010-06-14 12:44:54 +00:00
%description devel-docs
This package contains documentation needed for developing with %{name}.
2007-10-23 02:01:27 +00:00
%prep
2018-02-14 13:31:26 +00:00
%autosetup -p1
2007-10-23 02:01:27 +00:00
%build
%meson
%meson_build
2007-10-23 02:01:27 +00:00
%install
%meson_install
2007-10-23 02:01:27 +00:00
mkdir -p "%{buildroot}/%{develdocdir}"
cp -pr docs/graphics docs/*.html docs/babl.css "%{buildroot}/%{develdocdir}"
rm -f "%{buildroot}/%{develdocdir}"/graphics/meson.build
2019-11-05 09:37:16 +00:00
rm -f "%{buildroot}/%{develdocdir}"/graphics/.gitignore
2007-10-23 02:01:27 +00:00
%check
2012-04-03 10:06:49 +00:00
# skip tests known to be problematic in a specific version
%if "%version" == "%skip_checks_version"
pushd tests
2012-04-03 10:06:49 +00:00
for problematic in %skip_checks; do
rm -f "$problematic"
cat << EOF > "$problematic"
#!/bin/sh
echo Skipping test "$problematic"
EOF
chmod +x "$problematic"
done
popd
%endif
%meson_test
2007-10-23 02:01:27 +00:00
2018-02-14 13:31:26 +00:00
%ldconfig_scriptlets
2007-10-23 02:01:27 +00:00
%files
2019-11-05 09:35:48 +00:00
%license docs/COPYING*
%doc AUTHORS NEWS
%{_libdir}/libbabl-%{apiver}.so.0*
2012-04-03 09:18:36 +00:00
%{_libdir}/babl-%{apiver}/
2019-11-05 09:36:39 +00:00
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/Babl-%{apiver}.typelib
2007-10-23 02:01:27 +00:00
%files devel
2012-04-03 09:18:36 +00:00
%{_includedir}/babl-%{apiver}/
%{_libdir}/libbabl-%{apiver}.so
2007-10-23 02:01:27 +00:00
%{_libdir}/pkgconfig/%{name}.pc
2019-11-05 09:36:39 +00:00
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/Babl-%{apiver}.gir
2020-06-15 07:41:17 +00:00
%{_datadir}/vala/
2007-10-23 02:01:27 +00:00
%files devel-docs
%doc %{develdocdir}
2007-10-23 02:01:27 +00:00
%changelog
2021-10-18 12:12:25 +00:00
* Mon Oct 18 2021 Josef Ridky <jridky@redhat.com> - 0.1.88-1
- New upstream release 0.1.88
2021-08-02 07:39:56 +00:00
* Mon Aug 02 2021 Josef Ridky <jridky@redhat.com> - 0.1.86-3
- fix FTBFS by adding openssh-clients requirement (#1987380)
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.86-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-04-02 21:54:35 +00:00
* Fri Apr 02 2021 Kalev Lember <klember@redhat.com> - 0.1.86-1
- Update to 0.1.86
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.82-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2020-10-16 07:07:23 +00:00
* Fri Oct 16 2020 Kalev Lember <klember@redhat.com> - 0.1.82-1
- Update to 0.1.82
- Tighten soname globs
2020-10-16 07:07:23 +00:00
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.78-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-06-15 07:19:04 +00:00
* Mon Jun 15 2020 Josef Ridky <jridky@redhat.com> - 0.1.78-1
- New upstream release 0.1.78
2020-02-19 09:32:38 +00:00
* Wed Feb 19 2020 Josef Ridky <jridky@redhat.com> - 0.1.74-1
- New upstream release 0.1.74
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.72-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2019-11-05 09:37:37 +00:00
* Tue Nov 05 2019 Nils Philippsen <nils@tiptoe.de> - 0.1.72-2
2019-11-05 09:35:06 +00:00
- BR: librsvg2-tools for rsvg-convert
2019-11-05 09:35:48 +00:00
- mark license files as %%license
2019-11-05 09:36:39 +00:00
- use %%apiver macro consistently
2019-11-05 09:37:16 +00:00
- don't ship .gitignore file
2019-11-05 09:35:06 +00:00
* Mon Nov 04 2019 Kalev Lember <klember@redhat.com> - 0.1.72-1
- Update to 0.1.72
- Switch to meson build system
- Build with gobject-introspection support
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.66-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-06-12 18:00:36 +00:00
* Wed Jun 12 2019 Kalev Lember <klember@redhat.com> - 0.1.66-1
- version 0.1.66
2019-02-09 22:35:33 +00:00
* Sat Feb 09 2019 Debarshi Ray <rishi@fedoraproject.org> - 0.1.62-1
- version 0.1.62
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.60-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2018-11-11 07:22:53 +00:00
* Sun Nov 11 2018 Nils Philippsen <nils@tiptoe.de> - 0.1.60-1
- version 0.1.60
2018-11-09 23:00:20 +00:00
* Fri Nov 09 2018 Nils Philippsen <nils@tiptoe.de> - 0.1.58-1
- version 0.1.58
2018-08-20 17:03:36 +00:00
* Mon Aug 20 2018 Nils Philippsen <nils@tiptoe.de> - 0.1.56-2
2018-08-20 17:02:34 +00:00
- skip problematic tests also on new version
2018-08-20 15:58:25 +00:00
* Mon Aug 20 2018 Nils Philippsen <nils@tiptoe.de> - 0.1.56-1
- version 0.1.56
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.52-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-08-20 15:57:37 +00:00
* Thu Jul 05 2018 Nils Philippsen <nils@tiptoe.de> - 0.1.52-1
2018-07-05 09:13:43 +00:00
- version 0.1.52
2018-05-21 13:24:45 +00:00
* Mon May 21 2018 Nils Philippsen <nils@tiptoe.de> - 0.1.50-3
- et tu, ppc64?
2018-05-21 13:08:56 +00:00
* Mon May 21 2018 Nils Philippsen <nils@tiptoe.de> - 0.1.50-2
2018-05-21 13:08:09 +00:00
- skip more problematic tests on ppc64le
2018-05-21 07:24:09 +00:00
* Mon May 21 2018 Josef Ridky <jridky@redhat.com> - 0.1.50-1
- New upstream release 0.1.50
2018-05-17 10:03:49 +00:00
* Thu May 17 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.1.48-1
- version 0.1.48
2018-04-25 07:36:01 +00:00
* Wed Apr 25 2018 Josef Ridky <jridky@redhat.com> - 0.1.46-1
- New upstream release 0.1.46
2018-03-27 09:16:17 +00:00
* Tue Mar 27 2018 Nils Philippsen <nils@tiptoe.de> - 0.1.44-1
2018-03-27 09:14:30 +00:00
- version 0.1.44
2018-02-20 12:47:49 +00:00
* Tue Feb 20 2018 Josef Ridky <jridky@redhat.com> - 0.1.42-4
- add gcc requirement
2018-02-14 13:31:26 +00:00
* Wed Feb 14 2018 Josef Ridky <jridky@redhat.com> - 0.1.42-3
- cleanup spec file (remove Group tag, apply new scriptlets)
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.42-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2018-01-24 09:32:05 +00:00
* Wed Jan 24 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.1.42-1
- version 0.1.42
2018-01-17 17:28:02 +00:00
* Wed Jan 17 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.1.40-1
- version 0.1.40
2017-11-16 08:08:21 +00:00
* Thu Nov 16 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.1.38-1
- version 0.1.38
2017-11-11 13:08:44 +00:00
* Sat Nov 11 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.1.36-1
- version 0.1.36
2017-10-17 16:09:27 +00:00
* Tue Oct 17 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.1.34-1
- version 0.1.34
2017-10-03 18:31:01 +00:00
* Tue Oct 03 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.1.32-1
- version 0.1.32
2017-08-25 07:54:48 +00:00
* Fri Aug 25 2017 Nils Philippsen <nils@tiptoe.de> - 0.1.30-1
- version 0.1.30
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.28-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.28-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-06-21 13:01:51 +00:00
* Wed Jun 21 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.1.28-1
- version 0.1.28
2017-05-15 12:23:31 +00:00
* Mon May 15 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.1.26-1
- version 0.1.26
2017-02-07 12:24:33 +00:00
* Tue Feb 07 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.1.24-1
- version 0.1.24
2017-01-26 15:14:47 +00:00
* Thu Jan 26 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.1.22-1
- version 0.1.22
2017-01-12 15:44:51 +00:00
* Thu Jan 12 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.1.20-1
- version 0.1.20
2016-06-17 10:19:29 +00:00
* Fri Jun 17 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.1.18-1
- version 0.1.18
2016-02-14 16:07:14 +00:00
* Sun Feb 14 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.1.16-1
- version 0.1.16
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.14-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2015-11-23 13:14:12 +00:00
* Mon Nov 23 2015 Nils Philippsen <nils@redhat.com> - 0.1.14-1
- version 0.1.14
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Feb 13 2015 Nils Philippsen <nils@redhat.com> - 0.1.12-2
- fix failing (crashing) concurrency stress test
2015-02-05 14:23:20 +00:00
* Thu Feb 05 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.1.12-1
- version 0.1.12
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.10-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-08-05 08:38:23 +00:00
* Tue Aug 05 2014 Nils Philippsen <nils@redhat.com> - 0.1.10-11
- update source URL
* Tue Jul 29 2014 Nils Philippsen <nils@redhat.com> - 0.1.10-10
- drop obsoletes in future Fedora and EL versions (#1002080)
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.10-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Aug 07 2013 Nils Philippsen <nils@redhat.com> - 0.1.10-8
- use unversioned docdir from Fedora 20 on (#993679)
2013-07-30 08:30:26 +00:00
* Tue Jul 30 2013 Nils Philippsen <nils@redhat.com> - 0.1.10-7
- don't require w3m for building
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.10-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-10-20 12:10:54 +00:00
* Sat Oct 20 2012 Nils Philippsen <nils@redhat.com> - 0.1.10-5
- report problematic checks being skipped
2012-10-20 12:10:54 +00:00
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue Apr 03 2012 Nils Philippsen <nils@redhat.com> - 0.1.10-3
- prevent problematic check from being rebuilt
* Tue Apr 03 2012 Nils Philippsen <nils@redhat.com> - 0.1.10-2
- fix typo which caused problematic check not to be skipped
2012-04-03 08:26:53 +00:00
* Tue Apr 03 2012 Nils Philippsen <nils@redhat.com> - 0.1.10-1
- version 0.1.10
2012-04-03 10:06:49 +00:00
- skip check known to be problematic: concurrency-stress-test
2012-04-03 08:26:53 +00:00
2012-01-10 14:48:32 +00:00
* Tue Jan 10 2012 Nils Philippsen <nils@redhat.com> - 0.1.6-2
- rebuild for gcc 4.7
2011-12-13 13:51:58 +00:00
* Tue Dec 13 2011 Nils Philippsen <nils@redhat.com> - 0.1.6-1
- version 0.1.6
2011-02-22 15:38:49 +00:00
* Tue Feb 22 2011 Nils Philippsen <nils@redhat.com> - 0.1.4-1
2011-02-22 15:55:05 +00:00
- version 0.1.4
2011-02-22 15:38:49 +00:00
- correct source URL
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Jun 23 2010 Nils Philippsen <nils@redhat.com> - 0.1.2-4
- use PIC/PIE because babl is likely to deal with data coming from untrusted
sources
2010-06-23 12:36:19 +00:00
* Wed Jun 23 2010 Nils Philippsen <nils@redhat.com> - 0.1.2-3
- build with -fno-strict-aliasing
* Mon Jun 14 2010 Nils Philippsen <nils@redhat.com> - 0.1.2-2
- split off devel-docs subpackage to make package multi-lib compliant (#477807)
- let devel package require correct arch of base package
2010-01-21 23:47:43 +00:00
* Thu Jan 21 2010 Deji Akingunola <dakingun@gmail.com> - 0.1.2-1
- Update to 0.1.2
2009-12-18 15:28:02 +00:00
* Fri Dec 18 2009 Deji Akingunola <dakingun@gmail.com> - 0.1.0-5
- Remove the *.la files
2009-08-13 13:43:37 +00:00
* Thu Aug 13 2009 Nils Philippsen <nils@redhat.com>
- explain patch status
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon Jul 06 2009 Nils Philippsen <nils@redhat.com> - 0.1.0-3
- revert using "--disable-gtk-doc" as this doesn't work with babl (#477807)
* Thu Jul 02 2009 Nils Philippsen <nils@redhat.com>
- use "--disable-gtk-doc" to avoid rebuilding documentation (#477807)
2009-07-02 12:40:42 +00:00
- fix source URL
* Thu Jun 25 2009 Nils Philippsen <nils@redhat.com> - 0.1.0-2
- fix timestamps of built documentation for multilib (#477807)
2009-06-03 18:29:12 +00:00
* Fri May 22 2009 Deji Akingunola <dakingun@gmail.com> - 0.1.0-1
- Update to latest release (0.1.0)
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.22-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Tue Sep 2 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.0.22-2
- Include /usr/include/babl-0.0 directory
2008-07-10 19:57:22 +00:00
* Thu Jul 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.22-1
- Update to latest release
2008-02-28 07:09:45 +00:00
* Thu Feb 28 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.20-1
- New release
* Thu Jan 17 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-2
- Apply patch to fix extensions loading on 64bit systems
2008-01-10 16:03:24 +00:00
* Thu Jan 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-1
- Update to 0.0.18
* Mon Nov 26 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.16-1
- Update to 0.0.16 release
- License change from GPLv2+ to GPLv3+
2007-10-23 02:01:27 +00:00
* Mon Oct 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.5.20071011svn
- Update the License field
* Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.4.20071011svn
- Package the extension libraries in the main package
- Run 'make check'
* Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.3.20071011svn
- Ensure timestamps are kept during install
* Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.2.20071011svn
- Remove the use of inexistent source url (Package reviews)
- Package the html docs
* Thu Oct 11 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.1.20071011svn
- Initial packaging for Fedora