?? rp-pppoe.spec
字號:
Summary: PPP Over Ethernet (xDSL support)Name: rp-pppoeVersion: 3.10%if %(%{expand:test %{_vendor} != mandrake ; echo $?})Release: 1mdk%elseRelease: 1%endifLicense: GPLGroup: System Environment/DaemonsSource: http://www.roaringpenguin.com/penguin/pppoe/rp-pppoe-3.10.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%installumask 022cd srcmake install DESTDIR=$RPM_BUILD_ROOTmkdir -p $RPM_BUILD_ROOT/etc/init.dtest -f $RPM_BUILD_ROOT/etc/init.d/pppoe || cp ../scripts/pppoe-init $RPM_BUILD_ROOT/etc/init.d/pppoechmod 755 $RPM_BUILD_ROOT/etc/init.d/pppoecd ../guimake install DESTDIR=$RPM_BUILD_ROOTrm -f $RPM_BUILD_ROOT/etc/ppp/pppoe.conf-3.10rm -f $RPM_BUILD_ROOT/etc/ppp/firewall-masq-3.10rm -f $RPM_BUILD_ROOT/etc/ppp/firewall-standalone-3.10rm -f $RPM_BUILD_ROOT/etc/ppp/pppoe-server-options-example%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/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-pppoe.spec and rp-pppoe-gui.spec
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -