LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File python-PyID3.spec of Package python-PyID3 (Project home:etrash:Dropped)

#
# spec file for package python-id3 (Version 0.5.5)
#
# norootforbuild

%define modname PyID3
Name:		python-%{modname}
BuildRequires:	python-devel 
Version:	0.5.5
Release:	1
Summary:	Python package to handle reading and writing id3v2 and id3v1 tags
Group:		Development/Libraries/Python
License:	CNRI Python License
URL:		http://icepick.info/projects/pyid3/
Source0:	%{modname}-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%py_requires

Requires: python 

%description
python-pyid3 is a simple Python module for retrieving and setting so-called ID3 tags on MP3 compressed audio files. MP3 players generally use this simple information for display track title, artist name, and album title while playing the sound file.

pyid3 is a pure python library for reading and writing id3 tags (version 1.0, 1.1, 2.3, 2.4, readonly support for 2.2).

%prep
%setup -q -n %{modname}-%{version}

%build
export CFLAGS="$RPM_OPT_FLAGS" 
python setup.py build

%install
python setup.py install --root=$RPM_BUILD_ROOT \
                        --prefix=%{_prefix} \
                        --record=INSTALLED_FILES

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc README 
%{py_sitedir}/*

%changelog 
* Tue Nov 20 2007 - Claes Backstrom <claes.backstrom@fsfe.org>
- Changed rpm description.
* Fri Nov 16 2007 - Claes Backstrom <claes.backstrom@fsfe.org>
- Initial Package (version 0.5.5)