]> git.pld-linux.org Git - packages/python-pyvorbis.git/commitdiff
- based on python-pyogg and alt linux,
authordjrzulf <djrzulf@pld-linux.org>
Tue, 29 Apr 2003 23:52:21 +0000 (23:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-pyvorbis.spec -> 1.1

python-pyvorbis.spec [new file with mode: 0644]

diff --git a/python-pyvorbis.spec b/python-pyvorbis.spec
new file mode 100644 (file)
index 0000000..0303a6e
--- /dev/null
@@ -0,0 +1,70 @@
+%include        /usr/lib/rpm/macros.python
+%define                module pyvorbis
+Name:          python-%{module}
+Version:       1.2
+Release:       1
+Summary:       A Python module for the the Ogg/Vorbis library
+Summary(pl):   Modu³ pythona do biblioteki Ogg/Vorbis
+Group:         Libraries/Python
+License:       GPL
+URL:           http://www.andrewchatham.com/pyogg/
+Source0:       http://www.andrewchatham.com/pyogg/download/%{module}-%{version}.tar.gz
+Requires:      python-modules
+Requires:      libvorbis
+Requires:      python-pyogg
+BuildRequires: python-devel
+BuildRequires: libvorbis-devel
+BuildRequires: python-pyogg-devel
+BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+pyvorbis is a wrapper for libvorbis, a compressed audio format library.
+
+%description -l pl
+pyvorbis jest wrapperem dla biblioteki libvorbis, formatu skompresowanego.
+
+%package devel
+Summary:       pyogg header and example programs
+Group:         Development/Languages/Python
+Requires:      %{name} = %{version}
+
+%description devel
+pyvorbis is a wrapper for libvorbis, a compressed audio format library.
+
+Install python-pyvorbis-devel if you need the API documentation and example
+programs.
+
+%description devel -l pl
+pyvorbis jest wrapperem dla biblioteki libvorbis, formatu skompresowanego.
+
+Zainstaluj tê paczkê je¶li potrzebujesz dokumentacjê API oraz przyk³adowe
+programy.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+python config_unix.py --prefix %{_prefix}
+python setup.py config
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{py_incdir}/%{module}
+python setup.py install --root $RPM_BUILD_ROOT
+
+install -m644 src/*.h $RPM_BUILD_ROOT%{py_incdir}/%{module} 
+chmod -x test/*
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitedir}/ogg
+%doc AUTHORS ChangeLog README NEWS
+
+%files devel
+%defattr(644,root,root,755)
+%{py_incdir}/%{module}
+%doc test/*
This page took 0.106384 seconds and 4 git commands to generate.