1 %include /usr/lib/rpm/macros.python
2 %define module pyvorbis
6 Summary: A Python module for the the Ogg/Vorbis library
7 Summary(pl): Modu³ pythona do biblioteki Ogg/Vorbis
8 Group: Libraries/Python
10 URL: http://www.andrewchatham.com/pyogg/
11 Source0: http://www.andrewchatham.com/pyogg/download/%{module}-%{version}.tar.gz
12 Requires: python-modules
14 Requires: python-pyogg
15 BuildRequires: python-devel
16 BuildRequires: libvorbis-devel
17 BuildRequires: python-pyogg-devel
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 pyvorbis is a wrapper for libvorbis, a compressed audio format library.
24 pyvorbis jest wrapperem dla biblioteki libvorbis, formatu skompresowanego.
27 Summary: pyogg header and example programs
28 Group: Development/Languages/Python
29 Requires: %{name} = %{version}
32 pyvorbis is a wrapper for libvorbis, a compressed audio format library.
34 Install python-pyvorbis-devel if you need the API documentation and example
37 %description devel -l pl
38 pyvorbis jest wrapperem dla biblioteki libvorbis, formatu skompresowanego.
40 Zainstaluj tê paczkê je¶li potrzebujesz dokumentacjê API oraz przyk³adowe
44 %setup -q -n %{module}-%{version}
47 python config_unix.py --prefix %{_prefix}
48 python setup.py config
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{py_incdir}/%{module}
54 python setup.py install --root $RPM_BUILD_ROOT
56 install -m644 src/*.h $RPM_BUILD_ROOT%{py_incdir}/%{module}
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
65 %doc AUTHORS ChangeLog README NEWS
68 %defattr(644,root,root,755)
69 %{py_incdir}/%{module}