diff --git a/pptp-1.7.2.tar.bz2 b/pptp-1.7.2.tar.bz2 deleted file mode 100644 index 38f3691..0000000 --- a/pptp-1.7.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a94c3c2a1dafcef1417e82e8f451784efe0cec56f07e4b3ea4a4439696d11fd8 -size 67307 diff --git a/pptp-1.7.2.tar.gz b/pptp-1.7.2.tar.gz new file mode 100644 index 0000000..f37ce83 --- /dev/null +++ b/pptp-1.7.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e98ae0065d2a39fa3131654ff28cb7070e996f668ed6d0e7d9a445b8d37694bc +size 81113 diff --git a/pptp.changes b/pptp.changes index 5c3069c..891eeec 100644 --- a/pptp.changes +++ b/pptp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 15 09:30:20 UTC 2013 - idonmez@suse.com + +- Cleanup spec file +- Add Source URL, https://en.opensuse.org/SourceUrls + ------------------------------------------------------------------- Tue Sep 29 15:19:56 CEST 2009 - max@suse.de diff --git a/pptp.spec b/pptp.spec index aa2b49e..67b0fec 100644 --- a/pptp.spec +++ b/pptp.spec @@ -1,7 +1,7 @@ # -# spec file for package pptp (Version 1.7.2) +# spec file for package pptp # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,22 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: pptp -Url: http://pptpclient.sourceforge.net/ -Summary: Point-to-Point Tunneling Protocol (PPTP) Client Version: 1.7.2 -Release: 24 -Source: %{name}-%{version}.tar.bz2 +Release: 0 +Summary: Point-to-Point Tunneling Protocol (PPTP) Client +License: GPL-2.0+ +Group: Productivity/Networking/Security +Url: http://pptpclient.sourceforge.net/ +Source: http://downloads.sourceforge.net/project/pptpclient/pptp/pptp-%{version}/%{name}-%{version}.tar.gz Source1: pptp-command Source2: options.pptp Source3: pptp_fe.pl Source4: xpptp_fe.pl Patch1: pptp-makefile.patch -License: GPL-2.0+ -Group: Productivity/Networking/Security BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -39,51 +37,34 @@ Protocol, PPTP. It allows connections to a PPTP based VPN as used by employers and some cable and ADSL service providers. It requires MPPE support in the kernel. Use the ppp-mppe package. - - -Authors: --------- - C. Scott Ananian - - Christoph Lameter - Gordon Chaffee - mulix - James Cameron - Rein Klazes - Thomas Quinot - Rhialto - Scott Venier - Jeff Wiedemeier - Yura Zotov - %prep -%setup -q -n %{name}-%{version} +%setup -q %patch1 %build -make CFLAGS="$RPM_OPT_FLAGS" +make CFLAGS="%{optflags}" %install -make install DESTDIR=$RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT/etc/ppp -mkdir -p $RPM_BUILD_ROOT/etc/pptp.d -cp %{SOURCE1} $RPM_BUILD_ROOT/usr/sbin/pptp-command -cp %{SOURCE2} $RPM_BUILD_ROOT/etc/ppp +make install DESTDIR=%{buildroot} + +mkdir -p %{buildroot}%{_sysconfdir}/ppp +mkdir -p %{buildroot}%{_sysconfdir}/pptp.d + +cp %{SOURCE1} %{buildroot}%{_sbindir}/pptp-command +cp %{SOURCE2} %{buildroot}%{_sysconfdir}/ppp + find Documentation -name CVS | xargs rm -rf find Reference -name CVS | xargs rm -rf -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(0644,root,root,0755) -%doc AUTHORS COPYING INSTALL NEWS README TODO USING Documentation -%attr(0755,root,root) /usr/sbin/pptp -%attr(0755,root,root) /usr/sbin/pptpsetup +%doc AUTHORS COPYING NEWS README TODO USING Documentation +%attr(0755,root,root) %{_sbindir}/pptp +%attr(0755,root,root) %{_sbindir}/pptpsetup %attr(0444,root,root) %{_mandir}/man8/pptp.8.gz %attr(0444,root,root) %{_mandir}/man8/pptpsetup.8.gz -%attr(0755,root,root) /usr/sbin/pptp-command -%config %attr(0600,root,root) /etc/ppp/options.pptp -%attr(0755,root,root) /etc/pptp.d +%attr(0755,root,root) %{_sbindir}/pptp-command +%config %attr(0600,root,root) %{_sysconfdir}/ppp/options.pptp +%attr(0755,root,root) %{_sysconfdir}/pptp.d %changelog