%define name invictus-firewall %define version 0.1 %define release %mkrel 12 %define service ct_sync Summary: Invictus Firewall Name: %{name} Version: %{version} Release: %{release} Source0: %{service}.init Source1: %{service}.sysconfig Source2: ucarp-action.sh Source3: ucarp-up.sh Source4: ucarp-down.sh License: GPL Group: System/Networking Url: http://www.mandriva.com/ BuildArch: noarch Requires(post): rpm-helper Requires(preun): rpm-helper Requires: ucarp %description Invictus Firewall allows to setup a redundant firewall using ucarp to handle failover and ct_sync to replicate connection tracking state. %prep %setup -q -c -T %install install -m755 -D %{SOURCE0} %{buildroot}%{_initrddir}/%{service} install -m644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/%{service} install -d %{buildroot}%{_datadir}/%{name}/ install -m755 %{SOURCE2} %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/%{name}/ %post %_post_service %{service} %preun %_preun_service %{service} %files %{_initrddir}/%{service} %config(noreplace) %{_sysconfdir}/sysconfig/%{service} %dir %{_datadir}/%{name} %{_datadir}/%{name}/ucarp-*.sh %changelog * Tue Jan 22 2013 fwang <fwang> 0.1-12.mga3 + Revision: 390880 - update rpm group * Sat Jan 12 2013 umeabot <umeabot> 0.1-11.mga3 + Revision: 354425 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Mar 28 2011 steletch <steletch> 0.1-10.mga1 + Revision: 78577 - imported package invictus-firewall