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