1 # fairly minimal RPM spec file, does only packaging
2 # Based on work by Paul Lahaie of Steamballoon.
3 # This file is touched up by sed (in the Makefile) before it is actually used.
4 Summary: Kernel with FreeS/WAN
6 Version: @IPSECVERSION@_@KERNELVERSION@
9 Group: System Environment/Daemons
10 Source: freeswan-%{version}.tar.gz
11 BuildRoot: /var/tmp/%{name}-%{PACKAGE_VERSION}-root
12 %define __spec_install_post /usr/lib/rpm/brp-compress || :
13 %define KernelVer @KERNELVERSION@
16 Summary: FreeS/Wan kernel module
17 Group: System Environment/Kernel
20 This package contains the daemons and userland tools for setting up
21 FreeS/WAN on a freeswan enabled kernel.
24 This package contains only the ipsec module for the RedHat series of kernels.
33 rm -rf ${RPM_BUILD_ROOT}
39 /etc/rc.d/init.d/ipsec
41 %attr(0644,root,root) %config /etc/ipsec.conf
43 @MANTREE@/man3/ipsec_*.3*
44 @MANTREE@/man5/ipsec_*.5*
45 @MANTREE@/man5/ipsec.*.5*
46 @MANTREE@/man8/ipsec_*.8*
49 %defattr (-,root,root)
53 sh /etc/rc.d/init.d/ipsec stop
57 echo "invoke /etc/rc.d/init.d/ipsec start or reboot to begin"
62 # Revision 1.3.2.2 2002/04/11 02:52:51 mcr
63 # post/pre stuff from head
65 # Revision 1.5 2002/04/11 02:50:30 mcr
66 # added %post to make ipsec start, and %post to shut it down.
67 # added %changelog as well.