SPECS: qsf.spec - added more backends (with/without bconds)
charles
charles at pld-linux.org
Mon Jan 30 03:19:32 CET 2006
Author: charles Date: Mon Jan 30 02:19:32 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added more backends (with/without bconds)
---- Files affected:
SPECS:
qsf.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: SPECS/qsf.spec
diff -u SPECS/qsf.spec:1.9 SPECS/qsf.spec:1.10
--- SPECS/qsf.spec:1.9 Sun Jan 29 19:17:17 2006
+++ SPECS/qsf.spec Mon Jan 30 03:19:27 2006
@@ -1,4 +1,10 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without gdbm # build without gdbm backend
+%bcond_with mysql # build with MySQL backend
+%bcond_with sqlite # build with SQLite2 backend
+#
Summary: Quick spam filter
Summary(pl): Szybki filtr antyspamowy
Name: qsf
@@ -9,6 +15,9 @@
Source0: http://dl.sourceforge.net/qsf/%{name}-%{version}.tar.bz2
# Source0-md5: 97b0edd6bcbacbd4b0ee0f60d5313b08
URL: http://www.ivarch.com/programs/qsf.shtml
+%{?with_gdbm:BuildRequires: gdbm-devel}
+%{?with_mysql:BuildRequires: mysql-devel}
+%{?with_sqlite:BuildRequires: sqlite-devel}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -27,7 +36,10 @@
%setup -q
%build
-%configure
+%configure \
+ %{!?with_gdbm:--without-gdbm} \
+ %{!?with_mysql:--without-mysql} \
+ %{!?with_sqlite:--without-sqlite}
%{__make}
%install
@@ -41,7 +53,7 @@
%files
%defattr(644,root,root,755)
-%doc README doc/{NEWS,TODO}
+%doc README doc/{NEWS,TODO,postfix-howto}
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*.1*
@@ -51,6 +63,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2006/01/30 02:19:27 charles
+- added more backends (with/without bconds)
+
Revision 1.9 2006/01/29 18:17:17 bszx
- updated to 1.1.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/qsf.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list