]>
Commit | Line | Data |
---|---|---|
1 | Summary: Point-to-Point Tunneling Protocol (PPTP) Client | |
2 | Summary(pl.UTF-8): Klient protokołu PPTP (Point-to-Point Tunneling Protocol) | |
3 | Name: pptp | |
4 | Version: 1.7.1 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications/System | |
8 | Source0: http://dl.sourceforge.net/pptpclient/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: b47735ba5d6d37dfdbccb85afc044ede | |
10 | URL: http://pptpclient.sourceforge.net/ | |
11 | Requires: ppp >= 2.4.2 | |
12 | Provides: pptp-linux | |
13 | Obsoletes: pptp-linux | |
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 | ||
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. | |
27 | ||
28 | %prep | |
29 | %setup -q | |
30 | %{__sed} -i -e 's/install -o root -m 555 pptp/install -m 755 pptp/' Makefile | |
31 | ||
32 | %build | |
33 | %{__make} \ | |
34 | CC="%{__cc}" \ | |
35 | CFLAGS="%{rpmcflags}" | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | install -d $RPM_BUILD_ROOT%{_localstatedir}/run/pptp | |
40 | ||
41 | %{__make} install \ | |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc AUTHORS NEWS README TODO USING Documentation Reference | |
50 | %attr(755,root,root) %{_sbindir}/pptp | |
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 |