]> git.pld-linux.org Git - packages/python-CDDB.git/blame - python-CDDB.spec
- converted to UTF-8
[packages/python-CDDB.git] / python-CDDB.spec
CommitLineData
97a96e8c 1%define module CDDB
ebeaabae 2
3Summary: Module for accessing CDDB and FreeDB
c65f0579 4Summary(pl.UTF-8): Moduł do łączenia z bazami CDDB i FreeDB
ebeaabae 5Name: python-%{module}
6Version: 1.4
bdc7d624 7Release: 5
d921765d 8License: GPL
ebeaabae 9Group: Development/Languages/Python
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
ebeaabae 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20This is a set of three modules to access the CDDB and FreeDB online
21databases of audio CD track titles and information. It includes a C
22extension module to fetch track lengths under Linux, FreeBSD, OpenBSD,
23Mac OS X, Solaris, and Win32, which is easily ported to other
24operating systems.
25
c65f0579
JR
26%description -l pl.UTF-8
27Jest to zestaw trzech modułów umożliwiających połączenie z bazami CDDB
28i FreeDB w celu pobierania tytułów i informacji o ścieżkach płyt CD.
29Pakiet zawiera też moduł w C do wyciągania długości ścieżek działający
d921765d 30pod Linuksem, FreeBSD, OpenBSD, MacOS X, Solarisem i Win32.
ebeaabae 31
32%prep
33%setup -q -n %{module}-%{version}
34
35%build
36CFLAGS="%{rpmcflags}"
8db8f7a2 37export CFLAGS
ebeaabae 38python setup.py build
39
40%install
41rm -rf $RPM_BUILD_ROOT
d921765d
JB
42install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{name}-%{version}}
43
ebeaabae 44python setup.py install \
39a32b86 45 --root=$RPM_BUILD_ROOT \
46 --optimize=2
ebeaabae 47
d921765d
JB
48install cddb-info.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
49
ebeaabae 50rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.py
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
d921765d 57%doc README CHANGES
ebeaabae 58%{py_sitedir}/*.py[co]
e6420256 59%{py_sitedir}/CDDB-*.egg-info
d921765d
JB
60%attr(755,root,root) %{py_sitedir}/cdrom.so
61%{_examplesdir}/%{name}-%{version}
This page took 0.065542 seconds and 4 git commands to generate.