]> git.pld-linux.org Git - packages/pptp.git/blame - pptp.spec
- updated to 1.10.0
[packages/pptp.git] / pptp.spec
CommitLineData
4625dd01 1Summary: Point-to-Point Tunneling Protocol (PPTP) Client
6d85ca9f 2Summary(pl.UTF-8): Klient protokołu PPTP (Point-to-Point Tunneling Protocol)
0262d3d2 3Name: pptp
30725109 4Version: 1.10.0
f0f5dbe1 5Release: 1
30725109 6License: GPL v2+
b51584a7 7Group: Networking/Admin
9b3cc498 8Source0: http://downloads.sourceforge.net/pptpclient/%{name}-%{version}.tar.gz
30725109 9# Source0-md5: 8d25341352fdae5ad5b36b9f18254908
cfe50fa2 10Source1: %{name}.tmpfiles
bde70b67 11URL: http://pptpclient.sourceforge.net/
30725109 12BuildRequires: rpmbuild(macros) >= 1.644
ed65f42e 13Requires: ppp >= 2.4.2
14Provides: pptp-linux
0262d3d2 15Obsoletes: pptp-linux
4625dd01 16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Client for the proprietary Microsoft Point-to-Point Tunneling
20Protocol, PPTP. Allows connection to a PPTP based VPN as used by
21employers and some cable and ADSL service providers. Requires MPPE
22support in kernel.
23
2f059370
JR
24%description -l pl.UTF-8
25Klient PPTP - własnościowego protokołu Point-to-Point Tunneling
26Microsoftu. Umożliwia łączenie z siecami VPN opartymi o PPTP używanymi
27przez niektóre firmy oraz dostarczycieli łącz kablowych i ADSL. Wymaga
28obsugi MPPE w jądrze.
4625dd01 29
30%prep
31%setup -q
0262d3d2 32%{__sed} -i -e 's/install -o root -m 555 pptp/install -m 755 pptp/' Makefile
4625dd01 33
34%build
02c02457 35%{__make} \
4759f71f 36 CC="%{__cc}" \
384f70b5 37 CFLAGS="%{rpmcflags}" \
f0f5dbe1
JP
38 LDFLAGS="%{rpmldflags}" \
39 IP="/sbin/ip"
4625dd01 40
41%install
42rm -rf $RPM_BUILD_ROOT
cfe50fa2 43install -d $RPM_BUILD_ROOT%{_localstatedir}/run/pptp \
30725109 44 $RPM_BUILD_ROOT%{systemdtmpfilesdir}
91f9cfe9 45
0262d3d2 46%{__make} install \
b51584a7 47 DESTDIR=$RPM_BUILD_ROOT
4625dd01 48
cfe50fa2
JR
49install %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
50
4625dd01 51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
30725109 56%doc AUTHORS NEWS PROTOCOL-SECURITY README TODO USING Documentation
91f9cfe9 57%attr(755,root,root) %{_sbindir}/pptp
da0b57c5 58%attr(755,root,root) %{_sbindir}/pptpsetup
0262d3d2 59%{_mandir}/man8/pptp.8*
da0b57c5 60%{_mandir}/man8/pptpsetup.8*
30725109 61%{systemdtmpfilesdir}/%{name}.conf
0262d3d2 62%dir %attr(750,root,root) %{_localstatedir}/run/pptp
63%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ppp/options.pptp
This page took 0.09431 seconds and 5 git commands to generate.