From 652705e2f28c4e6a5cacec02e8121a0dfc80bd78 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:28:43 +0100 Subject: [PATCH] python 2.7 mass rebuild [release 1.19-2mamba;Fri May 17 2013] --- README.md | 2 ++ python-mutagen.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 python-mutagen.spec diff --git a/README.md b/README.md index ca98233..03f75c0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-mutagen +Read and write audio tags for many formats. + diff --git a/python-mutagen.spec b/python-mutagen.spec new file mode 100644 index 0000000..c323a03 --- /dev/null +++ b/python-mutagen.spec @@ -0,0 +1,49 @@ +Name: python-mutagen +Version: 1.19 +Release: 2mamba +Summary: Read and write audio tags for many formats +Group: System/Libraries/Python +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://code.google.com/p/mutagen/ +Source: http://mutagen.googlecode.com/files/mutagen-%{version}.tar.gz +License: GNU GPL v2 +Requires: python >= %python_version +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Read and write audio tags for many formats. + +%prep +%setup -q -n mutagen-%{version} + +%build +%{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.filelist +%defattr(-,root,root) + +%changelog +* Fri May 17 2013 Silvan Calarco 1.19-2mamba +- python 2.7 mass rebuild + +* Thu Jun 03 2010 Silvan Calarco 1.19-1mamba +- package created by autospec