python-mutagen/python-mutagen.spec

62 lines
1.8 KiB
RPMSpec
Raw Normal View History

Name: python-mutagen
Version: 1.27
Release: 1mamba
Summary: Read and write audio tags for many formats
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://code.google.com/p/mutagen/
Source: https://pypi.python.org/packages/source/m/mutagen/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
* Sun Nov 30 2014 Automatic Build System <autodist@mambasoft.it> 1.27-1mamba
- automatic update by autodist
* Sat Nov 15 2014 Automatic Build System <autodist@mambasoft.it> 1.26-1mamba
- automatic version update by autodist
* Sun Oct 26 2014 Automatic Build System <autodist@mambasoft.it> 1.25.1-1mamba
- automatic version update by autodist
* Thu Oct 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.25-1mamba
- update to 1.25
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.19-2mamba
- python 2.7 mass rebuild
* Thu Jun 03 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.19-1mamba
- package created by autospec