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