From 7463b875b9e9039227550c6659a1ebab332f1b9e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:08:08 +0100 Subject: [PATCH] automatic update by autodist [release 0.9.5-1mamba;Sat Jul 18 2020] --- python-eyeD3.spec | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/python-eyeD3.spec b/python-eyeD3.spec index 5c38a79..222df75 100644 --- a/python-eyeD3.spec +++ b/python-eyeD3.spec @@ -1,11 +1,11 @@ Name: python-eyeD3 -Version: 0.6.18 -Release: 2mamba +Version: 0.9.5 +Release: 1mamba Summary: Python Module for ID3 Tag Manipulation Group: System/Libraries Vendor: openmamba Distribution: openmamba -Packager: Automatic Build System +Packager: Silvan Calarco URL: http://eyed3.nicfit.net/ Source: http://eyed3.nicfit.net/releases/eyeD3-%{version}.tar.gz License: GPL @@ -19,36 +19,39 @@ python-eyed3 is a python module for the manipulation of ID3 tags. It supports versions 1.0, 1.1, 2.3, and 2.4 of the ID3 standard. It can also retrieve information, such as length and bit rate, from an MP3 file. -%prep +%if 0%{?with_pyver} +%pyver_package +%endif +%prep %setup -q -n eyeD3-%{version} %build -%configure -%{__python} setup.py build +CFLAGS="%{optflags}" %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{python_inc} \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist -%{__install} -Dp -m755 bin/eyeD3 %{buildroot}%{_bindir}/eyeD3 +#%{__install} -Dp -m755 bin/eyeD3 %{buildroot}%{_bindir}/eyeD3 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files +%files %{?pyappend} -f %{name}.filelist %defattr(-, root, root, 0755) -%{_bindir}/eyeD3 -%dir %{python_sitearch}/eyeD3 -%{python_sitearch}/eyeD3/*.py -%{python_sitearch}/eyeD3/*.pyc -%{python_sitearch}/eyeD3/*.pyo -%{python_sitearch}/eyeD3-%{version}-py*.egg-info -%doc AUTHORS COPYING -# ChangeLog NEWS README README.html TODO +%doc LICENSE %changelog +* Sat Jul 18 2020 Silvan Calarco 0.9.5-1mamba +- automatic update by autodist + * Fri May 17 2013 Silvan Calarco 0.6.18-2mamba - python 2.7 mass rebuild