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