SPECS: pysql.spec (NEW) - initial revision

baggins baggins at pld-linux.org
Thu Dec 20 19:39:22 CET 2007


Author: baggins                      Date: Thu Dec 20 18:39:22 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial revision

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

---- Diffs:

================================================================
Index: SPECS/pysql.spec
diff -u /dev/null SPECS/pysql.spec:1.1
--- /dev/null	Thu Dec 20 19:39:22 2007
+++ SPECS/pysql.spec	Thu Dec 20 19:39:17 2007
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+Summary:	A full (and much more) replacement for sqlplus
+Name:		pysql
+Version:	0.11
+Release:	1
+License:	GPL v2
+Group:		Applications/Databases
+Source0:	http://dl.sourceforge.net/pysql/%{name}-%{version}.tar.gz
+# Source0-md5:	35a3afa6c383dac8d9a8a4229b2da06b
+URL:		http://pysql.sourceforge.net/
+Requires:	python-cx_Oracle
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PySQL aim to be a full (and much more) replacement for sqlplus.
+This projet start the 17th of august 2006. It is also a cool
+pretext for coding in Python ;-) Some ideas behind PySQL :
+
+* really usable and not painfull (history, completion, line edition...)
+* high level function often used (search for tables, indexes, count,
+  explain plan, list of sessions...)
+* proper output for screen and file (csv ready for inclusion in spreadsheets)
+* user defined macro ?
+
+%prep
+%setup -q
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+%py_postclean
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc ChangeLog* README
+%attr(755,root,root) %{_bindir}/*
+%{py_sitescriptdir}/%{name}/*.py[co]
+%{py_sitescriptdir}/*.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  2007-12-20 18:39:17  baggins
+- initial revision
+
================================================================


More information about the pld-cvs-commit mailing list