rp-pppoe-vl.spec 6.8 KB

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