]> git.pld-linux.org Git - packages/rp-pppoe.git/blob - rp-pppoe.spec
b0ad02fcb4bd0137cbb9d12b7e79299469249fdf
[packages/rp-pppoe.git] / rp-pppoe.spec
1 Summary:        PPP Over Ethernet client
2 Summary(pl):    Klient PPP Poprzez Ethernet (PPPoE)
3 Name:           rp-pppoe
4 Version:        3.5
5 Release:        1
6 Source0:        http://www.roaringpenguin.com/pppoe/%{name}-%{version}.tar.gz
7 URL:            http://www.roaringpenguin.com/pppoe/
8 License:        GPL
9 Group:          Networking
10 Requires:       ppp >= 2.4.1
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 PPPoE (Point-to-Point Protocol over Ethernet) is a protocol used by
15 many ADSL Internet Service Providers. Roaring Penguin has a free
16 client for Linux systems to connect to PPPoE service providers.
17
18 The client is a user-mode program and does not require any kernel
19 modifications. It is fully compliant with RFC 2516, the official PPPoE
20 specification.
21
22 %description -l pl
23 PPPoE (Protokó³ Punkt-Punkt poprzez Ethernet) jest protoko³em
24 u¿ywanym przez wielu dostarczycieli us³ugi ADSL. 
25
26 Klient jest programem dzia³aj±cym w przestrzeni u¿ytkownika,
27 a to oznacza, ¿e nie wymaga modyfikacji kernela. Jest w pe³ni
28 zgodny z oficjaln± specyfikacj± PPPoE - RFC 2516.
29
30 %package gui
31 Summary:        GUI front-end for rp-pppoe
32 Summary(pl):    Graficzny interfejs dla rp-pppoe
33 Group:          X11/Networking
34 Requires:       rp-pppoe >= 3.4
35
36 %description gui
37 This package contains the graphical frontend (tk-based) for rp-pppoe.
38
39 %description -l pl gui
40 Graficzny interfejs u¿ytkownika (bazuj±cy na tk) dla rp-pppoe.
41
42 %prep
43 %setup -q
44 %build
45 cd src
46 %{__aclocal}
47 %{__autoconf}
48 %configure
49 # kernel mode PPPoE support is in pppd 2.4.2 (cvs) package
50 # and we want here such support in utilities like pppoe-server
51 echo '#define HAVE_LINUX_KERNEL_PPPOE 1' >> config.h
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} -C src install \
58         RPM_INSTALL_ROOT=$RPM_BUILD_ROOT
59 %{__make} -C gui install \
60         RPM_INSTALL_ROOT=$RPM_BUILD_ROOT
61
62 # This is necessary for the gui to work, but it shouldn't be done here !
63 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ppp/rp-pppoe-gui
64
65 %clean
66 rm -fr $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc doc/* README
71 %attr(755,root,root) %{_sbindir}/*
72 %exclude %{_bindir}/tkpppoe
73 %exclude %{_sbindir}/pppoe-wrapper
74
75 %config(noreplace) %{_sysconfdir}/ppp/pppoe.conf
76 %config(noreplace) %{_sysconfdir}/ppp/pppoe-server-options
77 %config(noreplace) %{_sysconfdir}/ppp/firewall-masq
78 %config(noreplace) %{_sysconfdir}/ppp/firewall-standalone
79 %{_mandir}/man[58]/*
80
81 %files gui
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_bindir}/tkpppoe
84 %attr(755,root,root) %{_sbindir}/pppoe-wrapper
85 %dir %{_sysconfdir}/ppp/rp-pppoe-gui
86 %{_datadir}/tkpppoe
87 %{_mandir}/man1/*
This page took 0.05266 seconds and 2 git commands to generate.