]> git.pld-linux.org Git - packages/pptp.git/blame_incremental - pptp.spec
- tabs in preamble
[packages/pptp.git] / pptp.spec
... / ...
CommitLineData
1Summary: Point-to-Point Tunneling Protocol (PPTP) Client
2Summary(pl.UTF-8): Klient protokołu PPTP (Point-to-Point Tunneling Protocol)
3Name: pptp
4Version: 1.7.1
5Release: 1
6License: GPL
7Group: Applications/System
8Source0: http://dl.sourceforge.net/pptpclient/%{name}-%{version}.tar.gz
9# Source0-md5: b47735ba5d6d37dfdbccb85afc044ede
10URL: http://pptpclient.sourceforge.net/
11Requires: ppp >= 2.4.2
12Provides: pptp-linux
13Obsoletes: pptp-linux
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17Client for the proprietary Microsoft Point-to-Point Tunneling
18Protocol, PPTP. Allows connection to a PPTP based VPN as used by
19employers and some cable and ADSL service providers. Requires MPPE
20support in kernel.
21
22%description -l pl.UTF-8
23Klient PPTP - własnościowego protokołu Point-to-Point Tunneling
24Microsoftu. Umożliwia łączenie z siecami VPN opartymi o PPTP używanymi
25przez niektóre firmy oraz dostarczycieli łącz kablowych i ADSL. Wymaga
26obsugi 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
38rm -rf $RPM_BUILD_ROOT
39install -d $RPM_BUILD_ROOT%{_localstatedir}/run/pptp
40
41%{__make} install \
42 DESTDIR=$RPM_BUILD_ROOT
43
44%clean
45rm -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
This page took 0.043612 seconds and 4 git commands to generate.