SPECS: python-pymad.spec (NEW) - new spec file

lisu lisu at pld-linux.org
Fri Jan 11 23:28:23 CET 2008


Author: lisu                         Date: Fri Jan 11 22:28:23 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new spec file

---- Files affected:
SPECS:
   python-pymad.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-pymad.spec
diff -u /dev/null SPECS/python-pymad.spec:1.1
--- /dev/null	Fri Jan 11 23:28:23 2008
+++ SPECS/python-pymad.spec	Fri Jan 11 23:28:18 2008
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+#
+%define module  pymad
+#
+Summary:	A Python module for the MPEG Audio Decoder library
+Summary(pl.UTF-8):	Moduł Pythona do obsługi biblioteki MPEG Audio Decoder
+Name:		python-%{module}
+Version:	0.6
+Release:	1
+License:	GPL v2+
+Group:		Libraries/Python
+Source0:	http://spacepants.org/src/pymad/download/%{module}-%{version}.tar.gz
+# Source0-md5:	a1405fb4b610348565c8d0e400c5ff18
+URL:		http://spacepants.org/src/pymad/
+BuildRequires:	libmad-devel
+BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
+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.
+
+%description -l pl.UTF-8
+pymad jest modułem Pythona, umożliwiającym programom napisanym w
+Pythonie używać biblioteki MPEG Audio Decoder.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} config_unix.py && %{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python} setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README THANKS
+%attr(755,root,root) %{py_sitedir}/*.so
+%{py_sitedir}/pymad-*.egg-info
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-01-11 22:28:18  lisu
+- new spec file
+
================================================================


More information about the pld-cvs-commit mailing list