]>
Commit | Line | Data |
---|---|---|
4625dd01 | 1 | Summary: Point-to-Point Tunneling Protocol (PPTP) Client |
2f059370 | 2 | Summary(pl.UTF-8): Klient protokołu PPTP (Point-to-Point Tunneling Protocol) |
0262d3d2 | 3 | Name: pptp |
4 | Version: 1.7.1 | |
02c02457 | 5 | Release: 1 |
4625dd01 | 6 | License: GPL |
ed65f42e | 7 | Group: Applications/System |
4625dd01 | 8 | Source0: http://dl.sourceforge.net/pptpclient/%{name}-%{version}.tar.gz |
0262d3d2 | 9 | # Source0-md5: b47735ba5d6d37dfdbccb85afc044ede |
bde70b67 | 10 | URL: http://pptpclient.sourceforge.net/ |
ed65f42e | 11 | Requires: ppp >= 2.4.2 |
12 | Provides: pptp-linux | |
0262d3d2 | 13 | Obsoletes: pptp-linux |
4625dd01 | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
17 | Client for the proprietary Microsoft Point-to-Point Tunneling | |
18 | Protocol, PPTP. Allows connection to a PPTP based VPN as used by | |
19 | employers and some cable and ADSL service providers. Requires MPPE | |
20 | support in kernel. | |
21 | ||
2f059370 JR |
22 | %description -l pl.UTF-8 |
23 | Klient PPTP - własnościowego protokołu Point-to-Point Tunneling | |
24 | Microsoftu. Umożliwia łączenie z siecami VPN opartymi o PPTP używanymi | |
25 | przez niektóre firmy oraz dostarczycieli łącz kablowych i ADSL. Wymaga | |
26 | obsugi MPPE w jądrze. | |
4625dd01 | 27 | |
28 | %prep | |
29 | %setup -q | |
0262d3d2 | 30 | %{__sed} -i -e 's/install -o root -m 555 pptp/install -m 755 pptp/' Makefile |
4625dd01 | 31 | |
32 | %build | |
02c02457 | 33 | %{__make} \ |
4759f71f | 34 | CC="%{__cc}" \ |
02c02457 | 35 | CFLAGS="%{rpmcflags}" |
4625dd01 | 36 | |
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
0262d3d2 | 39 | install -d $RPM_BUILD_ROOT%{_localstatedir}/run/pptp |
91f9cfe9 | 40 | |
0262d3d2 | 41 | %{__make} install \ |
42 | DESTDIR=$RPM_BUILD_ROOT | |
4625dd01 | 43 | |
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
ed65f42e | 49 | %doc AUTHORS NEWS README TODO USING Documentation Reference |
91f9cfe9 | 50 | %attr(755,root,root) %{_sbindir}/pptp |
0262d3d2 | 51 | %{_mandir}/man8/pptp.8* |
52 | %dir %attr(750,root,root) %{_localstatedir}/run/pptp | |
53 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ppp/options.pptp |