add -py3 suffix and obsolete python-gst

remove obsolete build requirements [release 1.26.4-2mamba;Sun Jul 20 2025]
This commit is contained in:
2025-07-21 18:40:14 +02:00
parent 1336a9836d
commit a2693f316f

View File

@@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: python-gst
Version: 1.26.4
Release: 1mamba
Release: 2mamba
Summary: Python bindings for GStreamer
Group: Development/Languages
Vendor: openmamba
@@ -18,33 +18,22 @@ BuildRequires: libgstreamer-devel
BuildRequires: libpython3-devel
BuildRequires: libpython311-devel
## AUTOBUILDREQ-END
BuildRequires: gcc-c++
BuildRequires: xmlto
#BuildRequires:links2
BuildRequires: gst-plugins-base
BuildRequires: pygobject-devel
BuildRequires: pygtk-devel
Provides: gst-python
Obsoletes: gst-python < 1.22.1
Provides: python-gst-devel
Obsoletes: python-gst-devel < 1.22.1
%description
GStreamer is a library that allows the construction of graphs of media-handling components, ranging from simple Ogg/Vorbis playback to complex audio (mixing) and video (non-linear editing) processing.
Applications can take advantage of advances in codec and filter technology transparently.
Developers can add new codecs and filters by writing a simple plugin with a clean, generic interface.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
GStreamer is a library that allows the construction of graphs of media-handling components, ranging from simple Ogg/Vorbis playback to complex audio (mixing) and video (non-linear editing) processing.
Applications can take advantage of advances in codec and filter technology transparently.
Developers can add new codecs and filters by writing a simple plugin with a clean, generic interface.
This package contains static libraries needed for development.
%if 0%{?with_pyver}
%define py_requires_append \
Obsoletes: python-gst <= 1.26.4-1mamba \
Provides: gst-python \
Obsoletes: gst-python < 1.22.1 \
Provides: python-gst-devel \
Obsoletes: python-gst-devel < 1.22.1
%pyver_package
%endif
%prep
%setup -q -n gst-python-%{version}
@@ -61,8 +50,7 @@ This package contains static libraries needed for development.
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%files %{?pyappend}
%defattr(-,root,root)
%dir %{python3_sitearch}/gi/overrides/
%{python3_sitearch}/gi/overrides/*
@@ -70,6 +58,10 @@ This package contains static libraries needed for development.
%doc COPYING
%changelog
* Sun Jul 20 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26.4-2mamba
- add -py3 suffix and obsolete python-gst
- remove obsolete build requirements
* Fri Jul 18 2025 Automatic Build System <autodist@openmamba.org> 1.26.4-1mamba
- automatic version update by autodist