Home | History | Annotate | Line # | Download | only in rpm
ipsec-tools.spec.in revision 1.1.1.1.96.2
      1 Summary: User-space IPsec tools for the Linux IPsec implementation
      2 Name: ipsec-tools
      3 Version: @-VERSION-@
      4 Release: 1
      5 Epoch: 1
      6 License: BSD
      7 Group: System Environment/Base
      8 URL: http://ipsec-tools.sourceforge.net/
      9 Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
     10 Requires: kernel >= 2.5.54
     11 
     12 #BuildRequires: kernel-source >= 2.5.54
     13 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
     14 
     15 %description
     16 IPsec-Tools is a port of the KAME Project's IPsec tools to the Linux
     17 IPsec implementation. IPsec-Tools provides racoon, an IKE daemon; libipsec,
     18 a PFKey implementation; and setkey, a security policy and security
     19 association database configuration utility.
     20 
     21 %prep
     22 %setup -q
     23 
     24 %build
     25 ./configure --prefix=/usr --sysconfdir=/etc --exec-prefix=/ --mandir=%{_mandir} --libdir=/%{_lib}
     26 make
     27 
     28 %install
     29 rm -rf %{buildroot}
     30 mkdir %{buildroot}
     31 make install DESTDIR=%{buildroot}
     32 
     33 %post -p /sbin/ldconfig  
     34 
     35 %postun -p /sbin/ldconfig 
     36 
     37 %clean
     38 rm -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 (a] 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 (a] 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 (a] gatech.edu> 0.2-1
     60 - initial package
     61