Accepting request 164117 from network

- Cleanup spec file
- Add Source URL, https://en.opensuse.org/SourceUrls (forwarded request 164043 from namtrac)

OBS-URL: https://build.opensuse.org/request/show/164117
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pptp?expand=0&rev=14
This commit is contained in:
Stephan Kulow 2013-04-16 04:53:54 +00:00 committed by Git OBS Bridge
commit fbff3d09bc
4 changed files with 33 additions and 46 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a94c3c2a1dafcef1417e82e8f451784efe0cec56f07e4b3ea4a4439696d11fd8
size 67307

3
pptp-1.7.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e98ae0065d2a39fa3131654ff28cb7070e996f668ed6d0e7d9a445b8d37694bc
size 81113

View File

@ -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

View File

@ -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 <cananian@alumni.princeton.edu>
Christoph Lameter <christoph@lameter.com>
Gordon Chaffee <chaffee@HOME.COM>
mulix <mulix@actcom.co.il>
James Cameron <james.cameron@compaq.com>
Rein Klazes <rklazes@xs4all.nl>
Thomas Quinot <thomas@cuivre.fr.eu.org>
Rhialto <rhialto@azenomei.knuffel.net>
Scott Venier <scott@scooter.cx>
Jeff Wiedemeier <Jeff.Wiedemeier@compaq.com>
Yura Zotov <yz@altlinux.ru>
%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