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