remove requirement for python-gimp [release 2.10.32-2mamba;Tue Sep 06 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 23:01:10 +01:00
parent aeedcd72b2
commit 6afacb6f29

View File

@ -5,14 +5,14 @@
%define majversion %(echo %version | cut -d. -f 1-2)
%define api_version 2.0
%define enable_python 1
%define enable_python 0
%define libname libgimp
Name: gimp
Epoch: 1
Version: 2.10.30
Release: 1mamba
Version: 2.10.32
Release: 2mamba
Summary: The GNU Image Manipulation Program
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
@ -57,6 +57,7 @@ BuildRequires: libgs-devel
BuildRequires: libgtk2-devel
BuildRequires: libgudev-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libheif-devel
BuildRequires: libimath-devel
BuildRequires: libjpeg-devel
BuildRequires: libjson-c-devel
@ -75,7 +76,9 @@ BuildRequires: libsoup2-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libunwind-devel
%ifnarch aarch64
BuildRequires: libwebkit-gtk-devel
%endif
BuildRequires: libwebp-devel
BuildRequires: libwmf-devel
BuildRequires: libz-devel
@ -107,7 +110,11 @@ BuildRequires: intltool >= 0.40.1
BuildRequires: mypaint-brushes1
Requires: mypaint-brushes1
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
%if %{enable_python}
Requires: python-gimp = %{?epoch:%epoch:}%{version}-%{release}
%else
Obsoletes: python-gimp < 1:2.10.32-1mamba
%endif
#Requires: gimp-print >= 4.2.5
Requires: libtiff >= 3.5.7
Requires: dbus-tools
@ -208,9 +215,9 @@ export LDFLAGS="-lm"
%configure \
--enable-gimp-console \
--with-bug-report-url=https://openmamba.org/ \
%if %enable_python
%if %{?enable_python}
--enable-python=yes \
PYTHON=python%{python_version} \
PYTHON=%{__python27} \
%else
--enable-python=no \
%endif
@ -276,7 +283,6 @@ export LDFLAGS="-lm"
%defattr(-,root,root)
%{_bindir}/gimptool-2.0
%{_datadir}/aclocal/*
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%dir %{_includedir}/gimp-%{api_version}
@ -294,7 +300,7 @@ export LDFLAGS="-lm"
%{_datadir}/gtk-doc/html/libgimpthumb/
%{_datadir}/gtk-doc/html/libgimpwidgets/
%if %{enable_python}
%if %{?enable_python}
%files -n python-%{name}
%defattr(-,root,root)
%{_libdir}/gimp/%{api_version}/environ/pygimp.env
@ -303,6 +309,12 @@ export LDFLAGS="-lm"
%endif
%changelog
* Tue Sep 06 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.32-2mamba
- remove requirement for python-gimp
* Thu Sep 01 2022 Automatic Build System <autodist@mambasoft.it> 2.10.32-1mamba
- automatic version update by autodist
* Mon Dec 20 2021 Automatic Build System <autodist@mambasoft.it> 2.10.30-1mamba
- automatic version update by autodist