source: projects/specs/trunk/r/rp-pppoe/rp-pppoe-vl.spec @ 7054

Revision 7054, 6.7 KB checked in by iwamoto, 12 years ago (diff)

rp-pppoe: update to 3.11

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