📄 rp-pppoe.spec
字号:
Summary: PPP Over Ethernet (xDSL support)Name: rp-pppoeVersion: 3.6%if %(%{expand:test %{_vendor} != mandrake ; echo $?})Release: 1mdk%elseRelease: 1%endifCopyright: GPLGroup: System Environment/DaemonsSource: http://www.roaringpenguin.com/penguin/pppoe/rp-pppoe-3.6.tar.gzUrl: http://www.roaringpenguin.com/pppoe/Packager: David F. Skoll <dfs@roaringpenguin.com>BuildRoot: /tmp/pppoe-buildVendor: Roaring Penguin Software Inc.Requires: ppp >= 2.3.7# LIC: GPL%descriptionPPPoE (Point-to-Point Protocol over Ethernet) is a protocol used bymany DSL Internet Service Providers. Roaring Penguin has a freeclient for Linux systems to connect to PPPoE service providers.The client is a user-mode program and does not require any kernelmodifications. It is fully compliant with RFC 2516, the official PPPoEspecification.%prep%setupcd src./configure --mandir=%{_mandir}%buildcd srcmakecd ../guimake%installcd srcmake install RPM_INSTALL_ROOT=$RPM_BUILD_ROOTcd ../guimake install RPM_INSTALL_ROOT=$RPM_BUILD_ROOT%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,root,root)%doc doc/CHANGES doc/HOW-TO-CONNECT doc/LICENSE doc/KERNEL-MODE-PPPOE README SERVPOET%config(noreplace) /etc/ppp/pppoe.conf%config(noreplace) /etc/ppp/pppoe-server-options%config(noreplace) /etc/ppp/firewall-masq%config(noreplace) /etc/ppp/firewall-standalone/etc/ppp/plugins/*/usr/sbin/pppoe/usr/sbin/pppoe-server/usr/sbin/pppoe-sniff/usr/sbin/pppoe-relay/usr/sbin/pppoe-connect/usr/sbin/pppoe-start/usr/sbin/pppoe-stop/usr/sbin/pppoe-setup/usr/sbin/pppoe-status%{_mandir}/man5/pppoe.conf.5*%{_mandir}/man8/pppoe.8*%{_mandir}/man8/pppoe-server.8*%{_mandir}/man8/pppoe-relay.8*%{_mandir}/man8/pppoe-sniff.8*%{_mandir}/man8/pppoe-connect.8*%{_mandir}/man8/pppoe-start.8*%{_mandir}/man8/pppoe-stop.8*%{_mandir}/man8/pppoe-status.8*%{_mandir}/man8/pppoe-setup.8*/etc/rc.d/init.d/pppoe%package guiSummary: Tk PPP Over Ethernet Client (xDSL support)Group: System Environment/DaemonsRequires: rp-pppoeRequires: tk%description guiThis is a graphical wrapper around the rp-pppoe PPPoE client. PPPoE isa protocol used by many DSL Internet Service Providers.%post gui# Install entry in KDE menuif test -n "$KDEDIR" ; then mkdir -p "$KDEDIR/share/applnk/Internet" cat <<EOF > "$KDEDIR/share/applnk/Internet/tkpppoe.kdelnk"# KDE Config File[KDE Desktop Entry]Name=TkPPPoEComment=Start/Stop PPPoE connectionsExec=tkpppoeTerminal=0Type=ApplicationEOFfi# Install entry in GNOME menusGNOMEDIR=`gnome-config --datadir 2>/dev/null`if test -n "$GNOMEDIR" ; then mkdir -p "$GNOMEDIR/gnome/apps/Internet"cat <<EOF > "$GNOMEDIR/gnome/apps/Internet/tkpppoe.desktop"[Desktop Entry]Name=TkPPPoEComment=Start/Stop PPPoE connectionsExec=tkpppoeTerminal=0Type=ApplicationEOFfi%postun gui# Remove KDE menu entryif test -n "$KDEDIR" ; then rm -f "$KDEDIR/share/applnk/Internet/tkpppoe.kdelnk"fi# Remove GNOME menu entryGNOMEDIR=`gnome-config --datadir 2>/dev/null`if test -n "$GNOMEDIR" ; then rm -f "$GNOMEDIR/gnome/apps/Internet/tkpppoe.desktop"fi%files gui%defattr(-,root,root)%dir /etc/ppp/rp-pppoe-gui/usr/sbin/pppoe-wrapper/usr/bin/tkpppoe%{_mandir}/man1/tkpppoe.1*%{_mandir}/man1/pppoe-wrapper.1*/usr/share/tkpppoe/tkpppoe.html/usr/share/tkpppoe/mainwin-busy.png/usr/share/tkpppoe/mainwin-nonroot.png/usr/share/tkpppoe/mainwin.png/usr/share/tkpppoe/props-advanced.png/usr/share/tkpppoe/props-basic.png/usr/share/tkpppoe/props-nic.png/usr/share/tkpppoe/props-options.png/usr/share/tkpppoe/en.msg/usr/share/tkpppoe/ja.msg%changelog* Thu Jul 21 2001 Shigechika AIKAWA <shige@cin.nihon-u.ac.jp>- merged rp-pppeo.spec and rp-pppoe-gui.spec
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -