xref: /netbsd-src/crypto/dist/ipsec-tools/rpm/ipsec-tools.spec.in (revision a8f0ad3c370469b97a129dc51652ba665a38bed8)
1Summary: User-space IPsec tools for the Linux IPsec implementation
2Name: ipsec-tools
3Version: @-VERSION-@
4Release: 1
5Epoch: 1
6License: BSD
7Group: System Environment/Base
8URL: http://ipsec-tools.sourceforge.net/
9Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
10Requires: kernel >= 2.5.54
11
12#BuildRequires: kernel-source >= 2.5.54
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14
15%description
16IPsec-Tools is a port of the KAME Project's IPsec tools to the Linux
17IPsec implementation. IPsec-Tools provides racoon, an IKE daemon; libipsec,
18a PFKey implementation; and setkey, a security policy and security
19association database configuration utility.
20
21%prep
22%setup -q
23
24%build
25./configure --prefix=/usr --sysconfdir=/etc --exec-prefix=/ --mandir=%{_mandir} --libdir=/%{_lib}
26make
27
28%install
29rm -rf %{buildroot}
30mkdir %{buildroot}
31make install DESTDIR=%{buildroot}
32
33%post -p /sbin/ldconfig
34
35%postun -p /sbin/ldconfig
36
37%clean
38rm -rf %{buildroot}
39
40%files
41%defattr(-,root,root)
42%doc NEWS README ChangeLog
43%dir %{_sysconfdir}/racoon
44%config %{_sysconfdir}/racoon/*
45/sbin/*
46/%{_lib}/*
47%{_includedir}/*
48%{_mandir}/man[358]/*
49%{_sbindir}/racoon
50
51%changelog
52* Fri Mar 07 2003 Derek Atkins <derek@ihtfp.com> 0.2.1-1
53- Insert into code base.  Dynamically generate the version string.
54
55* Fri Mar 07 2003 Chris Ricker <kaboom@gatech.edu> 0.2.1-1
56- Rev to 0.2.1 release
57- Remove unneeded patch
58
59* Thu Mar 06 2003 Chris Ricker <kaboom@gatech.edu> 0.2-1
60- initial package
61