SPECS: template-python.spec (NEW) - template for python
glen
glen at pld-linux.org
Sun Jan 6 17:48:18 CET 2008
Author: glen Date: Sun Jan 6 16:48:18 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- template for python
---- Files affected:
SPECS:
template-python.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/template-python.spec
diff -u /dev/null SPECS/template-python.spec:1.1
--- /dev/null Sun Jan 6 17:48:18 2008
+++ SPECS/template-python.spec Sun Jan 6 17:48:13 2008
@@ -0,0 +1,49 @@
+# $Revision$, $Date$
+Summary: -
+Summary(pl.UTF-8): -
+Name: template
+Version: _
+Release: 0.1
+License: - (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here)
+Group: Development/Languages/Python
+Source0: %{name}-%{version}.tar.gz
+# Source0-md5: -
+#Source1: -
+# Source1-md5: -
+#Patch0: %{name}-DESTDIR.patch
+URL: -
+%pyrequires_eq python-modules
+#BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%prep
+%setup -q
+
+%build
+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 CREDITS ChangeLog NEWS README THANKS TODO
+
+%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-06 16:48:13 glen
+- template for python
+
================================================================
More information about the pld-cvs-commit
mailing list