SPECS: sptk.spec - up to 3.5.7.14 (rel. 0.1 - not tested yet) - added condi...
twittner
twittner at pld-linux.org
Mon Jul 14 00:06:09 CEST 2008
Author: twittner Date: Sun Jul 13 22:06:09 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 3.5.7.14 (rel. 0.1 - not tested yet)
- added conditional compilation and BRs for ODBC, PostgreSQL
and Sqlite3 support
---- Files affected:
SPECS:
sptk.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: SPECS/sptk.spec
diff -u SPECS/sptk.spec:1.8 SPECS/sptk.spec:1.9
--- SPECS/sptk.spec:1.8 Tue Apr 1 22:23:37 2008
+++ SPECS/sptk.spec Mon Jul 14 00:06:04 2008
@@ -1,25 +1,32 @@
# $Revision$, $Date$
#
# Conditional build:
-%bcond_without static_libs # don't build static libraries
+%bcond_with examples # build examples (fails at the moment)
+%bcond_without excel # disable excel support
+%bcond_without odbc # disable odbc support
+%bcond_without postgresql # disable postgresql support
+%bcond_without sqlite3 # disable sqlite3 support
+%bcond_without static_libs # don't build static libraries
#
Summary: C++ user interface toolkit for X with database and Excel support
Summary(pl.UTF-8): Toolkit C++ dla X ze wsparciem dla bazy danych i Excela
Name: sptk
-Version: 3.5.7.05
+Version: 3.5.7.14
Release: 0.1
License: LGPL v2+ with the exceptions: http://www.sptk.net/index.php?act=license
Group: Libraries
Source0: http://www.sptk.net/%{name}-%{version}.tbz2
-# Source0-md5: 51ac4d3db97903c8f5d72bee980d546b
+# Source0-md5: 8812f0cd7d722e702e63d4a4e6b7ec59
+Patch0: %{name}-fltk-include-path.patch
URL: http://www.sptk.net/
BuildRequires: aspell-devel
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.59
BuildRequires: automake
BuildRequires: fltk-devel
BuildRequires: libtool
-BuildRequires: sqlite3-devel
-BuildRequires: unixODBC-devel
+%{?with_postgresql:BuildRequires: postgresql-devel}
+%{?with_sqlite3:BuildRequires: sqlite3-devel}
+%{?with_odbc:BuildRequires: unixODBC-devel}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -67,6 +74,7 @@
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}
@@ -74,8 +82,13 @@
%{__autoconf}
%{__automake}
%configure \
+ --enable-examples=%{?with_examples:yes}%{!?with_examples:no} \
+ --enable-odbc=%{?with_odbc:yes}%{!?with_odbc:no} \
+ --enable-postgresql=%{?with_postgresql:yes}%{!?with_postgresql:no} \
+ --enable-sqlite3=%{?with_sqlite3:yes}%{!?with_sqlite3:no} \
--enable-static=%{?with_static_libs:yes}%{!?with_static_libs:no} \
--enable-debug=%{?debug:yes}%{!?debug:no}
+
%{__make}
%install
@@ -123,6 +136,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.9 2008/07/13 22:06:04 twittner
+- up to 3.5.7.14 (rel. 0.1 - not tested yet)
+- added conditional compilation and BRs for ODBC, PostgreSQL
+ and Sqlite3 support
+
Revision 1.8 2008/04/01 20:23:37 twittner
- up to 3.5.7.05
- rel. 0.1 - watch what will happen - building previous release failed on ppc
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/sptk.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list