SPECS: pptp.spec - new package name, updated to 1.7.1
vip
vip at pld-linux.org
Wed Jul 19 10:23:13 CEST 2006
Author: vip Date: Wed Jul 19 08:23:13 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new package name, updated to 1.7.1
---- Files affected:
SPECS:
pptp.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/pptp.spec
diff -u SPECS/pptp.spec:1.7 SPECS/pptp.spec:1.8
--- SPECS/pptp.spec:1.7 Fri Aug 5 15:08:23 2005
+++ SPECS/pptp.spec Wed Jul 19 10:23:08 2006
@@ -1,15 +1,17 @@
# $Revision$, $Date$
Summary: Point-to-Point Tunneling Protocol (PPTP) Client
Summary(pl): Klient protokołu PPTP (Point-to-Point Tunneling Protocol)
-Name: pptp-linux
-Version: 1.5.0
+Name: pptp
+Version: 1.7.1
Release: 1
License: GPL
Group: Applications/System
+URL: http://pptpclient.sourceforge.net/
Source0: http://dl.sourceforge.net/pptpclient/%{name}-%{version}.tar.gz
-# Source0-md5: 281ee37788bdf3260426eca56a9af858
+# Source0-md5: b47735ba5d6d37dfdbccb85afc044ede
Requires: ppp >= 2.4.2
Provides: pptp-linux
+Obsoletes: pptp-linux
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -26,6 +28,7 @@
%prep
%setup -q
+%{__sed} -i -e 's/install -o root -m 555 pptp/install -m 755 pptp/' Makefile
%build
%{__make} \
@@ -34,10 +37,10 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_sysconfdir}{/ppp,/pptp.d}}
+install -d $RPM_BUILD_ROOT%{_localstatedir}/run/pptp
-install pptp.8 $RPM_BUILD_ROOT%{_mandir}/man8/pptp.8
-install pptp $RPM_BUILD_ROOT%{_sbindir}
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
@@ -46,8 +49,9 @@
%defattr(644,root,root,755)
%doc AUTHORS NEWS README TODO USING Documentation Reference
%attr(755,root,root) %{_sbindir}/pptp
-%{_mandir}/man8/*
-%attr(755,root,root) %{_sysconfdir}/pptp.d
+%{_mandir}/man8/pptp.8*
+%dir %attr(750,root,root) %{_localstatedir}/run/pptp
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ppp/options.pptp
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -55,6 +59,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2006/07/19 08:23:08 vip
+- new package name, updated to 1.7.1
+
Revision 1.7 2005/08/05 13:08:23 adamg
- pass CC
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/pptp.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list