rp-pppoe-vl.spec 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. Summary: PPP Over Ethernet (xDSL support)
  2. Name: rp-pppoe
  3. Version: 3.11
  4. Release: 3%{?_dist_release}
  5. Group: System Environment/Daemons
  6. License: GPL
  7. URL: http://www.roaringpenguin.com/pppoe/
  8. Source0: http://www.roaringpenguin.com/pppoe/%{name}-%{version}.tar.gz
  9. Source1: tkpppoe.desktop
  10. Source2: rp-pppoe-3.5-ja.msg
  11. Source3: tkpppoe-html_ja.tar.gz
  12. Patch0: rp-pppoe-3.2-vine.patch
  13. Patch1: rp-pppoe-3.5-tkpppoe_help.patch
  14. Patch2: rp-pppoe-3.5-tkpppoe_i18n.patch
  15. Patch10: rp-pppoe-3.11-initscripts-7.2.10.patch
  16. Requires: ppp >= 2.3.7
  17. Requires(pre): /sbin/chkconfig
  18. BuildRequires: nkf >= 2.01
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. %package gui
  23. Summary: GUI wrapper around the rp-pppoe PPPoE client
  24. Summary(ja): rp-pppoe GUIラッパー
  25. Group: Applications/Internet
  26. Requires: %{name} >= 3.0, tk >= 8.4.1
  27. %description
  28. PPPoE (Point-to-Point Protocol over Ethernet) is a protocol used by
  29. many ADSL Internet Service Providers. Roaring Penguin has a free
  30. client for Linux systems to connect to PPPoE service providers.
  31. The client is a user-mode program and does not require any kernel
  32. modifications. It is fully compliant with RFC 2516, the official PPPoE
  33. specification.
  34. %description -l ja
  35. PPPoE (Point-to-Point Protocol over Ethernet)は、多くのADSL,FTTH
  36. インターネットサービスプロバイダで用いられているプロトコルです。
  37. このパッケージは、PPPoE サービスプロバイダに接続するための、
  38. Linuxシステム用のフリーのクライアントです。
  39. このクライアントはユーザーモードプログラムであり、カーネルの
  40. 修正を一切必要としません。このクライアントは、公式なPPPoEの
  41. 仕様であるRFC 2516に完全に従っています。
  42. %description gui
  43. This is a graphical wrapper around the rp-pppoe PPPoE client. PPPoE is
  44. a protocol used by many DSL Internet Service Providers.
  45. %description -l ja gui
  46. これはPPPoEクライアント rp-pppoe のGUIラッパーです。PPPoEは多くの
  47. ADSL,FTTHインターネットサービスプロバイダで用いられているプロトコルです。
  48. PPPoEクライアントをGUIで使いたい場合には、このパッケージをインストール
  49. してください。tclとtkのパーケージもインストールしておく必要があります。
  50. %prep
  51. %setup -q -a 3
  52. %patch0 -p1
  53. %patch1 -b .org
  54. %patch2 -b .i18n
  55. %patch10 -p1 -b .initscripts7210
  56. (cd gui
  57. %__install %{SOURCE2} ja.euc
  58. nkf -E -w ja.euc > ja.msg
  59. )
  60. %build
  61. cd src
  62. %configure
  63. cd ..
  64. make -C src
  65. make -C gui
  66. %install
  67. %__rm -rf %{buildroot}
  68. # make install RPM_INSTALL_ROOT=%{buildroot} -C src
  69. # make install RPM_INSTALL_ROOT=%{buildroot} -C gui
  70. make -C src install DESTDIR=%{buildroot}
  71. make -C gui install DESTDIR=%{buildroot}
  72. %__install -m 644 gui/html/* %{buildroot}/%{_datadir}/tkpppoe
  73. %__install -d %{buildroot}/%{_datadir}/applications
  74. %__install -m 644 %{SOURCE1} %{buildroot}/%{_datadir}/applications/tkpppoe.desktop
  75. # %post
  76. # /sbin/chkconfig --add pppoe
  77. %preun
  78. if [ $1 = 0 ]; then
  79. /sbin/chkconfig --del pppoe
  80. /etc/rc.d/init.d/pppoe stop
  81. fi
  82. %clean
  83. # rm -rf %{buildroot}
  84. %files
  85. %defattr(-,root,root)
  86. %doc doc/CHANGES doc/HOW-TO-CONNECT doc/LICENSE doc/KERNEL-MODE-PPPOE
  87. %doc doc/PROBLEMS README
  88. %config %{_sysconfdir}/rc.d/init.d/pppoe
  89. %config(noreplace) %{_sysconfdir}/ppp/pppoe.conf
  90. %config(noreplace) %{_sysconfdir}/ppp/pppoe-server-options
  91. %config(noreplace) %{_sysconfdir}/ppp/firewall-masq
  92. %config(noreplace) %{_sysconfdir}/ppp/firewall-standalone
  93. %{_sysconfdir}/ppp/plugins/*
  94. %{_sbindir}/pppoe
  95. %{_sbindir}/pppoe-server
  96. %{_sbindir}/pppoe-sniff
  97. %{_sbindir}/pppoe-relay
  98. %{_sbindir}/pppoe-connect
  99. %{_sbindir}/pppoe-start
  100. %{_sbindir}/pppoe-stop
  101. %{_sbindir}/pppoe-setup
  102. %{_sbindir}/pppoe-status
  103. %{_mandir}/man5/*
  104. %{_mandir}/man8/*
  105. %files gui
  106. %defattr(-,root,root)
  107. %doc doc/CHANGES doc/HOW-TO-CONNECT doc/LICENSE doc/KERNEL-MODE-PPPOE
  108. %doc doc/PROBLEMS README
  109. %dir /etc/ppp/rp-pppoe-gui
  110. %{_sbindir}/pppoe-wrapper
  111. %{_bindir}/tkpppoe
  112. %{_datadir}/tkpppoe
  113. %{_mandir}/man1/*
  114. %config(missingok) %{_datadir}/applications/tkpppoe.desktop
  115. %changelog
  116. * Fri Nov 2 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.11-1
  117. - new upstream release
  118. - update patch10
  119. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 3.10-3
  120. - rebuilt with rpm-4.8.1-3
  121. * Thu Apr 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.10-2
  122. - spec in utf-8
  123. * Sat Feb 07 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.10-1
  124. - new upstream release
  125. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 3.8-1vl5
  126. - applied new versioning policy
  127. * Sun Dec 16 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 3.8-0vl5
  128. - update patch10 to set DEVNAME in pppoe-connect
  129. * Sat Nov 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 3.8-0vl4
  130. - update pppoe-{start,stop,connect,status} fot initscripts-7.2.10
  131. (<BTS:0560>)
  132. * Tue Jan 16 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.8-0vl3
  133. - separete .desktop as Source1 to use UTF-8 encoding.
  134. * Sat Jan 13 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.8-0vl2
  135. - change .desktop installation directory. <BTS:VineLinux:405>
  136. * Mon Sep 11 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.8-0vl1
  137. - rebuild for Vine 4.0/VineSeed
  138. * Mon Jul 24 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.8-0vl0.1
  139. - test package for Vine 3.2
  140. - new upstream release 3.8
  141. - change filename adsl-* to pppoe-* in file section
  142. * Sun Jul 20 2003 Masaki Shinomiya <shino@pos.to> 3.5-0vl3
  143. - ja.msg in UTF-8, japanese html help file
  144. - both translation originally by Ryoji Kawagishi
  145. - allow mozilla for help browser, tkpppoe.desktop, i18n.patch
  146. - group of the gui package to Applications/Internet
  147. - vendor and distribution
  148. * Sat Mar 15 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5-0vl2
  149. - rebuild with new toolchains
  150. * Sun Sep 29 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 3.5-0vl1
  151. - new upstream release 3.5
  152. * Fri Jun 07 2002 Tomoya TAKA <taka@vinelinux.org> 3.4-0vl1
  153. - update to 3.4
  154. - split tkpppoe.desktop from spec file (%%{SOURCE1})
  155. * Sun Feb 24 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 3.3-0vl2
  156. - remove %%post script
  157. - do not chkconfig --add at install time, we need some configuration before using.
  158. * Fri Sep 14 2001 Toru Sagami <sagami@vinelinux.org>
  159. - 3.3-0vl1
  160. * Fri Jul 20 2001 <sagami@vinelinux.org>
  161. - 3.2-0vl1: added patch for vine-release and erased BuildPreReq
  162. * Thu Jul 05 2001 <sagami@vinelinux.org>
  163. - 3.1-0vl1
  164. - use more (not better!) macros
  165. - added BuildPreReq /etc/redhat-release (trick of a kind)
  166. * Wed Jun 27 2001 Tomoya TAKA <tomoya@olive.plala.or.jp>
  167. - 3.0-1vl2
  168. - add %%config(noreplace)
  169. - add /etc/X11/applnk/Internet/tkpppoe.desktop to rp-pppoe-gui
  170. - add Prereq: /sbin/chkconfig
  171. * Wed Apr 18 2001 Tomoya TAKA <tomoya@olive.plala.or.jp>
  172. - 3.0-1vl1
  173. - first package tailored for Vine Linux 2.x
  174. - merge rp-pppoe-gui-3.0-1