]> git.pld-linux.org Git - packages/lms.git/commitdiff
- added lmsd_debug (disabled by default)
authorSławomir Paszkiewicz <paszczus@pld-linux.org>
Fri, 18 Feb 2011 08:23:46 +0000 (08:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel 4

Changed files:
    lms.spec -> 1.123

lms.spec

index 8a64ea53fe61adb322d245824f2117493f6c119b..826385c58c4c3cacda70487573ca35f8a502370a 100644 (file)
--- a/lms.spec
+++ b/lms.spec
@@ -4,6 +4,7 @@
 #
 # Conditional build:
 %bcond_without lmsd            # without lmsd daemon
+%bcond_with    lmsd_debug      # with lmsd debugging
 
 %define                lmsver          1.11
 %define                lmssubver       11
@@ -11,7 +12,7 @@ Summary:      LAN Managment System
 Summary(pl.UTF-8):     System Zarządzania Siecią Lokalną
 Name:          lms
 Version:       %{lmsver}.%{lmssubver}
-Release:       3
+Release:       4
 License:       GPL v2
 Group:         Networking/Utilities
 Source0:       http://www.lms.org.pl/download/%{lmsver}/%{name}-%{version}.tar.gz
@@ -180,13 +181,13 @@ find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
 
 cd daemon
 
-./configure --with-mysql
+./configure --with-mysql %{?with_lmsd_debug:--enable-debug0 --enable-debug1}
 %{__make} \
        CC='%{__cc}' \
        CFLAGS='%{rpmcflags} -fPIC -DUSE_MYSQL -DLMS_LIB_DIR=\"%{_libdir}/lms/\" -I../..'
 mv lmsd lmsd-mysql
 
-./configure --with-pgsql
+./configure --with-pgsql %{?with_lmsd_debug:--enable-debug0 --enable-debug1}
 %{__make} lmsd \
        CC='%{__cc}' \
        CFLAGS='%{rpmcflags} -fPIC -DUSE_PGSQL -DLMS_LIB_DIR=\"%{_libdir}/lms/\" -I../..'
This page took 0.041435 seconds and 4 git commands to generate.