SPECS: hk_classes.spec - up to 0.7.4 - added driver-firebird - add...

twittner twittner at pld-linux.org
Sat Jul 9 22:24:24 CEST 2005


Author: twittner                     Date: Sat Jul  9 20:24:24 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.7.4
- added driver-firebird
- added bcond_without static_libs

---- Files affected:
SPECS:
   hk_classes.spec (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: SPECS/hk_classes.spec
diff -u SPECS/hk_classes.spec:1.40 SPECS/hk_classes.spec:1.41
--- SPECS/hk_classes.spec:1.40	Sun Mar 27 17:50:07 2005
+++ SPECS/hk_classes.spec	Sat Jul  9 22:24:19 2005
@@ -2,16 +2,18 @@
 # 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
-
+#
+# Conditional build:
+%bcond_without	static_libs # don't build static library
+#
 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.3
-Release:	2
+Version:	0.7.4
+Release:	0.1
 License:	GPL
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/hk-classes/%{name}-%{version}.tar.bz2
-# Source0-md5:	722ef942d896dce8febe7b949c6c39e1
 Patch0:		%{name}-dir.patch
 Patch1:		%{name}-link.patch
 Patch2:		%{name}-iconv-in-libc.patch
@@ -22,6 +24,7 @@
 BuildRequires:	automake >= 1:1.7.6
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool >= 2:1.4d
+BuildRequires:	Firebird-devel
 BuildRequires:	mysql-devel
 BuildRequires:	postgresql-backend-devel >= 7.1
 BuildRequires:	postgresql-devel >= 7.1
@@ -64,6 +67,18 @@
 %description static -l pl
 Statyczna biblioteka hk_classes.
 
+%package driver-firebird
+Summary:	Firebird driver for hk_classes
+Summary(pl):	Sterownik Firebird dla hk_classes
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description driver-firebird
+Firebird driver for hk_classes.
+
+%description driver-firebird -l pl
+Sterownik Firebird dla hk_classes.
+
 %package driver-mysql
 Summary:	MySQL driver for hk_classes
 Summary(pl):	Sterownik MySQL dla hk_classes
@@ -169,7 +184,7 @@
 	--with-hk_classes-dir=%{_libdir} \
 	--with-hk_classes-incdir=%{_includedir}/%{name} \
 	--with-hk_classes-drvdir=%{_libdir}/%{name}/drivers \
-	--enable-static
+	%{?with_static_libs:--enable-static=yes}
 %{__make}
 
 %install
@@ -199,9 +214,15 @@
 %{_libdir}/lib*.la
 %attr(755,root,root) %{_libdir}/lib*.so
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
+
+%files driver-firebird
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/drivers/libhk_firebirddriver.so*
 
 %files driver-mysql
 %defattr(644,root,root,755)
@@ -240,6 +261,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2005/07/09 20:24:19  twittner
+- up to 0.7.4
+- added driver-firebird
+- added bcond_without static_libs
+
 Revision 1.40  2005/03/27 15:50:07  havner
 - rel 2
 
================================================================

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




More information about the pld-cvs-commit mailing list