File python-eyeD3.spec of Package python-eyeD3

#
# spec file for package python-eyeD3 (Version 0.6.17)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           python-eyeD3
BuildRequires:  python-devel
Summary:        Python Module for ID3 Tag Manipulation
Version:        0.6.17
Release:        2
Source0:        eyeD3-%{version}.tar.bz2
License:        GPL v2 or later
Group:          Productivity/Multimedia/Sound/Utilities
Url:            http://eyed3.nicfit.net/
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch:      noarch
%endif

%description
A Python module for the the manipulation of ID3 tags. It supports the
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.



Authors:
--------
    Travis Shirk <travis@pobox.com>
    Ryan Finnie <ryan@finnie.org>

%prep
%setup -n eyeD3-%{version}

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

%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
install -d -m755 $RPM_BUILD_ROOT/%{_bindir}
install -m755 bin/eyeD3 $RPM_BUILD_ROOT/%{_bindir}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc AUTHORS COPYING README ChangeLog NEWS README.html THANKS TODO
%{_bindir}/*

%changelog
openSUSE Build Service is sponsored by