]> git.pld-linux.org Git - packages/pptpd.git/blob - pptpd.spec
- changed all BuildRoot definitons
[packages/pptpd.git] / pptpd.spec
1 Summary:        Serves out PPTP connections
2 Name:           pptpd
3 Version:        1.1.1
4 Release:        1
5 License:        GPL
6 Group:          Utilities/System
7 Vendor:         Matthew Ramsay http://www.moretonbay.com/vpn/pptp.html
8 Source:         http://www.moretonbay.com/vpn/releases/%{name}-%{version}.tgz
9 URL:            http://www.moretonbay.com/vpn/pptp.html
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %define         _sysconfdir     /etc
13
14 %description
15 PPTPd, Point-to-Point Tunnelling Protocol Daemon, offers out connections to
16 pptp clients to become virtual members of the IP pool owned by the pptp
17 server. In effect, these clients become virtual members of the local
18 subnet, regardless of what their real IP address is. A tunnel is built
19 between the pptp server and client, and packets from the subnet are wrapped
20 and passed between server and client similar to other C/S protocols.
21
22 %prep
23 %setup -q
24
25 %build
26 LDFLAGS="-s"; export LDFLAGS
27 %configure
28 make
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32
33 install -d $RPM_BUILD_ROOT%{_sysconfdir}
34
35 make install DESTDIR=$RPM_BUILD_ROOT
36
37 install samples/pptpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/pptpd.conf
38
39 gzip -9nf AUTHORS README TODO html/* samples/* \
40         $RPM_BUILD_ROOT%{_mandir}/*/*
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc {AUTHORS,COPYING,INSTALL,README,TODO,html/*,samples/*}.gz
48 %config(noreplace) %{_sysconfdir}/pptpd.conf
49 %attr(755,root,root) %{_sbindir}/*
50 %{_mandir}/man?/*
This page took 0.081763 seconds and 3 git commands to generate.