2 # - kill /mnt/runtime symlink hacks (leave the host alone!)
3 # - 01:20:59 ERROR : lokkit run failed: /usr/sbin/lokkit can not be run
4 # - lrwxrwxrwx 1 root root 11 Aug 31 04:21 menu.lst -> ./grub.conf (DEAD LINK)
5 # -rw-r--r-- 1 root root 551 Aug 31 04:21 menu.lst.rpmsave
6 # - can't find font latcyrheb
8 # SYSFONT="latarcyrheb-sun16"
10 # - yuminstaller downloads all packages twice
11 # 1156976072.958 317 192.168.2.3 TCP_MISS/200 209182 GET http://distrib/pld/dists/ac/PLD/i686/PLD/RPMS/sed-4.1.5-2.i686.rpm - DIRECT/x.x.x.x application/x-rpm
12 # 1156976073.808 701 192.168.2.3 TCP_HIT/200 209188 GET http://distrib/pld/dists/ac/PLD/i686/PLD/RPMS/sed-4.1.5-2.i686.rpm - NONE/- application/x-rpm
15 # FC to PLD deps replace rules, extracted from cvs logs
16 :%s#libxml2-python#python-libxml2#
17 :%s#pyparted#python-parted#
18 :%s#booty#python-booty#
20 :%s#rhpxl#python-rhpxl#
21 :%s#rpm-python#python-rpm#
22 :%s#gtk2-devel#gtk+2-devel#
23 :%s#pykickstart#python-kickstart#
24 :%s#squashfs-tools#squashfs#
26 Summary: Graphical system installer
27 Summary(pl): Graficzny instalator systemu
32 Group: Applications/System
33 Source0: %{name}-%{version}.tar.bz2
34 # Source0-md5: f814e7d0011dd44c3c3cf12b6ddb5b40
35 Source1: %{name}-mk-images
36 Source2: %{name}-upd-instroot
37 Source3: %{name}-mk-images.i386
38 Source4: %{name}-scrubtree
39 Source5: %{name}-installclass-pld.py
40 Source6: %{name}-splash.png
41 # Source6-md5: 6b38a868585adfd3a96a4ad16973c1f8
42 Patch0: %{name}-pld.patch
43 Patch1: %{name}-BUS_XEN.patch
44 Patch2: %{name}-vserver-proc.patch
45 Patch3: %{name}-pkgorder.patch
46 Patch4: %{name}-errorhandling.patch
47 Patch5: %{name}-libdir.patch
48 Patch6: %{name}-pld-release.patch
49 Patch7: %{name}-timezone.patch
50 Patch8: %{name}-kernel.patch
51 Patch9: %{name}-optflags.patch
52 Patch10: %{name}-network.patch
53 Patch11: %{name}-branding.patch
54 Patch12: %{name}-x11.patch
55 Patch13: %{name}-installclasses.patch
56 Patch14: %{name}-release_notes_viewer_gui.patch
57 Patch15: %{name}-hosttree.patch
58 URL: http://fedora.redhat.com/projects/anaconda-installer/
59 BuildRequires: bzip2-devel
60 BuildRequires: device-mapper-static >= 1.01.05
61 BuildRequires: e2fsprogs-devel
62 BuildRequires: gettext-devel >= 0.11
63 BuildRequires: glibc-static
64 BuildRequires: gtk+2-devel
65 BuildRequires: kudzu-devel >= 1.2.0
66 BuildRequires: libselinux-static >= 1.6
67 BuildRequires: libsepol-static
68 BuildRequires: newt-static
69 BuildRequires: popt-static
70 BuildRequires: pump-static >= 0.8.24-1
71 BuildRequires: python-devel
72 BuildRequires: python-rhpl
73 BuildRequires: python-rpm
74 BuildRequires: rpm-pythonprov
75 BuildRequires: rpmbuild(macros) >= 1.234
76 BuildRequires: sed >= 4.0
77 BuildRequires: slang-static
78 BuildRequires: zlib-static
79 Requires: /etc/pld-release
80 Requires: device-mapper >= 1.01.05
83 Requires: glibc-localedb-all
87 Requires: kudzu >= 1.2.34.3-1.1
90 Requires: python-booty >= 0.71-0.6
91 Requires: python-devel-tools
92 Requires: python-kickstart
93 Requires: python-libxml2
94 Requires: python-parted
95 Requires: python-rhpl >= 0.176-1.2
96 Requires: python-rpm >= 4.2-0.61
97 Requires: python-snack
98 Requires: python-urlgrabber >= 2.9.8
99 Requires: reiserfsprogs
101 Requires: yum >= 2.5.1-3
103 Requires: python-pyblock >= 0.7-1
105 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
108 The anaconda package contains the program which can be used to install
109 system. These files are of little use on an already installed system.
112 Pakiet anaconda zawiera program, którego mo¿na u¿yæ do zainstalowania
113 systemu. Pliki te maj± niewiele zastosowañ na ju¿ zainstalowanym
117 Summary: Anaconda GTK+2 GUI
118 Group: Applications/System
119 Requires: %{name} = %{version}-%{release}
120 Requires: X11-OpenGL-core
121 Requires: X11-Xserver
124 Requires: python-gnome-canvas
125 Requires: system-config-date
126 Requires: system-config-keyboard
127 #Requires: system-logos
129 %ifnarch s390 s390x ppc64
130 Requires: python-rhpxl >= 0.18-0.9
134 Anaconda GUI portion.
137 Summary: Graphical system installer portions needed only for fresh installs
138 Summary(pl): Elementy graficznego instalatora systemu potrzebne tylko przy nowych instalacjach
139 Group: Applications/System
141 Requires: %{name} = %{version}-%{release}
142 Requires: /usr/bin/strip
144 Requires: createrepo >= 0.4.3
146 Requires: glibc >= 6:2.3.6-5.1
148 Requires: policycoreutils >= 1.30
150 Requires: python-libxml2
151 Requires: python-rpm >= 4.2-0.61
153 Requires: yum >= 2.4.0
156 The anaconda-runtime package contains parts of the installation system
157 which are needed for installing new systems. These files are used to
158 build media sets, but are not meant for use on already installed
161 %description runtime -l pl
162 Pakiet anaconda-runtime zawiera elementy instalatora potrzebne tylko
163 do instalowania nowych systemów. Pliki te s³u¿± do tworzenia zestawu
164 no¶ników, nie s± przewidziane do u¿ywania na ju¿ zainstalowanych
168 Summary: Sourcecode for Anaconda
169 Summary(pl): Kod ¼ród³owy Anacondy
170 Group: Applications/System
172 Requires: %{name} = %{version}-%{release}
175 Anaconda sourcecode for debugging purposes.
177 %description debug -l pl
178 Kod ¼ród³owy Anacondy do celów diagnostycznych.
200 mv -f po/{eu_ES,eu}.po
202 # we don't want this being visible, neither want we to kill it (the
203 # other's aren't valid anyway (outdated probably).
204 mv installclasses/fedora.py{,.orig}
205 # we want this install class ;)
206 cp %{SOURCE5} installclasses/pld.py
208 sed -i -e 's/$(PYTHON) scripts/python scripts/' Makefile
212 if [ "$(locale -a | grep -c en_US.utf8)" = 0 ]; then
213 echo >&2 "en_US.utf8 locale not available. build will fail!"
214 echo >&2 "Install glibc-localedb-all or compile it!"
218 %{__make} depend -j1 \
224 OPTFLAGS="%{rpmcflags}"
226 ./py-compile isys/isys.py
229 rm -rf $RPM_BUILD_ROOT
232 DESTDIR=$RPM_BUILD_ROOT
234 install isys/isys.py[co] $RPM_BUILD_ROOT%{_libdir}/anaconda
236 cp %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/mk-images
237 cp %{SOURCE2} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/upd-instroot
238 cp %{SOURCE3} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/mk-images.i386
239 cp %{SOURCE4} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/scrubtree
240 cp %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/anaconda/splash.png
242 # for ./isys/lang.c:isysLoadKeymap()
244 cp -a loader2/keymaps-i386 $RPM_BUILD_ROOT%{_sysconfdir}/keymaps.gz
247 cp -a loader2/keymaps-ppc $RPM_BUILD_ROOT%{_sysconfdir}/keymaps.gz
250 cp -a loader2/keymaps-x86_64 $RPM_BUILD_ROOT%{_sysconfdir}/keymaps.gz
255 # hack so py_postclean would preserve it
256 install $RPM_BUILD_ROOT%{_libdir}/anaconda/iw/release_notes_viewer_gui{.py,}
258 %{!?debug:%py_postclean %{_libdir}/anaconda}
261 rm -rf $RPM_BUILD_ROOT
263 %files -f %{name}.lang
264 %defattr(644,root,root,755)
266 %{_sysconfdir}/keymaps.gz
267 %attr(755,root,root) %{_sbindir}/anaconda
268 %dir %{_libdir}/anaconda
269 %{_libdir}/anaconda/*.py[co]
270 %exclude %{_libdir}/anaconda/xsetup.py[co]
271 %dir %{_libdir}/anaconda/installclasses
272 %{_libdir}/anaconda/installclasses/*.py[co]
273 %dir %{_libdir}/anaconda/textw
274 %{_libdir}/anaconda/textw/*.py[co]
275 %{_libdir}/anaconda/lang-names
276 %{_libdir}/anaconda/lang-table
277 %{_libdir}/anaconda/lang-table-kon
278 %attr(755,root,root) %{_libdir}/anaconda/_isys.so
281 %defattr(644,root,root,755)
282 %attr(755,root,root) %{_bindir}/mini-wm
283 %attr(755,root,root) %{_libdir}/anaconda/iw/release_notes_viewer_gui
284 %attr(755,root,root) %{_libdir}/anaconda/xmouse.so
285 %attr(755,root,root) %{_libdir}/anaconda/xutils.so
286 %{_libdir}/anaconda/xsetup.py[co]
287 %dir %{_libdir}/anaconda/iw
288 %{_libdir}/anaconda/iw/*.py[co]
291 %if %{!?debug:0}%{?debug:1}
293 %defattr(644,root,root,755)
294 %{_libdir}/anaconda/*.py
295 %{_libdir}/anaconda/installclasses/*.py
296 %{_libdir}/anaconda/iw/*.py
297 %{_libdir}/anaconda/textw/*.py
301 %defattr(644,root,root,755)
302 %attr(755,root,root) %{_libdir}/anaconda/*-stub
303 %dir %{_libdir}/anaconda-runtime
304 %dir %{_libdir}/anaconda-runtime/boot
305 %attr(755,root,root) %{_libdir}/anaconda-runtime/boot/syslinux.cfg
306 %{_libdir}/anaconda-runtime/boot/boot.msg
307 %{_libdir}/anaconda-runtime/boot/general.msg
308 %{_libdir}/anaconda-runtime/boot/options.msg
309 %{_libdir}/anaconda-runtime/boot/param.msg
310 %{_libdir}/anaconda-runtime/boot/rescue.msg
311 %attr(755,root,root) %{_libdir}/anaconda-runtime/buildinstall
312 %attr(755,root,root) %{_libdir}/anaconda-runtime/checkisomd5
313 %attr(755,root,root) %{_libdir}/anaconda-runtime/filtermoddeps
314 %attr(755,root,root) %{_libdir}/anaconda-runtime/fixmtime.py
315 %attr(755,root,root) %{_libdir}/anaconda-runtime/getkeymaps
316 %attr(755,root,root) %{_libdir}/anaconda-runtime/implantisomd5
317 %{_libdir}/anaconda-runtime/keymaps-override-*
318 %attr(755,root,root) %{_libdir}/anaconda-runtime/libunicode-lite.so.1
319 %dir %{_libdir}/anaconda-runtime/loader
320 %attr(755,root,root) %{_libdir}/anaconda-runtime/loader/init
321 %attr(755,root,root) %{_libdir}/anaconda-runtime/loader/loader
322 %{_libdir}/anaconda-runtime/loader/loader.tr
323 %{_libdir}/anaconda-runtime/loader/module-info
324 %{_libdir}/anaconda-runtime/loader/unicode-linedraw-chars.txt
325 %attr(755,root,root) %{_libdir}/anaconda-runtime/makestamp.py
326 %attr(755,root,root) %{_libdir}/anaconda-runtime/mapshdr
327 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images
328 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.i386
329 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.ia64
330 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.ppc
331 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.s390
332 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.x86_64
333 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.i386
334 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.ppc
335 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.x86_64
336 %attr(755,root,root) %{_libdir}/anaconda-runtime/moddeps
337 %attr(755,root,root) %{_libdir}/anaconda-runtime/modlist
338 %attr(755,root,root) %{_libdir}/anaconda-runtime/pkgorder
339 %attr(755,root,root) %{_libdir}/anaconda-runtime/pyisomd5sum.so
340 %attr(755,root,root) %{_libdir}/anaconda-runtime/pyrc.py
341 %attr(755,root,root) %{_libdir}/anaconda-runtime/pythondeps
342 %attr(755,root,root) %{_libdir}/anaconda-runtime/readmap
343 %attr(755,root,root) %{_libdir}/anaconda-runtime/scrubtree
344 %{_libdir}/anaconda-runtime/screenfont-*.gz
345 %attr(755,root,root) %{_libdir}/anaconda-runtime/splittree.py
346 %attr(755,root,root) %{_libdir}/anaconda-runtime/trimmodalias
347 %attr(755,root,root) %{_libdir}/anaconda-runtime/trimpciids
348 %attr(755,root,root) %{_libdir}/anaconda-runtime/upd-instroot
349 %attr(755,root,root) %{_libdir}/anaconda-runtime/yumcache