50 lines
1.3 KiB
RPMSpec
50 lines
1.3 KiB
RPMSpec
|
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 <silvan.calarco@mambasoft.it>
|
||
|
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 <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
|