python-eyeD3/python-eyeD3.spec

66 lines
1.8 KiB
RPMSpec

Name: python-eyeD3
Version: 0.9.5
Release: 1mamba
Summary: Python Module for ID3 Tag Manipulation
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@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.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n eyeD3-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
#%{__install} -Dp -m755 bin/eyeD3 %{buildroot}%{_bindir}/eyeD3
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %{?pyappend} -f %{name}.filelist
%defattr(-, root, root, 0755)
%doc LICENSE
%changelog
* Sat Jul 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.5-1mamba
- automatic update by autodist
* 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