SPECS: python-pyx.spec (NEW) - Version 0.8.1-0.1. NFY but should w...

matkor matkor at pld-linux.org
Thu Sep 1 16:42:14 CEST 2005


Author: matkor                       Date: Thu Sep  1 14:42:14 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Version 0.8.1-0.1. NFY but should work.

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

---- Diffs:

================================================================
Index: SPECS/python-pyx.spec
diff -u /dev/null SPECS/python-pyx.spec:1.1
--- /dev/null	Thu Sep  1 16:42:14 2005
+++ SPECS/python-pyx.spec	Thu Sep  1 16:42:09 2005
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+%define 	module	pyx
+Summary:	Python package for the creation of PostScript and PDF files
+Summary(pl):	TODO
+Name:		python-%{module}
+Version:	0.8.1
+Release:	0.1
+License:	GPL
+Group:		Libraries/Python
+Source0:	http://dl.sourceforge.net/pyx/PyX-%{version}.tar.gz
+URL:		http://pyx.sourceforge.net/
+%pyrequires_eq	python-modules
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PyX is a Python package for the creation of PostScript and PDF files.
+It combines an abstraction of the PostScript drawing model with a
+TeX/LaTeX interface. Complex tasks like 2d and 3d plots in
+publication-ready quality are built out of these primitives.
+
+%description -l pl
+TODO
+
+
+%prep
+%setup -q -n PyX-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT%{py_scriptdir} -type f -name "*.py" | xargs rm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README
+# %dir %{py_sitedir}/%{module}
+%{py_sitescriptdir}/%{module}
+%{_datadir}/%{module}/*.lfs
+%{_datadir}/%{module}/pyx.def
+
+#%attr(755,root,root) %{py_sitedir}/%{module}/*.so
+#%{py_sitedir}/%{module}/*.py[co]
+%{_sysconfdir}/pyxrc
+
+
+%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  2005/09/01 14:42:09  matkor
+- Version 0.8.1-0.1. NFY but should work.
+
================================================================



More information about the pld-cvs-commit mailing list