]> git.pld-linux.org Git - packages/python-CDDB.git/blame - python-CDDB.spec
- release 9 (by relup.sh)
[packages/python-CDDB.git] / python-CDDB.spec
CommitLineData
97a96e8c 1%define module CDDB
ebeaabae 2
3Summary: Module for accessing CDDB and FreeDB
1f511c28 4Summary(pl.UTF-8): Moduł dostępu do baz CDDB i FreeDB
ebeaabae 5Name: python-%{module}
6Version: 1.4
455ff6a5 7Release: 9
d921765d 8License: GPL
1f511c28 9Group: Libraries/Python
ebeaabae 10Source0: http://cddb-py.sourceforge.net/%{module}-%{version}.tar.gz
11# Source0-md5: 254698082bafe3030d07d88fb7e13fe2
12URL: http://cddb-py.sourceforge.net/
e6420256
MB
13BuildRequires: python >= 1:2.5
14BuildRequires: python-devel >= 1:2.5
ebeaabae 15%pyrequires_eq python-modules
e6420256 16BuildRequires: rpm-pythonprov
4dbdf767 17BuildRequires: rpmbuild(macros) >= 1.710
ebeaabae 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21This is a set of three modules to access the CDDB and FreeDB online
22databases of audio CD track titles and information. It includes a C
23extension module to fetch track lengths under Linux, FreeBSD, OpenBSD,
24Mac OS X, Solaris, and Win32, which is easily ported to other
25operating systems.
26
c65f0579 27%description -l pl.UTF-8
1f511c28 28Jest to zestaw trzech modułów umożliwiających dostęp do baz CDDB i
29FreeDB w celu pobierania tytułów i informacji o ścieżkach płyt CD.
30Pakiet zawiera też moduł w C do wyciągania długości ścieżek, działający
d921765d 31pod Linuksem, FreeBSD, OpenBSD, MacOS X, Solarisem i Win32.
ebeaabae 32
33%prep
34%setup -q -n %{module}-%{version}
35
36%build
101f2214 37%py_build
ebeaabae 38
39%install
40rm -rf $RPM_BUILD_ROOT
d921765d
JB
41install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{name}-%{version}}
42
101f2214 43%py_install
ebeaabae 44
d921765d
JB
45install cddb-info.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
46
1f511c28 47%py_postclean
ebeaabae 48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
d921765d 54%doc README CHANGES
ebeaabae 55%{py_sitedir}/*.py[co]
e6420256 56%{py_sitedir}/CDDB-*.egg-info
d921765d
JB
57%attr(755,root,root) %{py_sitedir}/cdrom.so
58%{_examplesdir}/%{name}-%{version}
This page took 0.030129 seconds and 4 git commands to generate.