SPECS: python-adodb.spec (NEW) - initial

twittner twittner at pld-linux.org
Thu Dec 27 22:24:16 CET 2007


Author: twittner                     Date: Thu Dec 27 21:24:16 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

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

---- Diffs:

================================================================
Index: SPECS/python-adodb.spec
diff -u /dev/null SPECS/python-adodb.spec:1.1
--- /dev/null	Thu Dec 27 22:24:16 2007
+++ SPECS/python-adodb.spec	Thu Dec 27 22:24:11 2007
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+%define		module	adodb
+%define		ver	%(echo %{version} | tr -d . )
+%define		postrel	b
+#
+Summary:	The python version of ADOdb database library
+#Summary(pl.UTF-8):	-
+Name:		python-%{module}
+Version:	2.02
+Release:	%{postrel}.0.1
+License:	BSD-like
+Group:		Development/Languages/Python
+Source0:	http://dl.sourceforge.net/adodb/%{module}-py%{ver}%{postrel}.zip
+# Source0-md5:	7b74550f68dcbd4e275ab2f1dda2c485
+Patch0:		%{name}-setup.patch
+URL:		http://phplens.com/lens/adodb/adodb-py-docs.htm
+BuildRequires:	python-modules
+BuildRequires:	rpmbuild(macros) >= 1.219
+BuildRequires:	unzip
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ADOdb is a database abstraction library (modelled on Microsoft's
+database API's). ADOdb was originally developed for PHP, and ported to
+Python. The Python version implements a subset of the PHP version.
+
+#%description -l pl.UTF-8
+
+%prep
+%setup -q -n %{module}-%{ver}
+%patch0 -p1
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python} setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE.txt adodb-py-docs.htm
+%dir %{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}/*.py[co]
+%{py_sitescriptdir}/adodb-2.02b-py2.5.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-27 21:24:11  twittner
+- initial
+
+
================================================================


More information about the pld-cvs-commit mailing list