Author: matkor                       Date: Fri Feb 18 11:03:39 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Added SQLite 2/3 drivers
- Added python module.
- Reduced TODO (Mostly cosmetics left).
- Release 2. STBR for Ac, and STBR knoda.spec next.

---- Files affected:
SPECS:
   hk_classes.spec (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: SPECS/hk_classes.spec
diff -u SPECS/hk_classes.spec:1.32 SPECS/hk_classes.spec:1.33
--- SPECS/hk_classes.spec:1.32  Wed Feb 16 13:31:53 2005
+++ SPECS/hk_classes.spec       Fri Feb 18 12:03:34 2005
@@ -1,13 +1,13 @@
 # $Revision$, $Date$
-# TODO: Fix sqlite drivers to build to /usr/lib/hk_classes/drivers/ and then 
enable
-# TODO: Add python package 
+# TODO: Make python build *.pyo also and include it instead of *.py
 # TODO: patch3 should be rewritten to search for .pyc and .py not only .pyc 
and sent back
+# TODO: Join dir.patch and dir2.patch
 
 Summary:       Non-visual routines for database frontend applications
 Summary(pl):   Niegraficzne funkcje dla aplikacji będących frontendami do baz 
danych
 Name:          hk_classes
 Version:       0.7.2
-Release:       1
+Release:       2
 License:       GPL
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/hk-classes/%{name}-%{version}.tar.bz2
@@ -16,6 +16,7 @@
 Patch1:                %{name}-link.patch
 Patch2:                %{name}-iconv-in-libc.patch
 Patch3:                %{name}-PLD-search-for-pyc-and-in-usr-share.patch
+Patch4:                %{name}-dir2.patch
 
 URL:           http://hk-classes.sourceforge.net/
 BuildRequires: autoconf >= 2.56
@@ -100,30 +101,42 @@
 Sterownik PostgreSQL dla hk_classes.
 
 
-#%package driver-sqlite2
-#Summary:      SQLite v2 driver for hk_classes
-#Summary(pl):  Sterownik SQLite v2 dla hk_classes
-#Group:                Libraries
-#Requires:     %{name} = %{version}-%{release}
-
-#%description driver-sqlite2
-#SQLite version 2.x driver for hk_classes.
-
-#%description driver-sqlite2 -l pl
-#Sterownik SQLite wersji 2.x dla hk_classes.
-
-#%package driver-sqlite3
-#Summary:      SQLite v3 driver for hk_classes
-#Summary(pl):  Sterownik SQLite v3 dla hk_classes
-#Group:                Libraries
-#Requires:     %{name} = %{version}-%{release}
+%package driver-sqlite2
+Summary:       SQLite v2 driver for hk_classes
+Summary(pl):   Sterownik SQLite v2 dla hk_classes
+Group:         Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description driver-sqlite2
+SQLite version 2.x driver for hk_classes.
+
+%description driver-sqlite2 -l pl
+Sterownik SQLite wersji 2.x dla hk_classes.
+
+%package driver-sqlite3
+Summary:       SQLite v3 driver for hk_classes
+Summary(pl):   Sterownik SQLite v3 dla hk_classes
+Group:         Libraries
+Requires:      %{name} = %{version}-%{release}
 
-#%description driver-sqlite3
-#SQLite version 3.x driver for hk_classes.
+%description driver-sqlite3
+SQLite version 3.x driver for hk_classes.
 
-#%description driver-sqlite3 -l pl
-#Sterownik SQLite w wersji 3.x dla hk_classes.
+%description driver-sqlite3 -l pl
+Sterownik SQLite w wersji 3.x dla hk_classes.
 
+%package -n python-%{name}
+Summary:        Python interface to %{name}
+Summary(pl):    Interfejs do %{name} dla jezyka Python
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+%pyrequires_eq python-libs
+
+%description -n python-%{name}
+Python inteface to hk_classes.
+
+%description -n python-%{name} -l pl
+Pythonowy interfejs do klass hk_classes.
 
 %package tools
 Summary:       Commandline tools
@@ -143,6 +156,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p0 
+%patch4 -p1
 
 %build
 # supplied libtool is broken (C++)
@@ -202,14 +216,19 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/%{name}/drivers/libhk_postgresdriver.so*
 
+%files driver-sqlite2
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/drivers/libhk_sqlite2driver.so*
 
-#%files driver-sqlite2
-#%defattr(644,root,root,755)
-#%attr(755,root,root) %{_libdir}/%{name}/drivers/libhk_sqlite2driver.so*
-
-#%files driver-sqlite3
-#%defattr(644,root,root,755)
-#%attr(755,root,root) %{_libdir}/%{name}/drivers/libhk_sqlite3driver.so*
+%files driver-sqlite3
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/drivers/libhk_sqlite3driver.so*
+
+%files -n python-%{name}
+%defattr(644,root,root,755)
+#%%{py_sitedir}/hk_classes.py[co]
+%{py_sitedir}/hk_classes.py*
+%attr(755,root,root) %{py_sitedir}/_hk_classes.so
 
 %files tools
 %defattr(644,root,root,755)
@@ -222,6 +241,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2005/02/18 11:03:34  matkor
+- Added SQLite 2/3 drivers
+- Added python module.
+- Reduced TODO (Mostly cosmetics left).
+- Release 2. STBR for Ac, and STBR knoda.spec next.
+
 Revision 1.32  2005/02/16 12:31:53  matkor
 - Version 0.7.2-1. Added TODO.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/hk_classes.spec?r1=1.32&r2=1.33&f=u


_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to