Compare commits

..

No commits in common. 'i8c' and 'c9' have entirely different histories.
i8c ... c9

@ -1 +1 @@
8b6999269328507ce1b62cd52af40a88edd56fd1 SOURCES/babl-0.1.52.tar.bz2
2bc00a664812c3980b2e8cf95a32ecefe943edf2 SOURCES/babl-0.1.86.tar.xz

2
.gitignore vendored

@ -1 +1 @@
SOURCES/babl-0.1.52.tar.bz2
SOURCES/babl-0.1.86.tar.xz

@ -1,10 +1,14 @@
# skip tests known to be problematic in a specific version
%global skip_checks_version 0.1.50
%global skip_checks_version 0.1.58
%ifarch ppc64 ppc64le
%global skip_checks chromaticities srgb_to_lab_u8 models float-to-8bit
%global skip_checks %nil
%else
%ifarch s390x
%global skip_checks float-to-8bit
%else
%global skip_checks %nil
%endif
%endif
%if ! 0%{?fedora}%{?rhel} || 0%{?fedora} >= 20 || 0%{?rhel} > 7
%global develdocdir %{_docdir}/%{name}-devel/html
@ -14,8 +18,8 @@
Summary: A dynamic, any to any, pixel format conversion library
Name: babl
Version: 0.1.52
Release: 1%{?dist}
Version: 0.1.86
Release: 4%{?dist}
# Compute some version related macros
# Ugly hack, you need to get your quoting backslashes/percent signs straight
@ -27,11 +31,14 @@ Release: 1%{?dist}
# 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+
URL: http://www.gegl.org/babl/
Source0: https://download.gimp.org/pub/babl/%{apiver}/%{name}-%{version}.tar.bz2
Source0: https://download.gimp.org/pub/babl/%{apiver}/%{name}-%{version}.tar.xz
BuildRequires: librsvg2
BuildRequires: automake, autoconf
BuildRequires: gcc
BuildRequires: gobject-introspection-devel
BuildRequires: librsvg2-tools
BuildRequires: meson, vala
BuildRequires: pkgconfig(lcms2)
BuildRequires: openssh-clients
%description
Babl is a dynamic, any to any, pixel format conversion library. It
@ -68,22 +75,17 @@ This package contains documentation needed for developing with %{name}.
%autosetup -p1
%build
# use PIC/PIE because babl is likely to deal with data coming from untrusted
# sources
CFLAGS="-fPIC %optflags -fno-strict-aliasing"
LDFLAGS="-pie"
%configure --disable-static
make V=1 %{?_smp_mflags}
%meson
%meson_build
%install
make DESTDIR=%{buildroot} install INSTALL='install -p'
%meson_install
mkdir -p "%{buildroot}/%{develdocdir}"
cp -pr docs/graphics docs/*.html docs/babl.css "%{buildroot}/%{develdocdir}"
rm -rf "%{buildroot}/%{develdocdir}"/graphics/Makefile*
rm -f "%{buildroot}/%{develdocdir}"/graphics/meson.build
rm -f "%{buildroot}/%{develdocdir}"/graphics/.gitignore
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
%check
# skip tests known to be problematic in a specific version
@ -99,28 +101,101 @@ EOF
done
popd
%endif
make check
%meson_test
%ldconfig_scriptlets
%files
%doc AUTHORS COPYING README NEWS
%{_libdir}/*.so.*
%license docs/COPYING*
%doc AUTHORS NEWS
%{_libdir}/libbabl-%{apiver}.so.0*
%{_libdir}/babl-%{apiver}/
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/Babl-%{apiver}.typelib
%files devel
%{_includedir}/babl-%{apiver}/
%{_libdir}/*.so
%{_libdir}/libbabl-%{apiver}.so
%{_libdir}/pkgconfig/%{name}.pc
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/Babl-%{apiver}.gir
%{_datadir}/vala/
%files devel-docs
%doc %{develdocdir}
%changelog
* Tue Jul 25 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 0.1.52-1
- Rebuilt for MSVSphere 8.8
* Wed Jul 20 2022 Josef Ridky <jridky@redhat.com> - 0.1.86-4
- fix FTBFS by adding openssh-clients into BuildRequires (#2105618)
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.1.86-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 0.1.86-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* 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
* Fri Oct 16 2020 Kalev Lember <klember@redhat.com> - 0.1.82-1
- Update to 0.1.82
- Tighten soname globs
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.78-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jun 15 2020 Josef Ridky <jridky@redhat.com> - 0.1.78-1
- New upstream release 0.1.78
* 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
* Tue Nov 05 2019 Nils Philippsen <nils@tiptoe.de> - 0.1.72-2
- BR: librsvg2-tools for rsvg-convert
- mark license files as %%license
- use %%apiver macro consistently
- don't ship .gitignore file
* 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
* Wed Jun 12 2019 Kalev Lember <klember@redhat.com> - 0.1.66-1
- version 0.1.66
* 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
* Sun Nov 11 2018 Nils Philippsen <nils@tiptoe.de> - 0.1.60-1
- version 0.1.60
* Fri Nov 09 2018 Nils Philippsen <nils@tiptoe.de> - 0.1.58-1
- version 0.1.58
* Mon Aug 20 2018 Nils Philippsen <nils@tiptoe.de> - 0.1.56-2
- skip problematic tests also on new version
* 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
* Thu Jul 05 2018 Nils Philippsen <nils@tiptoe.de> - 0.1.51-1
* Thu Jul 05 2018 Nils Philippsen <nils@tiptoe.de> - 0.1.52-1
- version 0.1.52
* Mon May 21 2018 Nils Philippsen <nils@tiptoe.de> - 0.1.50-3

Loading…
Cancel
Save