a8f26430f38e2a5c0d0bf752120eac6258d9642a
[l2tpns.git] / l2tpns.spec
1 Summary: A high-speed clustered L2TP LNS
2 Name: l2tpns
3 Version: 2.0.2
4 Release: 1
5 Copyright: GPL
6 Group: System Environment/Daemons
7 Source: http://optusnet.dl.sourceforge.net/sourceforge/l2tpns/l2tpns-%{version}.tar.gz
8 URL: http://sourceforge.net/projects/l2tpns
9 BuildRoot: %{_tmppath}/%{name}-%{version}-root
10 Prereq: /sbin/chkconfig
11 BuildRequires: libcli >= 1.8.1
12 Requires: libcli >= 1.8.1
13
14 %description
15 A L2TP LNS which does not require l2tpd, pppd or any kernel patches. Can support
16 up to 65535 active sessions on a single box. Also supports ISP features like
17 speed throttling, walled garden, usage accounting, and more.
18
19 %prep
20 %setup -q
21
22 %build
23 make
24
25 %install
26 rm -rf %{buildroot}
27 mkdir -p %{buildroot}
28 make install DESTDIR=%{buildroot}
29
30 %clean
31 rm -rf %{buildroot}
32
33 %files
34 %defattr(-,root,root)
35 %doc Changes INSTALL INTERNALS COPYING Docs/manual.html
36 %dir /etc/l2tpns
37 %config(noreplace) /etc/l2tpns/users
38 %config(noreplace) /etc/l2tpns/startup-config
39 %config(noreplace) /etc/l2tpns/ip_pool
40 %attr(700,root,root) /usr/sbin/l2tpns
41 %attr(755,root,root) /usr/lib/l2tpns
42
43 %changelog
44 * Thu Sep 02 2004 David Parrish <david@dparrish.com> 2.0.2
45 - Initial SPEC file generation