Sophie

Sophie

distrib > Mandriva > cooker > x86_64 > by-pkgid > 82684600dfb3cba43fd0e4317d44fba7 > files > 1

python-tagpy-0.94.8-2.src.rpm

%define shortname tagpy

Summary:	Python bindings for TagLib to read and write music files tags
Name:		python-tagpy
Version:	0.94.8
Release:	%{mkrel 2}
License:	MIT
Group:		Development/Python
URL:		http://pypi.python.org/pypi/tagpy
Source0:	http://pypi.python.org/packages/source/t/tagpy/tagpy-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
%{py_requires -d}
BuildRequires:	python-setuptools
BuildRequires:	taglib-devel
BuildRequires:	boost-devel

%description
TagPy is a Python crust (or a set of Python bindings) for TagLib, which allows
to read and write ID3 tags of version 1 and 2, access Xiph Comments in Ogg
Vorbis Files and Ogg Flac Files and access APE tags in Musepack and MP3 files.

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

%build
./configure.py --boost-python-libname=boost_python-mt
CFLAGS="%{optflags} -I%{_includedir}/taglib" %{__python} setup.py build

%install
%{__rm} -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc LICENSE README test/*.py test/tagrename
%{py_platsitedir}/%{shortname}/
%{py_platsitedir}/_%{shortname}.so
%{py_platsitedir}/%{shortname}-%{version}-py%{pyver}.egg-info


%changelog
* Thu Mar 17 2011 Funda Wang <fwang@mandriva.org> 0.94.8-2mdv2011.0
+ Revision: 645717
- rebuild for new boost

  + Matthew Dawkins <mattydaw@mandriva.org>
    - removed poorly commented out patch

* Fri Nov 05 2010 Eugeni Dodonov <eugeni@mandriva.com> 0.94.8-1mdv2011.0
+ Revision: 593704
- Updated to 0.94.8.
- Rebuild for new python.

* Tue Aug 24 2010 Funda Wang <fwang@mandriva.org> 0.94.7-1mdv2011.0
+ Revision: 572592
- New version 0.94.7

* Tue Aug 24 2010 Funda Wang <fwang@mandriva.org> 0.94.5-6mdv2011.0
+ Revision: 572550
- rebuild for new boost

* Mon Feb 08 2010 Anssi Hannula <anssi@mandriva.org> 0.94.5-5mdv2011.0
+ Revision: 501882
- rebuild for new boost

* Fri Aug 21 2009 Götz Waschk <waschk@mandriva.org> 0.94.5-4mdv2010.0
+ Revision: 418917
- rebuild

* Wed Dec 31 2008 Adam Williamson <awilliamson@mandriva.org> 0.94.5-3mdv2009.1
+ Revision: 321615
- fix python requires
- rebuild for python 2.6
- fix file list for differing python versions

* Mon Dec 22 2008 Funda Wang <fwang@mandriva.org> 0.94.5-2mdv2009.1
+ Revision: 317403
- rebuild for new boost

* Sun Dec 14 2008 Adam Williamson <awilliamson@mandriva.org> 0.94.5-1mdv2009.1
+ Revision: 314071
- rebuild for new(ish) boost
- jump through a couple of hoops with the new configure script and taglib's
  header location
- rediff baz.patch (file was moved)
- new release 0.94.5

  + Thierry Vignaud <tv@mandriva.org>
    - rebuild
    - rebuild
    - kill re-definition of %%buildroot on Pixel's request

  + Erwan Velu <erwan@mandriva.org>
    - Rebuild

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Fri Nov 23 2007 Jérôme Soyer <saispo@mandriva.org> 0.91-1mdv2008.1
+ Revision: 111580
- import python-tagpy