Update to 0.1.72
- Switch to meson build system - Build with gobject-introspection support
This commit is contained in:
parent
248c28d039
commit
f33912b148
1
.gitignore
vendored
1
.gitignore
vendored
@ -29,3 +29,4 @@ babl-0.1.2.tar.bz2
|
|||||||
/babl-0.1.60.tar.bz2
|
/babl-0.1.60.tar.bz2
|
||||||
/babl-0.1.62.tar.bz2
|
/babl-0.1.62.tar.bz2
|
||||||
/babl-0.1.66.tar.bz2
|
/babl-0.1.66.tar.bz2
|
||||||
|
/babl-0.1.72.tar.xz
|
||||||
|
41
babl.spec
41
babl.spec
@ -18,8 +18,8 @@
|
|||||||
|
|
||||||
Summary: A dynamic, any to any, pixel format conversion library
|
Summary: A dynamic, any to any, pixel format conversion library
|
||||||
Name: babl
|
Name: babl
|
||||||
Version: 0.1.66
|
Version: 0.1.72
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
# Compute some version related macros
|
# Compute some version related macros
|
||||||
# Ugly hack, you need to get your quoting backslashes/percent signs straight
|
# Ugly hack, you need to get your quoting backslashes/percent signs straight
|
||||||
@ -31,12 +31,13 @@ Release: 2%{?dist}
|
|||||||
# The gggl codes contained in this package are under the GPL, with exceptions allowing their use under libraries covered under the LGPL
|
# 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+
|
License: LGPLv3+ and GPLv3+
|
||||||
URL: http://www.gegl.org/babl/
|
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: pkgconfig(lcms2)
|
|
||||||
BuildRequires: automake, autoconf
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
BuildRequires: gobject-introspection-devel
|
||||||
|
BuildRequires: librsvg2
|
||||||
|
BuildRequires: meson
|
||||||
|
BuildRequires: pkgconfig(lcms2)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Babl is a dynamic, any to any, pixel format conversion library. It
|
Babl is a dynamic, any to any, pixel format conversion library. It
|
||||||
@ -73,22 +74,15 @@ This package contains documentation needed for developing with %{name}.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# use PIC/PIE because babl is likely to deal with data coming from untrusted
|
%meson
|
||||||
# sources
|
%meson_build
|
||||||
CFLAGS="-fPIC %optflags -fno-strict-aliasing"
|
|
||||||
LDFLAGS="-pie"
|
|
||||||
%configure --disable-static
|
|
||||||
|
|
||||||
make V=1 %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install INSTALL='install -p'
|
%meson_install
|
||||||
|
|
||||||
mkdir -p "%{buildroot}/%{develdocdir}"
|
mkdir -p "%{buildroot}/%{develdocdir}"
|
||||||
cp -pr docs/graphics docs/*.html docs/babl.css "%{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
|
||||||
|
|
||||||
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# skip tests known to be problematic in a specific version
|
# skip tests known to be problematic in a specific version
|
||||||
@ -104,24 +98,33 @@ EOF
|
|||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
make check
|
%meson_test
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS COPYING README NEWS
|
%doc AUTHORS COPYING NEWS
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%{_libdir}/babl-%{apiver}/
|
%{_libdir}/babl-%{apiver}/
|
||||||
|
%dir %{_libdir}/girepository-1.0/
|
||||||
|
%{_libdir}/girepository-1.0/Babl-0.1.typelib
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/babl-%{apiver}/
|
%{_includedir}/babl-%{apiver}/
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
%dir %{_datadir}/gir-1.0/
|
||||||
|
%{_datadir}/gir-1.0/Babl-0.1.gir
|
||||||
|
|
||||||
%files devel-docs
|
%files devel-docs
|
||||||
%doc %{develdocdir}
|
%doc %{develdocdir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.66-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (babl-0.1.66.tar.bz2) = 41534eea6cad21eae704af3fdce4857e9dc2b0efa48a7cfd7f98b23428198e95fc9ca2f30e522abf2fa06e907eaf4f7bbafc048b356cb5890fabcb9be21001b3
|
SHA512 (babl-0.1.72.tar.xz) = 55425688467d565acecbe3657ed4191971fe70d0da0f69c348eec8a6db9807f3e27f5101cade2d886d017b5156e4ef56382df93f26cc335acb4ce33bbef23d6b
|
||||||
|
Loading…
Reference in New Issue
Block a user