SPECS: python-spark.spec (NEW) - based on python-psycopg2.spec

wrobell wrobell at pld-linux.org
Mon Jul 31 19:44:13 CEST 2006


Author: wrobell                      Date: Mon Jul 31 17:44:13 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- based on python-psycopg2.spec

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

---- Diffs:

================================================================
Index: SPECS/python-spark.spec
diff -u /dev/null SPECS/python-spark.spec:1.1
--- /dev/null	Mon Jul 31 19:44:13 2006
+++ SPECS/python-spark.spec	Mon Jul 31 19:44:08 2006
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+
+%define 	module	spark
+
+Summary:	Scanning, Parsing, and Rewriting Kit
+Name:		python-%{module}
+Version:	0.6.1
+Release:	1
+License:	GPL
+Group:		Libraries/Python
+Source0:	http://pages.cpsc.ucalgary.ca/~aycock/spark/%{module}-%{version}.tar.gz
+# Source0-md5:	6c056b261782c51f53ceccbf86c08749
+#Patch0:		%{name}-lib64.patch
+URL:		http://pages.cpsc.ucalgary.ca/~aycock/spark/
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+SPARK stands for the Scanning, Parsing, and Rewriting Kit. It formerly had
+no name, and was referred to as the "little language framework."
+
+%prep
+%setup -q	-n %{module}-%{version}
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
+install spark.py $RPM_BUILD_ROOT%{py_sitescriptdir}
+
+# kill links to spark module
+find examples -name spark.py
+
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc/* examples
+%{py_sitescriptdir}/spark.py[co]
+
+%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  2006/07/31 17:44:08  wrobell
+- based on python-psycopg2.spec
+
================================================================


More information about the pld-cvs-commit mailing list