SPECS: fail2ban.spec - updated to 0.8.3

yaro yaro at pld-linux.org
Wed Oct 22 23:54:18 CEST 2008


Author: yaro                         Date: Wed Oct 22 21:54:18 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.8.3

---- Files affected:
SPECS:
   fail2ban.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/fail2ban.spec
diff -u SPECS/fail2ban.spec:1.9 SPECS/fail2ban.spec:1.10
--- SPECS/fail2ban.spec:1.9	Fri Jun 13 13:09:40 2008
+++ SPECS/fail2ban.spec	Wed Oct 22 23:54:13 2008
@@ -2,14 +2,15 @@
 Summary:	Ban IPs that make too many password failures
 Summary(pl.UTF-8):	Blokowanie IP powodujących zbyt dużo prób logowań z błędnym hasłem
 Name:		fail2ban
-Version:	0.6.0
+Version:	0.8.3
 Release:	1
 License:	GPL
 Group:		Daemons
 URL:		http://fail2ban.sourceforge.net/
 Source0:	http://dl.sourceforge.net/fail2ban/%{name}-%{version}.tar.bz2
 # Source0-md5:	129c4e76539a22ab60d025fbf137f962
-BuildRequires:	dos2unix
+SOurce1:	%{name}.init
+#BuildRequires:	dos2unix
 BuildRequires:	python-devel
 BuildRequires:	python-modules
 BuildRequires:	rpmbuild(macros) >= 1.219
@@ -35,7 +36,7 @@
 
 %prep
 %setup -q
-dos2unix config/redhat-initd
+#dos2unix config/redhat-initd
 rm setup.cfg
 
 %build
@@ -44,6 +45,7 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
 
 PYTHONPATH=$RPM_BUILD_ROOT%{py_sitescriptdir}; export PYTHONPATH
 
@@ -52,8 +54,9 @@
 	--root=$RPM_BUILD_ROOT
 
 %{py_postclean}
-install config/redhat-initd $RPM_BUILD_ROOT/etc/rc.d/init.d/fail2ban
-install config/fail2ban.conf.default $RPM_BUILD_ROOT%{_sysconfdir}/fail2ban.conf
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/fail2ban
+install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -70,11 +73,15 @@
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGELOG README TODO
+%doc ChangeLog README TODO COPYING
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
-%attr(755,root,root) %{_bindir}/%{name}
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
+%attr(755,root,root) %{_bindir}/%{name}-*
+%dir /var/run/%{name}
+%config(noreplace) %verify(not md5 mtime size) /etc/%{name}/*
 %{py_sitescriptdir}/*
+%{_mandir}/man1/*
+
+
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -82,6 +89,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2008/10/22 21:54:13  yaro
+- updated to 0.8.3
+
 Revision 1.9  2008/06/13 11:09:40  sardzent
 - added missing BR
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/fail2ban.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list