]> git.pld-linux.org Git - packages/freeswan.git/commitdiff
- spec adapterized.
authorkloczek <kloczek@pld-linux.org>
Thu, 18 May 2000 21:48:35 +0000 (21:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    freeswan.spec -> 1.2

freeswan.spec

index 6352368689566ec0832a7fb227314a731b4b96c8..ba7f3d800cba9416b3f8428df54816f573a230df 100644 (file)
@@ -13,13 +13,13 @@ Patch3:             %{name}-init.patch
 URL:           http://www.freeswan.org
 Prereq:                /sbin/chkconfig
 Requires:      rc-scripts
-BuildRequires:  gmp-devel
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildRequires: gmp-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-The   basic   idea   of   IPSEC   is  to  provide  security  functions
-([60]authentication  and [61]encryption) at the IP (Internet Protocol)
-level.  It will be required in [62]IP version 6 (better known as IPng,
+The basic idea of IPSEC is to provide security functions
+([60]authentication and [61]encryption) at the IP (Internet Protocol)
+level. It will be required in [62]IP version 6 (better known as IPng,
 the next generation) and is optional for the current IP, version 4.
 
 FreeS/WAN is a freely-distributable implementation of IPSEC protocol/
@@ -39,8 +39,9 @@ make programs
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT{/etc/{freeswan,rc.d/init.d},/var/run/pluto}
-make install DESTDIR="$RPM_BUILD_ROOT" 
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/freeswan,/etc/rc.d/init.d,/var/run/pluto}
+make install \
+       DESTDIR="$RPM_BUILD_ROOT" 
 
 gzip -9nf README CREDITS CHANGES BUGS \
           doc/{kernel.notes,impl.notes,examples,prob.report,standards} \
@@ -72,7 +73,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man*/*
 %attr(755,root,root) %{_sbindir}/*
 %attr(754,root,root) /etc/rc.d/init.d/*
-%dir /usr/lib/ipsec
-%attr(755,root,root) /usr/lib/ipsec/*
-%attr(751,root,root) %dir /etc/freeswan
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/freeswan/*
+%dir %{_libdir}/ipsec
+%attr(755,root,root) %{_libdir}/ipsec/*
+%attr(751,root,root) %dir %{_sysconfdir}/freeswan
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/freeswan/*
This page took 0.133197 seconds and 4 git commands to generate.