Author: leafnode                     Date: Fri Mar 17 10:05:11 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- import

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

---- Diffs:

================================================================
Index: SPECS/python-PalmDB.spec
diff -u /dev/null SPECS/python-PalmDB.spec:1.1
--- /dev/null   Fri Mar 17 11:05:11 2006
+++ SPECS/python-PalmDB.spec    Fri Mar 17 11:05:05 2006
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+
+%define                module  PalmDB
+
+Summary:       Pure Python library to read/write/modify Palm PDB and PRC 
format databases
+Name:          python-%{module}
+Version:       1.4.1
+Release:       1
+License:       GNU
+Group:         Development/Languages/Python
+Source0:       http://dl.sourceforge.net/pythonpalmdb/%{module}-%{version}.zip
+# Source0-md5: c7414dcef1b5b24e79da97ce883aa44b
+URL:           http://id3-py.sourceforge.net/
+BuildRequires: python
+BuildRequires: python-devel >= 1:2.3
+%pyrequires_eq python-modules
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module allows access to Palm OS(tm) database files on the desktop
+in pure Python. It is as simple as possible without (hopefully) being
+too simple. As much as possible Python idioms have been used to make
+it easier to use and more versatile.
+
+This code is based on code from the Pyrite Project, available I believe
+from SourceForge. However the code has been modified so extensively it's
+hardly recognizable. But without the Pyrite code, PalmDB would not be here
+today.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+CFLAGS="%{rpmcflags}"
+export CFLAGS
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{py_sitedir}
+
+python setup.py install \
+       --root=$RPM_BUILD_ROOT \
+       --optimize=2
+
+rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt
+%{py_sitescriptdir}/*.py[co]
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/03/17 10:05:05  leafnode
+- import
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to