SPECS (twittner): hk_classes.spec - up to 0.8.2
twittner
twittner at pld-linux.org
Sun Dec 24 23:50:56 CET 2006
Author: twittner Date: Sun Dec 24 22:50:56 2006 GMT
Module: SPECS Tag: twittner
---- Log message:
- up to 0.8.2
---- Files affected:
SPECS:
hk_classes.spec (1.47.2.8.2.7 -> 1.47.2.8.2.8)
---- Diffs:
================================================================
Index: SPECS/hk_classes.spec
diff -u SPECS/hk_classes.spec:1.47.2.8.2.7 SPECS/hk_classes.spec:1.47.2.8.2.8
--- SPECS/hk_classes.spec:1.47.2.8.2.7 Sun Apr 23 20:17:07 2006
+++ SPECS/hk_classes.spec Sun Dec 24 23:50:51 2006
@@ -1,10 +1,12 @@
# $Revision$, $Date$
# TODO: - make python build *.pyo also and include it instead of *.py
# - patch3 should be rewritten to search for .pyc and .py not only .pyc and sent back
+# NOTE: - don't remove *.la - they are needed - see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=400885
#
# Conditional build:
+%bcond_without dbase
%bcond_without firebird
-%bcond_with mdb
+%bcond_without mdb
%bcond_without mysql
%bcond_without odbc
%bcond_without pgsql
@@ -17,12 +19,12 @@
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.8.1
+Version: 0.8.2
Release: 0.1
License: GPL
Group: Libraries
Source0: http://dl.sourceforge.net/hk-classes/%{name}-%{version}.tar.gz
-# Source0-md5: 17234b38b36dca09b4fb2d8a4752fc0a
+# Source0-md5: dd11bb41cc7093c7bca80f923a058c8f
Patch0: %{name}.patch
URL: http://hk-classes.sourceforge.net/
BuildRequires: autoconf >= 2.56
@@ -30,6 +32,7 @@
BuildRequires: fontconfig-devel
BuildRequires: libstdc++-devel
BuildRequires: libtool >= 2:1.4d
+BuildRequires: libxml2-devel
BuildRequires: pkgconfig
BuildRequires: rpm-pythonprov
BuildRequires: sed >= 4.0
@@ -79,6 +82,18 @@
%description static -l pl
Statyczna biblioteka hk_classes.
+%package driver-dbase
+Summary: dbase driver for hk_classes
+Summary(pl): Sterownik dbase dla hk_classes
+Group: Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description driver-dbase
+dbase driver for hk_classes.
+
+%description driver-dbase -l pl
+Sterownik dbase dla hk_classes.
+
%package driver-firebird
Summary: Firebird driver for hk_classes
Summary(pl): Sterownik Firebird dla hk_classes
@@ -239,14 +254,15 @@
--with-hk_classes-dir=%{_libdir} \
--with-hk_classes-incdir=%{_includedir}/%{name} \
--with-hk_classes-drvdir=%{_libdir}/%{name}/drivers \
+ --with%{!?with_dbase:out}-dbase \
--with%{!?with_firebird:out}-firebird \
- --with-mdb=%{?with_mdb:external}%{!?with_mdb:no} \
+ --with-%{!?with_mdb:out}-mdb \
--with%{!?with_mysql:out}-mysql \
--with%{!?with_odbc:out}-odbc \
- --with-paradox=%{?with_paradox:external}%{!?with_paradox:no} \
+ --with-%{!?with_paradox:out}-paradox \
--with%{!?with_pgsql:out}-postgres \
- --with%{!?with_sqlite2:out}-sqlite \
- --with-sqlite3=%{?with_sqlite3:external}%{!?with_sqlite3:no} \
+ --with%{!?with_sqlite2:out-sqlite}%{?with_sqlite2:-sqlite2systemlibrary} \
+ --with%{!?with_sqlite3:out-sqlite3}%{?with_sqlite3:-sqlite3systemlibrary} \
--with%{!?with_xbase:out}-xbase \
%{?with_static_libs:--enable-static=yes}
%{__make}
@@ -257,9 +273,6 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-# drivers are dlopened by *.so
-rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/drivers/lib*.{la,a}
-
cp -a documentation apidocs
# remove Makefiles from docs for %%files apidocs simplification
rm -f apidocs/{api,tutorial}/Makefile*
@@ -289,58 +302,74 @@
%{_libdir}/lib*.a
%endif
+%if %{with dbase}
+%files driver-dbase
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/drivers/libhk_dbasedriver.so*
+%{_libdir}/%{name}/drivers/libhk_dbasedriver.la
+%endif
+
%if %{with firebird}
%files driver-firebird
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/%{name}/drivers/libhk_firebirddriver.so*
+%{_libdir}/%{name}/drivers/libhk_firebirddriver.la
%endif
%if %{with mdb}
%files driver-mdb
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/%{name}/drivers/libhk_mdbdriver.so*
+%{_libdir}/%{name}/drivers/libhk_mdbdriver.la
%endif
%if %{with mysql}
%files driver-mysql
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/%{name}/drivers/libhk_mysqldriver.so*
+%{_libdir}/%{name}/drivers/libhk_mysqldriver.la
%endif
%if %{with odbc}
%files driver-odbc
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/%{name}/drivers/libhk_odbcdriver.so*
+%{_libdir}/%{name}/drivers/libhk_odbcdriver.la
%endif
%if %{with paradox}
%files driver-paradox
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/%{name}/drivers/libhk_paradoxdriver.so*
+%{_libdir}/%{name}/drivers/libhk_paradoxdriver.la
%endif
%if %{with pgsql}
%files driver-postgresql
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/%{name}/drivers/libhk_postgresdriver.so*
+%{_libdir}/%{name}/drivers/libhk_postgresdriver.la
%endif
%if %{with sqlite2}
%files driver-sqlite2
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/%{name}/drivers/libhk_sqlite2driver.so*
+%{_libdir}/%{name}/drivers/libhk_sqlite2driver.la
%endif
%if %{with sqlite3}
%files driver-sqlite3
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/%{name}/drivers/libhk_sqlite3driver.so*
+%{_libdir}/%{name}/drivers/libhk_sqlite3driver.la
%endif
%if %{with xbase}
%files driver-xbase
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/%{name}/drivers/libhk_xbasedriver.so*
+%{_libdir}/%{name}/drivers/libhk_xbasedriver.la
%endif
%files -n python-%{name}
@@ -364,6 +393,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.47.2.8.2.8 2006/12/24 22:50:51 twittner
+- up to 0.8.2
+
Revision 1.47.2.8.2.7 2006/04/23 18:17:07 twittner
- link with system libraries: fixes for mdb. paradox and sqlite3 hk_classes
- hk_classes.patch incorporates fixes from -{dir,iconv-in-libc}.patch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/hk_classes.spec?r1=1.47.2.8.2.7&r2=1.47.2.8.2.8&f=u
More information about the pld-cvs-commit
mailing list