source: projects/specs/trunk/y/yaboot/yaboot-vl.spec @ 3540

Revision 3540, 6.5 KB checked in by shaolin, 13 years ago (diff)
  • yaboot: updated to 1.3.16
Line 
1%define _noVersionedDependencies 1
2
3Summary:     yaboot - Yet Another Bootloader for New World PowerMacs
4Summary(ja): yaboot - New World ROM PowerMac 用ブートローダ
5Name:        yaboot
6Version:     1.3.16
7Release:     1%{?_dist_release}
8License:     GPL
9Group:       System Environment/Base
10Source0:     http://penguinppc.org/projects/yaboot/yaboot-%{version}.tar.gz
11Patch4:      yaboot-1.3.16-yabootconfig.patch
12Patch7:      yaboot-1.3.10-ext3.patch
13Patch8:      yaboot-1.3.13-sbindir.patch
14Patch10:     yaboot-1.3.10-parted.patch
15#Patch11:     yaboot-1.3.13-manpage.patch
16#Patch12:     yaboot-1.3.13-gcc34.patch
17#Patch23:     yaboot-1.3.13-malloc.patch
18#Patch26:     yaboot-1.3.13-printversion.patch
19#Patch27:     yaboot-ppc64.patch
20Patch30:     yaboot-1.3.16-e2fsprogs-build-fix.patch
21#Vine Patch(es)
22Patch100:    yaboot-1.3.6-vine.patch
23
24URL:         http://www.alaska.net/~erbenson/ybin/
25BuildRoot:   %{_tmppath}/%{name}-%{version}-root
26ExclusiveArch: ppc
27#Requires:    pmac-utils >= 2.0
28Requires:    powerpc-utils >= 1.0.0
29Requires:    hfsutils >= 3.2.6
30Obsoletes:   ybin
31Provides:    ybin = %{version}-%{release}
32
33
34%description
35ybin (YaBoot INstaller) is designed to install yaboot,
36an OpenFirmware bootloader for GNU/Linux written by Benjamin
37Harrenschmidt. When ybin is configured correctly you can simply
38type ybin, and the bootloader and its configuration file will be
39installed/updated on the bootstrap partition without any furthur
40user intervention.
41
42%description -l ja
43ybin (YaBoot Installer) は yaboot (Benjamin Harrenschmidt さんが
44作られた GNU/Linux 用 OpenFirmware ブートローダ) をインストール
45するために作られました.ybin が正しく設定されていれば,あとは
46ybin とタイプするだけで,あとは何もしなくてもブートローダと
47設定ファイルがインストール/更新されます.
48
49
50%prep
51%setup -q
52
53# fix Makefile for non-root users to build/install
54sed -e "s/ -o root//g" \
55    -e "s/ -g root//g" Makefile > Makefile.new
56mv -f Makefile.new Makefile
57
58%patch4 -p1 -b .yabootconfig
59%patch7 -p1 -b .ext3
60%patch8 -p1 -b .sbin
61%patch10 -p1 -b .parted
62#%patch11 -p1 -b .manpage
63#%patch12 -p1 -b .gcc34
64#%patch23 -p1 -b .malloc
65#%patch26 -p1 -b .printversion
66#%patch27 -p1 -b .ppc64
67%patch30 -p1 -b .e2fsprogs
68
69%patch100 -p1 -b .vine
70
71patch -p0 < man.patch
72
73
74%build
75make
76
77
78%install
79rm -rf ${RPM_BUILD_ROOT}
80make ROOT=${RPM_BUILD_ROOT} PREFIX=%{_prefix} MANDIR=share/man SBINDIR=/sbin install
81cp -a etc/yaboot.conf etc/yaboot.conf.sample
82
83# for temporal compatibility
84install -d -m 0755 ${RPM_BUILD_ROOT}/%{_sbindir}
85for X in ofpath ybin yabootconfig mkofboot ; do
86        ln -sf /sbin/$X ${RPM_BUILD_ROOT}/%{_sbindir}/$X
87done
88
89rm -f $RPM_BUILD_ROOT/etc/yaboot.conf
90touch $RPM_BUILD_ROOT/etc/yaboot.conf
91
92
93%clean
94rm -rf ${RPM_BUILD_ROOT}
95
96
97%files
98%defattr(-,root,root)
99
100%doc BUGS COPYING ChangeLog INSTALL README* THANKS TODO changelog
101%doc doc etc/yaboot.conf.sample
102
103%{_libdir}/yaboot/*
104/sbin/*
105%{_sbindir}/*
106%{_mandir}/man5/*
107%{_mandir}/man8/*
108%ghost %config(noreplace) %{_sysconfdir}/yaboot.conf
109
110
111%changelog
112* Mon Apr 18 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.3.16-1
113- updated to the newest upstream release
114- remove patches that has been already merged into upstream
115- fix some patches for this version
116- add Patch30 to fix build failure with recent e2fsprogs headers
117
118* Sat Mar 28 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.3.13-2
119- Requires powerpc-utils now in place of pmac-utils
120
121* Tue Aug 12 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.3.13-1
122- new versioning policy, spec in UTF-8
123
124* Mon May 21 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.13-0vl3
125- rebuilt with new toolchain
126- import Patch{12,26,27} from 1.3.13-1.16.ydl.0
127
128* Wed Sep 13 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.13-0vl2
129- s/Copyright/License/
130- import Patch4/7/8/10/11/23 from YDL
131- move {ofpath,ybin,yabootconfig,mkofboot} from /usr/sbin/ to /sbin/
132  /usr/sbin/* are still there for temporal compabitility
133
134* Wed Sep 23 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.13-0vl1
135- updated to upstream 1.3.13 release
136
137* Fri Nov 21 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.11-0vl1
138- updated to upstream 1.3.11 release (Patch11's change was applied)
139
140* Wed Apr 09 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.10-0vl2
141- modified and added Patch11 again
142
143* Tue Mar 26 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.10-0vl1
144- updated to upstream 1.3.10 release
145  (fix ofpath support for early iMacs with current benh kernels)
146
147* Wed Feb 12 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.9-0vl1
148- updated to upstream 1.3.9 release (support newest PowerMac/PowerBook)
149- removed Patch11 (now we can determine the path with /proc/ide/*/devspec)
150  however this devspec entry is only in benh kernels on Oct.29 2002 and up
151
152* Tue Mar 05 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.6-0vl2
153- added Patch11 to detect AEC62XX-based IDE card
154  (although too ad-hoc to be for universal use. Yup, TODO. Sigh.)
155
156* Sat Dec 29 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.6-0vl1
157- updated to 1.3.6 release
158
159* Fri Nov 16 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.5-0vl1
160- updated to 1.3.5 release (first Vine release after ybin/yaboot merger...)
161
162* Wed Jun 13 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
163- 1.1.1-0vl3
164- detect /etc/vine-release and set <OS-VOLUME-NAME> in ofboot.b
165
166* Wed May 23 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
167- 1.1.1-0vl2
168- Doh! The patch was incorrect. Fixed now.
169
170* Wed May 23 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
171- 1.1.1-0vl1
172- ybin updated to 1.1.1, as well as yaboot to 1.2.1
173
174* Sat Feb 10 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
175- 0.30-0vl3
176- yaboot updated to 1.0 release
177
178* Tue Jan 09 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
179- 0.30-0vl2
180- use better macros
181- man pages moved under /usr/share/man
182
183* Tue Nov 21 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
184- 0.30-0vl1
185- updated to ybin-0.30 with yaboot-0.9
186
187* Wed Oct 18 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
188- 0.26-0vl3
189- modified ofboot (added to patch10) for newest iMac/iBook
190  (thanks K.Hanai-san!)
191
192* Mon Oct 16 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
193- 0.26-0vl2
194- modified ybin (patch10) to install dummy System/Finder file
195  (without this, MacOS may break bootstrap flag...)
196
197* Sat Oct 07 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
198- 0.26-0vl1
199- first rpm release for Vine Linux/ppc
200- replace yaboot with version 0.8 (from BenH's site)
Note: See TracBrowser for help on using the repository browser.