!20 [sync] PR-16: update to 0.1.112 for gimp 3.0
From: @openeuler-sync-bot Reviewed-by: @wk333 Signed-off-by: @wk333
This commit is contained in:
commit
8832c66867
Binary file not shown.
BIN
babl-0.1.112.tar.xz
Normal file
BIN
babl-0.1.112.tar.xz
Normal file
Binary file not shown.
59
babl.spec
59
babl.spec
@ -1,40 +1,26 @@
|
||||
Name: babl
|
||||
Version: 0.1.106
|
||||
Version: 0.1.112
|
||||
Release: 1
|
||||
Summary: Dynamic Pixel Format Translation Library
|
||||
License: LGPL-3.0-or-later AND GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: http://gegl.org/babl/
|
||||
URL: https://gegl.org/babl/
|
||||
|
||||
Source0: https://download.gimp.org/pub/babl/0.1/%{name}-%{version}.tar.xz
|
||||
Source99: baselibs.conf
|
||||
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: meson >= 0.55.0
|
||||
BuildRequires: vala
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: pkgconfig(lcms2)
|
||||
BuildRequires: pkgconfig(vapigen)
|
||||
|
||||
%define vala_version %(rpm -q --queryformat='%%{VERSION}' vala | sed 's/\.[0-9]*$//g')
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.32.0
|
||||
BuildRequires: pkgconfig(lcms2) >= 2.8
|
||||
BuildRequires: pkgconfig(vapigen) >= 0.20.0
|
||||
|
||||
%description
|
||||
babl is a dynamic, any to any, pixel format translation library.
|
||||
|
||||
%package -n typelib-1_0-Babl-0_1
|
||||
Summary: Introspection bindings for babl
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n typelib-1_0-Babl-0_1
|
||||
babl is a dynamic, any to any, pixel format translation library.
|
||||
|
||||
This package provides the GObject Introspection bindings for babl.
|
||||
|
||||
%package devel
|
||||
Summary: Dynamic Pixel Format Translation Library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: glibc-devel
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
babl is a dynamic, any to any, pixel format translation library.
|
||||
@ -50,34 +36,19 @@ babl is a dynamic, any to any, pixel format translation library.
|
||||
|
||||
This package provides Vala bindings for babl.
|
||||
|
||||
%check
|
||||
cd tests
|
||||
for problematic in %nil; do
|
||||
rm -f "$problematic"
|
||||
cat << EOF > "$problematic"
|
||||
#!/bin/sh
|
||||
echo Skipping test "$problematic"
|
||||
EOF
|
||||
chmod +x "$problematic"
|
||||
done
|
||||
cd -
|
||||
%meson_test
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
sed "s,@BABL_GIT_VERSION@,%{version},g" git-version.h.in > git-version.h
|
||||
%meson -Dwith-docs=false \
|
||||
%meson -Dwith-docs=false -Dgi-docgen=disabled \
|
||||
%{nil}
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
mv %{buildroot}%{_datadir}/vala %{buildroot}%{_datadir}/vala-%{vala_version}
|
||||
|
||||
%post -n %{name} -p /sbin/ldconfig
|
||||
%postun -n %{name} -p /sbin/ldconfig
|
||||
%check
|
||||
%meson_test
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
@ -95,10 +66,16 @@ mv %{buildroot}%{_datadir}/vala %{buildroot}%{_datadir}/vala-%{vala_version}
|
||||
%{_datadir}/gir-1.0/Babl-0.1.gir
|
||||
|
||||
%files vala
|
||||
%{_datadir}/vala-%{vala_version}/vapi/babl-0.1.deps
|
||||
%{_datadir}/vala-%{vala_version}/vapi/babl-0.1.vapi
|
||||
%{_datadir}/vala/vapi/babl-0.1.deps
|
||||
%{_datadir}/vala/vapi/babl-0.1.vapi
|
||||
|
||||
%changelog
|
||||
* Mon Mar 17 2025 Funda Wang <fundawang@yeah.net> - 0.1.112-1
|
||||
- update to 0.1.112
|
||||
|
||||
* Mon Oct 28 2024 Funda Wang <fundawang@yeah.net> - 0.1.110-1
|
||||
- update to 0.1.110
|
||||
|
||||
* Wed Oct 18 2023 xu_ping <707078654@qq.com> - 0.1.106-1
|
||||
- Upgrade version to 0.1.106
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
version_control: gitlab.gnome
|
||||
src_repo: babl
|
||||
tag_prefix: ^BABL_
|
||||
seperator: _
|
||||
separator: _
|
||||
|
||||
@ -1 +0,0 @@
|
||||
libbabl-0_1-0
|
||||
Loading…
x
Reference in New Issue
Block a user