SPECS: sshguard.spec - up to 1.0 - no more scons needed - man added

rotom rotom at pld-linux.org
Tue Jun 19 20:41:33 CEST 2007


Author: rotom                        Date: Tue Jun 19 18:41:33 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.0
- no more scons needed
- man added

---- Files affected:
SPECS:
   sshguard.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/sshguard.spec
diff -u SPECS/sshguard.spec:1.10 SPECS/sshguard.spec:1.11
--- SPECS/sshguard.spec:1.10	Tue Apr 17 01:25:21 2007
+++ SPECS/sshguard.spec	Tue Jun 19 20:41:28 2007
@@ -2,20 +2,16 @@
 Summary:	sshguard - protect hosts from the plague of brute force attacks against SSH
 Summary(pl.UTF-8):	sshguard - chroni hosty przed plagą ataków brute force na serwer SSH
 Name:		sshguard
-Version:	0.9
+Version:	1.0
 Release:	1
 License:	BSD
 Group:		Applications
 Source0:	http://dl.sourceforge.net/sshguard/%{name}-%{version}.tar.bz2
-# Source0-md5:	990f53b0213f8cc04cc8ea5882f086a1
-Patch0:		%{name}-includes.patch
-Patch1:		%{name}-path.patch
+# Source0-md5:	77b5a3a9d74542c487b8d5453d53d572
 URL:		http://sshguard.sourceforge.net/
 BuildRequires:	python
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.337
-BuildRequires:	scons
-BuildRequires:	sed >= 4.0
 Requires:	iptables
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -31,23 +27,22 @@
 w interpretowanych językach jest niezależny, szybki i lekki, ponieważ
 jest napisany w C.
 
-%define		_fw	-Q FIREWALLTYPE=iptables
-
 %prep
 %setup -q
-%patch0 -p0
-%patch1 -p1
-%{__sed} -i -e "s@/usr/local@$RPM_BUILD_ROOT%{_prefix}@g" SConstruct
 
 %build
-%scons \
-	%{_fw}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%configure \
+    --with-firewall=iptables
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sbindir}
-%scons install \
-	%{_fw}
+%{__make} install \
+    DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -55,6 +50,7 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/*
+%{_mandir}/man8/sshguard.8.gz
 
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -62,6 +58,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2007/06/19 18:41:28  rotom
+- up to 1.0
+- no more scons needed
+- man added
+
 Revision 1.10  2007/04/16 23:25:21  agaran
 - merged include patch from AC-branch, added /sbin/iptables fix
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/sshguard.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list