]> git.pld-linux.org Git - packages/rp-pppoe.git/blob - rp-pppoe.spec
824baa74990b5416b922a5c01289f05dfadca3d2
[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 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} -C src install \
55         RPM_INSTALL_ROOT=$RPM_BUILD_ROOT
56 %{__make} -C gui install \
57         RPM_INSTALL_ROOT=$RPM_BUILD_ROOT
58
59 # This is necessary for the gui to work, but it shouldn't be done here !
60 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ppp/rp-pppoe-gui
61
62 %clean
63 rm -fr $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc doc/* README
68 %attr(755,root,root) %{_sbindir}/*
69 %exclude %{_bindir}/tkpppoe
70 %exclude %{_sbindir}/pppoe-wrapper
71
72 %config(noreplace) %{_sysconfdir}/ppp/pppoe.conf
73 %config(noreplace) %{_sysconfdir}/ppp/pppoe-server-options
74 %config(noreplace) %{_sysconfdir}/ppp/firewall-masq
75 %config(noreplace) %{_sysconfdir}/ppp/firewall-standalone
76 %{_mandir}/man[58]/*
77
78 %files gui
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_bindir}/tkpppoe
81 %attr(755,root,root) %{_sbindir}/pppoe-wrapper
82 %dir %{_sysconfdir}/ppp/rp-pppoe-gui
83 %{_datadir}/tkpppoe
84 %{_mandir}/man1/*
This page took 0.048333 seconds and 2 git commands to generate.