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