]> git.pld-linux.org Git - packages/python-mutagen.git/blame - python-mutagen.spec
- builds and works, rel. 1
[packages/python-mutagen.git] / python-mutagen.spec
CommitLineData
d279805c 1#
aa3ac0e1
AF
2%define module mutagen
3#
4Summary: Audio metadata reader/writer
5Name: python-%{module}
6Version: 1.1
d279805c 7Release: 1
aa3ac0e1
AF
8License: GPL v2
9Group: X11/Applications/Multimedia
10Source0: http://www.sacredchao.net/~piman/software/%{module}-%{version}.tar.gz
11# Source0-md5: 3c6d77bed3009e039459945613b05474
12URL: http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen
13BuildRequires: intltool
14BuildRequires: pkgconfig
15BuildRequires: python-devel
16%pyrequires_eq python-modules
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20Mutagen is an audio metadata tag reader and writer implemented in pure Python.
21It supports reading ID3v1.1, ID3v2.2, ID3v2.3, ID3v2.4, APEv2, and FLAC, and
22writing ID3v1.1, ID3v2.4, APEv2, and FLAC.
23
24%prep
25%setup -q -n %{module}-%{version}
26
27%build
d279805c 28python setup.py build
aa3ac0e1
AF
29
30%install
31rm -rf $RPM_BUILD_ROOT
32
d279805c 33python setup.py install \
34 --root=$RPM_BUILD_ROOT \
35 --optimize=2
aa3ac0e1 36
d279805c 37find $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module} -name '*.py' -exec rm -f {} \;
aa3ac0e1
AF
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
d279805c 42%files
aa3ac0e1 43%defattr(644,root,root,755)
d279805c 44%doc NEWS README TODO
45%{py_sitescriptdir}/%{module}
This page took 0.094889 seconds and 4 git commands to generate.