SPECS: tripwire.spec - up to 2.4.1.2, NFY

wolvverine wolvverine at pld-linux.org
Tue Sep 4 21:12:56 CEST 2007


Author: wolvverine                   Date: Tue Sep  4 19:12:56 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.4.1.2, NFY

---- Files affected:
SPECS:
   tripwire.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/tripwire.spec
diff -u SPECS/tripwire.spec:1.23 SPECS/tripwire.spec:1.24
--- SPECS/tripwire.spec:1.23	Mon Feb 12 23:09:18 2007
+++ SPECS/tripwire.spec	Tue Sep  4 21:12:50 2007
@@ -2,23 +2,23 @@
 #
 # TODO:
 # - use shared STLport, not included one...
-# - some nice way to install :-/
-#
+# - post install
+# - cron scripts (contrib)
 # Conditional build:
 %bcond_without	static	# don't link statically
 #
 Summary:	Verifies file integrity
 Summary(pl.UTF-8):	Program sprawdza poprawność plików
 Name:		tripwire
-Version:	2.3.1
+Version:	2.4.1.2
 Release:	0.1
 License:	GPL v2
 Group:		Applications/System
-Source0:	http://dl.sourceforge.net/tripwire/%{name}-%{version}-2.tar.gz
-# Source0-md5:	6a15fe110565cef9ed33c1c7e070355e
+Source0:	http://dl.sourceforge.net/tripwire/%{name}-%{version}-src.tar.bz2
+# Source0-md5:	8a1147c278b528ed593023912c4b649a
 Source1:	%{name}.verify
 Patch0:		%{name}-sec.patch
-URL:		http://www.tripwire.org/
+URL:		http://sourceforge.net/projects/tripwire/
 %{?with_static:BuildRequires:	glibc-static}
 BuildRequires:	bison
 BuildRequires:	flex
@@ -43,23 +43,22 @@
 
 
 %prep
-%setup -q -n %{name}-%{version}-2
-%patch0 -p0
+%setup -q -n %{name}-%{version}-src
 
 %build
-%{__make} -C src release \
-	GMAKE=make \
-	CXX="%{__cxx}" \
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/{man1,man5,man8}}
-install -d $RPM_BUILD_ROOT{%{_var}/spool/%{name},%{_cron}}
-
-%{__make} -C src install \
-	DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/{man4,man5,man8},%{_sysconfdir}/%{name}}
+install -d $RPM_BUILD_ROOT{%{_var}/{spool/%{name},lib/%{name}},%{_cron}}
 
-#install lib/tw.config $RPM_BUILD_ROOT%{_sysconfdir}
+install bin/* $RPM_BUILD_ROOT%{_sbindir}
+install man/man4/*.4 $RPM_BUILD_ROOT%{_mandir}/man4
+install man/man5/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
+install man/man8/*.8 $RPM_BUILD_ROOT%{_mandir}/man8
+install policy/twpol-Linux.txt $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/twpol.txt
 install %{SOURCE1} $RPM_BUILD_ROOT%{_cron}
 
 %clean
@@ -67,12 +66,13 @@
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog MAINTAINERS README Release_Notes TRADEMARK  WISHLIST
-#%attr(700,root,root) %{_sbindir}/*
-#%attr(600,root,root) %{_sysconfdir}/tw.config
-#%attr(700,root,root) %{_var}/spool/%{name}
+%doc MAINTAINERS ChangeLog TRADEMARK policy/policyguide.txt
+%attr(700,root,root) %{_sbindir}/*
+%attr(600,root,root) %{_sysconfdir}/%{name}/twpol.txt
+%attr(700,root,root) %{_var}/spool/%{name}
+%attr(700,root,root) %{_var}/lib/%{name}
 %attr(700,root,root) %{_cron}/%{name}.verify
-#%{_mandir}/man*/*
+%{_mandir}/man*/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -80,6 +80,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2007/09/04 19:12:50  wolvverine
+- up to 2.4.1.2, NFY
+
 Revision 1.23  2007/02/12 22:09:18  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tripwire.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list