python-eyeD3/python-eyeD3.spec

63 lines
1.8 KiB
RPMSpec
Raw Normal View History

Name: python-eyeD3
Version: 0.6.18
Release: 2mamba
Summary: Python Module for ID3 Tag Manipulation
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://eyed3.nicfit.net/
Source: http://eyed3.nicfit.net/releases/eyeD3-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
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
%setup -q -n eyeD3-%{version}
%build
%configure
%{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
%{__install} -Dp -m755 bin/eyeD3 %{buildroot}%{_bindir}/eyeD3
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%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
%changelog
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.18-2mamba
- python 2.7 mass rebuild
* Thu Dec 22 2011 Automatic Build System <autodist@mambasoft.it> 0.6.18-1mamba
- automatic version update by autodist
* Mon Mar 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.17-1mamba
- automatic update by autodist
* Thu Jul 24 2008 gil <puntogil@libero.it> 0.6.16-1mamba
- package created by autospec