]> git.pld-linux.org Git - packages/python-mad.git/commitdiff
- new spec
authorJacek Konieczny <jajcus@pld-linux.org>
Sun, 8 May 2005 17:06:43 +0000 (17:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-mad.spec -> 1.1

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

diff --git a/python-mad.spec b/python-mad.spec
new file mode 100644 (file)
index 0000000..0b13e64
--- /dev/null
@@ -0,0 +1,46 @@
+%define                module  mad
+Summary:       A Python module for the MPEG Audio Decoder library
+Name:          python-%{module}
+Version:       0.5.3
+Release:       0.1
+License:       GPL
+Group:         Libraries/Python
+#Source0Download: http://www.andrewchatham.com/pyogg/
+Source0:       http://spacepants.org/src/pymad/download/pymad-%{version}.tar.gz
+# Source0-md5: 45a4ecc4d0600661199e4040a81ea3fe
+URL:           http://spacepants.org/src/pymad/
+BuildRequires: libmad-devel
+BuildRequires: rpmbuild(macros) >= 1.174
+%pyrequires_eq python-modules
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+pymad is a Python module that allows Python programs to use the MPEG
+Audio Decoder library. pymad provides a high-level API, similar to the
+pyogg module, which makes reading PCM data from MPEG audio streams a
+piece of cake.
+
+%prep
+%setup -q -n pymad-%{version}
+
+%build
+python config_unix.py \
+       --prefix %{_prefix}
+python setup.py config
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+       --optimize=2 \
+       --root $RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README NEWS THANKS
+%doc test/*
+%attr(755,root,root) %{py_sitedir}/%{module}module.so
This page took 0.041736 seconds and 4 git commands to generate.