SPECS: rsbac-admin.spec - up to final 1.4.0; proper build

zbyniu zbyniu at pld-linux.org
Sat Jan 17 01:14:27 CET 2009


Author: zbyniu                       Date: Sat Jan 17 00:14:27 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to final 1.4.0; proper build 

---- Files affected:
SPECS:
   rsbac-admin.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/rsbac-admin.spec
diff -u SPECS/rsbac-admin.spec:1.1 SPECS/rsbac-admin.spec:1.2
--- SPECS/rsbac-admin.spec:1.1	Sat Nov 15 16:28:15 2008
+++ SPECS/rsbac-admin.spec	Sat Jan 17 01:14:21 2009
@@ -3,8 +3,8 @@
 # TODO:
 # - subpackages, %files
 #
-%define		rcrel	rc3
-%define		rcver	-%{rcrel}
+%define		rcrel	%{nil}
+%define		rcver	%{nil}
 Summary:	A set of RSBAC utilities
 Summary(pl.UTF-8):	Zbiór narzędzi RSBAC
 Name:		rsbac-admin
@@ -12,8 +12,9 @@
 Release:	0.%{rcrel}.1
 License:	GPL v2
 Group:		Applications
-Source0:	ftp://rsbac.org/download/pre/rsbac-1.4.0-rc3/%{name}-%{version}%{rcver}.tar.bz2
-# Source0-md5:	5c9d5d8602995baf1cd12dc85f698c07
+#Source0:	ftp://rsbac.org/download/pre/rsbac-1.4.0-rc3/%{name}-%{version}%{rcver}.tar.bz2
+Source0:	ftp://rsbac.org/download/code/1.4.0/%{name}-%{version}.tar.bz2
+# Source0-md5:	b72df9263fa67e90e155c3c9d3948c05
 URL:		http://www.rsbac.org/
 BuildRequires:	gettext-devel
 BuildRequires:	libtool
@@ -75,18 +76,30 @@
 %setup -q -n %{name}-%{version}%{rcver}
 
 %build
-%{__make} build \
+%{__make} libs pam nss \
 	CC="%{__cc}" \
 	CFLAGS="%{rpmcflags} -shared -fPIC -I../headers -I/usr/include/ncurses\
 		-include ../libs/asm-arches/asm-x86_64/unistd.h" \
 	LDFLAGS="%{rpmldflags}" \
 	PREFIX="%{_prefix}" \
-	VERBOSE=1 \
 	LIBTOOL="libtool --tag=CC" \
 	DIR_LIBS=%{_libdir} \
 	DIR_NSS=%{_libdir} \
 	SYSCONFDIR=%{_sysconfdir}
+	#VERBOSE=1 \
+
+%{__make} rklogd tools \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -fPIC -I../headers -I/usr/include/ncurses\
+		-Isrc -include ../libs/asm-arches/asm-x86_64/unistd.h" \
+	PREFIX="%{_prefix}" \
+	LIBTOOL="libtool --tag=CC" \
+	DIR_LIBS=%{_libdir} \
+	DIR_NSS=%{_libdir} \
+	SYSCONFDIR=%{_sysconfdir}
+	#VERBOSE=1 \
 
+	#LDFLAGS="%{rpmldflags} -L../libs/.libs" \
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -160,6 +173,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2009/01/17 00:14:21  zbyniu
+- up to final 1.4.0; proper build
+
 Revision 1.1  2008/11/15 15:28:15  zbyniu
 - new, needs some more work
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rsbac-admin.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list