1 | Summary: Simple kernel loader which uses a FAT ot iso9660 filesystem ot a PXE network |
---|
2 | Summary(ja): FAT/iso9660 ファイルシステムまたは PXE ネットワークを利用するシンプルなカーネルローダー |
---|
3 | Name: syslinux |
---|
4 | Version: 4.04 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPLv2+ |
---|
7 | Group: Applications/System |
---|
8 | Source0: ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{version}.tar.bz2 |
---|
9 | URL: http://syslinux.zytor.com/ |
---|
10 | ExclusiveArch: %{ix86} x86_64 |
---|
11 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | BuildRequires: nasm, perl, netpbm-progs |
---|
13 | Requires: mtools |
---|
14 | |
---|
15 | Vendor: Project Vine |
---|
16 | Distribution: Vine Linux |
---|
17 | Packager: daisuke, shaolin |
---|
18 | |
---|
19 | |
---|
20 | %description |
---|
21 | SYSLINUX is a suite of bootloaders, currently supporting DOS FAT filesystems, |
---|
22 | Linux ext2/ext3 filesystems (EXTLINUX), PXE network boots |
---|
23 | (PXELINUX), or ISO 9660 CD-ROMs (ISOLINUX). It also includes a tool, |
---|
24 | MEMDISK, which loads legacy operating systems from these media. |
---|
25 | |
---|
26 | %description -l ja |
---|
27 | SYSLINUX はカーネルローダー集です。現在は FAT ファイルシステム、Linux の |
---|
28 | ext2/ext3 ファイルシステム(EXTLINUX)、PXE ネットワークブート (PXELINUX) および |
---|
29 | ISO 9660 CDROM (ISOLINUX) に対応しています。 |
---|
30 | |
---|
31 | |
---|
32 | %package perl |
---|
33 | Summary: Syslinux tools written in perl |
---|
34 | Summary(ja): Syslinux の perl ツール集 |
---|
35 | Group: Applications/System |
---|
36 | |
---|
37 | %description perl |
---|
38 | Syslinux tools written in perl |
---|
39 | |
---|
40 | |
---|
41 | %package devel |
---|
42 | Summary: Headers and libraries for syslinux development. |
---|
43 | Summary(ja): Syslinux 開発用ヘッダとライブラリ |
---|
44 | Group: Development/Libraries |
---|
45 | |
---|
46 | %description devel |
---|
47 | Headers and libraries for syslinux development. |
---|
48 | |
---|
49 | |
---|
50 | %package extlinux |
---|
51 | Summary: The EXTLINUX bootloader, for booting the local system. |
---|
52 | Summary(ja): EXTLINUX ブートローダ |
---|
53 | Group: System/Boot |
---|
54 | Requires: syslinux |
---|
55 | |
---|
56 | %description extlinux |
---|
57 | The EXTLINUX bootloader, for booting the local system, as well as all |
---|
58 | the SYSLINUX/PXELINUX modules in /boot. |
---|
59 | |
---|
60 | |
---|
61 | %package tftpboot |
---|
62 | Summary: SYSLINUX modules in /tftpboot, available for network booting |
---|
63 | Summary(ja): ネットワークブート用 SYSLINUX モジュール |
---|
64 | Group: Applications/Internet |
---|
65 | Requires: syslinux |
---|
66 | |
---|
67 | %description tftpboot |
---|
68 | All the SYSLINUX/PXELINUX modules directly available for network |
---|
69 | booting in the /tftpboot directory. |
---|
70 | |
---|
71 | |
---|
72 | %prep |
---|
73 | %setup -q -n syslinux-%{version} |
---|
74 | |
---|
75 | |
---|
76 | %build |
---|
77 | make clean |
---|
78 | make installer |
---|
79 | make -C sample tidy |
---|
80 | |
---|
81 | |
---|
82 | %install |
---|
83 | rm -rf %{buildroot} |
---|
84 | |
---|
85 | mkdir -p %{buildroot}%{_bindir} |
---|
86 | mkdir -p %{buildroot}%{_sbindir} |
---|
87 | mkdir -p %{buildroot}%{_syssbindir} |
---|
88 | mkdir -p %{buildroot}%{_libdir}/syslinux |
---|
89 | mkdir -p %{buildroot}%{_includedir} |
---|
90 | make install-all \ |
---|
91 | INSTALLROOT=%{buildroot} BINDIR=%{_bindir} SBINDIR=%{_syssbindir} \ |
---|
92 | LIBDIR=%{_prefix}/lib DATADIR=%{_datadir} \ |
---|
93 | MANDIR=%{_mandir} INCDIR=%{_includedir} \ |
---|
94 | TFTPBOOT=/tftpboot EXTLINUXDIR=/boot/extlinux |
---|
95 | |
---|
96 | install -m 755 linux/syslinux-nomtools %{buildroot}%{_datadir}/syslinux |
---|
97 | install -m 755 linux/syslinux %{buildroot}%{_datadir}/syslinux |
---|
98 | |
---|
99 | mkdir -p %{buildroot}/%{_docdir}/%{name}-%{version}/sample |
---|
100 | install -m 644 sample/sample.* %{buildroot}/%{_docdir}/%{name}-%{version}/sample/ |
---|
101 | mkdir -p %{buildroot}/etc |
---|
102 | ( cd %{buildroot}/etc && ln -s ../boot/extlinux/extlinux.conf . ) |
---|
103 | |
---|
104 | # don't ship libsyslinux, at least, not for now |
---|
105 | rm -f %{buildroot}%{_prefix}/lib/libsyslinux* |
---|
106 | rm -f %{buildroot}%{_includedir}/syslinux.h |
---|
107 | |
---|
108 | |
---|
109 | %clean |
---|
110 | rm -rf $RPM_BUILD_ROOT |
---|
111 | |
---|
112 | |
---|
113 | %files |
---|
114 | %defattr(-,root,root) |
---|
115 | %doc NEWS README* COPYING |
---|
116 | %doc doc/* |
---|
117 | %doc sample |
---|
118 | %{_mandir}/man1/gethostip* |
---|
119 | %{_mandir}/man1/syslinux* |
---|
120 | %{_mandir}/man1/extlinux* |
---|
121 | %{_bindir}/gethostip |
---|
122 | %{_bindir}/isohybrid |
---|
123 | %{_bindir}/memdiskfind |
---|
124 | %{_bindir}/syslinux |
---|
125 | %dir %{_datadir}/syslinux |
---|
126 | %{_datadir}/syslinux/*.com |
---|
127 | %{_datadir}/syslinux/*.exe |
---|
128 | %{_datadir}/syslinux/*.c32 |
---|
129 | %{_datadir}/syslinux/*.bin |
---|
130 | %{_datadir}/syslinux/*.0 |
---|
131 | %{_datadir}/syslinux/memdisk |
---|
132 | %dir %{_datadir}/syslinux/dosutil |
---|
133 | %{_datadir}/syslinux/dosutil/* |
---|
134 | %{_datadir}/syslinux/syslinux |
---|
135 | %{_datadir}/syslinux/syslinux-nomtools |
---|
136 | %dir %{_datadir}/syslinux/diag |
---|
137 | %{_datadir}/syslinux/diag/* |
---|
138 | |
---|
139 | %files perl |
---|
140 | %defattr(-,root,root) |
---|
141 | %{_mandir}/man1/lss16toppm* |
---|
142 | %{_mandir}/man1/ppmtolss16* |
---|
143 | %{_mandir}/man1/syslinux2ansi* |
---|
144 | %{_bindir}/keytab-lilo |
---|
145 | %{_bindir}/lss16toppm |
---|
146 | %{_bindir}/md5pass |
---|
147 | %{_bindir}/mkdiskimage |
---|
148 | %{_bindir}/ppmtolss16 |
---|
149 | %{_bindir}/pxelinux-options |
---|
150 | %{_bindir}/sha1pass |
---|
151 | %{_bindir}/syslinux2ansi |
---|
152 | %{_bindir}/isohybrid.pl |
---|
153 | |
---|
154 | |
---|
155 | %files devel |
---|
156 | %defattr(-,root,root) |
---|
157 | %dir %{_datadir}/syslinux/com32 |
---|
158 | %{_datadir}/syslinux/com32/* |
---|
159 | |
---|
160 | |
---|
161 | %files extlinux |
---|
162 | %{_syssbindir}/extlinux |
---|
163 | /boot/extlinux |
---|
164 | %config /etc/extlinux.conf |
---|
165 | |
---|
166 | |
---|
167 | %files tftpboot |
---|
168 | /tftpboot |
---|
169 | |
---|
170 | |
---|
171 | %post extlinux |
---|
172 | # If we have a /boot/extlinux.conf file, assume extlinux is our bootloader |
---|
173 | # and update it. |
---|
174 | if [ -f /boot/extlinux/extlinux.conf ]; then \ |
---|
175 | extlinux --update /boot/extlinux ; \ |
---|
176 | elif [ -f /boot/extlinux.conf ]; then \ |
---|
177 | mkdir -p /boot/extlinux && \ |
---|
178 | mv /boot/extlinux.conf /boot/extlinux/extlinux.conf && \ |
---|
179 | extlinux --update /boot/extlinux ; \ |
---|
180 | fi |
---|
181 | |
---|
182 | |
---|
183 | %changelog |
---|
184 | * Mon Jun 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.04-1 |
---|
185 | - update to 4.04 |
---|
186 | |
---|
187 | * Tue Jan 11 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.03-1 |
---|
188 | - new upstream release |
---|
189 | |
---|
190 | * Sun Sep 26 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.02-2 |
---|
191 | - remove Obsoletes: syslinux-devel |
---|
192 | |
---|
193 | * Sat Sep 25 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.02-1 |
---|
194 | - new upstream release |
---|
195 | - split out -devel/perl/extlinux/tftpboot subpackages |
---|
196 | |
---|
197 | * Sat Nov 28 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.83-1 |
---|
198 | - new upstream release |
---|
199 | |
---|
200 | * Fri Jun 12 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.82-1 |
---|
201 | - new upstream release w/ bugfixes |
---|
202 | |
---|
203 | * Thu May 14 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.80-1 |
---|
204 | - new upstream release 3.80 w/ dozens of bugfixes and new features :) |
---|
205 | |
---|
206 | * Thu Dec 11 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.63-3 |
---|
207 | - add missing files to the filelist |
---|
208 | |
---|
209 | * Fri May 23 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.63-2 |
---|
210 | - spec in UTF-8 |
---|
211 | |
---|
212 | * Mon May 19 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.63-1 |
---|
213 | - updated to new upstream release |
---|
214 | |
---|
215 | * Wed Nov 21 2007 Shu KONNO <owa@bg.wakwak.com> 3.53-0vl1 |
---|
216 | - new upstream source |
---|
217 | |
---|
218 | * Wed May 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.07-0vl1 |
---|
219 | - new upstream source |
---|
220 | - add extlinux |
---|
221 | - remove and obsolete syslinux-devel |
---|
222 | |
---|
223 | * Fri Dec 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13-0vl1 |
---|
224 | - new upstream release |
---|
225 | |
---|
226 | * Fri Jun 25 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10-0vl1 |
---|
227 | - new upstream release |
---|
228 | |
---|
229 | * Wed Mar 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.52-2vl1 |
---|
230 | - rebuild for Vine Linux |
---|
231 | |
---|
232 | * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com> |
---|
233 | - Bump release + rebuild. |
---|
234 | |
---|
235 | * Sat Feb 10 2001 Matt Wilson <msw@redhat.com> |
---|
236 | - 1.52 |
---|
237 | |
---|
238 | * Wed Jan 24 2001 Matt Wilson <msw@redhat.com> |
---|
239 | - 1.51pre7 |
---|
240 | |
---|
241 | * Mon Jan 22 2001 Matt Wilson <msw@redhat.com> |
---|
242 | - 1.51pre5 |
---|
243 | |
---|
244 | * Fri Jan 19 2001 Matt Wilson <msw@redhat.com> |
---|
245 | - 1.51pre3, with e820 detection |
---|
246 | |
---|
247 | * Tue Dec 12 2000 Than Ngo <than@redhat.com> |
---|
248 | - rebuilt with fixed fileutils |
---|
249 | |
---|
250 | * Thu Nov 9 2000 Than Ngo <than@redhat.com> |
---|
251 | - update to 1.49 |
---|
252 | - update ftp site |
---|
253 | - clean up specfile |
---|
254 | - add some useful documents |
---|
255 | |
---|
256 | * Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
257 | - add %%defattr (release 4) |
---|
258 | |
---|
259 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
260 | - automatic rebuild |
---|
261 | |
---|
262 | * Thu Jul 06 2000 Trond Eivind Glomsr藷?<teg@redhat.com> |
---|
263 | - use %%{_tmppath} |
---|
264 | - change application group (Applications/Internet doesn't seem |
---|
265 | right to me) |
---|
266 | - added BuildRequires |
---|
267 | |
---|
268 | * Tue Apr 04 2000 Erik Troan <ewt@redhat.com> |
---|
269 | - initial packaging |
---|