2 # - repodata is searched from PLD and PLD/RPMS paths, so go figure
3 # - code poldek backend (python-poldek pkg exists!)
4 # - kill /mnt/runtime symlink hacks (leave the host alone!)
5 # - 01:20:59 ERROR : lokkit run failed: /usr/sbin/lokkit can not be run
6 # - lrwxrwxrwx 1 root root 11 Aug 31 04:21 menu.lst -> ./grub.conf (DEAD LINK)
7 # -rw-r--r-- 1 root root 551 Aug 31 04:21 menu.lst.rpmsave
8 # - can't find font latcyrheb
10 # SYSFONT="latarcyrheb-sun16"
11 # - pldize sysconfig/timezone
12 # - yuminstaller downloads all packages twice
13 # 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
14 # 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 # - network config files are not pld-style nor even path
16 # - lvm2-initrd should be installed
18 # - /etc/modprobe.conf for geninitrd
19 # - gui installer packages selector:
20 #Traceback (most recent call last):
21 # File "/home/glen/tmp/anaconda-11.0.5-root-glen//usr/lib/anaconda/gui.py", line 954, in nextClicked
22 # File "/home/glen/tmp/anaconda-11.0.5-root-glen//usr/lib/anaconda/gui.py", line 1313, in setScreen
23 # File "/home/glen/tmp/anaconda-11.0.5-root-glen//usr/lib/anaconda/iw/package_gui.py", line 29, in getScreen
24 # File "/usr/share/python2.4/site-packages/pirut/GroupSelector.py", line 410, in doRefresh
25 # File "/usr/share/python2.4/site-packages/pirut/GroupSelector.py", line 407, in populateCategories
26 #TypeError: iter should be a GtkTreeIter
27 # - definition of anaconda pixmaps: http://www.raimokoski.com/lineox/Distro-definition-dir.txt
30 # FC to PLD deps replace rules, extracted from cvs logs
31 :%s#libxml2-python#python-libxml2#
32 :%s#pyparted#python-parted#
33 :%s#booty#python-booty#
35 :%s#rhpxl#python-rhpxl#
36 :%s#rpm-python#python-rpm#
37 :%s#gtk2-devel#gtk+2-devel#
38 :%s#pykickstart#python-kickstart#
39 :%s#squashfs-tools#squashfs#
41 Summary: Graphical system installer
42 Summary(pl.UTF-8): Graficzny instalator systemu
47 Group: Applications/System
48 Source0: %{name}-%{version}.tar.bz2
49 # Source0-md5: 31614b29612f2a5c6ff87a1eb88224e3
50 Source1: %{name}-mk-images
51 Source2: %{name}-upd-instroot
52 Source3: %{name}-mk-images.i386
53 Source4: %{name}-scrubtree
54 Source5: %{name}-installclass-pld.py
55 Source6: %{name}-splash.png
56 # Source6-md5: 6b38a868585adfd3a96a4ad16973c1f8
57 Patch0: %{name}-pld.patch
58 Patch1: %{name}-warnings.patch
59 Patch2: %{name}-vserver-proc.patch
60 #Patch3: %{name}-pkgorder.patch
61 Patch4: %{name}-errorhandling.patch
62 Patch5: %{name}-libdir.patch
63 Patch6: %{name}-pld-release.patch
64 Patch7: %{name}-timezone.patch
65 #Patch8: %{name}-kernel.patch
66 Patch9: %{name}-optflags.patch
67 Patch10: %{name}-network.patch
68 Patch11: %{name}-branding.patch
69 Patch13: %{name}-installclasses.patch
70 Patch14: %{name}-release_notes_viewer_gui.patch
71 Patch15: %{name}-hosttree.patch
72 #Patch16: %{name}-popt.patch
73 URL: http://fedoraproject.org/wiki/Anaconda
74 BuildRequires: bzip2-devel
75 BuildRequires: device-mapper-static >= 1.01.05
76 BuildRequires: e2fsprogs-devel
77 BuildRequires: gettext-devel >= 0.11
78 BuildRequires: glib2-static
79 BuildRequires: glibc-static
80 BuildRequires: gtk+2-devel
81 BuildRequires: isomd5sum-devel
82 BuildRequires: kudzu-devel >= 1.2.68
83 BuildRequires: libdhcp-devel
84 BuildRequires: libdhcp-static
85 BuildRequires: libdhcp4client-devel
86 BuildRequires: libdhcp6client-devel
87 BuildRequires: libnl-devel
88 BuildRequires: libselinux-devel >= 1.6
89 BuildRequires: libsepol-devel
90 BuildRequires: newt-static
91 BuildRequires: popt-static
92 BuildRequires: python-devel
93 BuildRequires: python-kickstart >= 1.42
94 BuildRequires: python-rhpl
95 BuildRequires: python-rpm
96 BuildRequires: rpm-pythonprov
97 BuildRequires: rpmbuild(macros) >= 1.234
98 BuildRequires: sed >= 4.0
99 BuildRequires: slang-static
100 BuildRequires: zlib-static
101 Requires: /etc/pld-release
103 Requires: device-mapper >= 1.01.05
106 Requires: glibc-localedb-all
111 Requires: kudzu >= 1.2.34.3-1.1
114 Requires: python-bdevid >= 6.0.24
115 Requires: python-booty >= 0.93
116 Requires: python-dbus
117 Requires: python-devel-tools
118 Requires: python-kickstart >= 1.42
119 Requires: python-libuser
120 Requires: python-libxml2
121 Requires: python-parted >= 1.8.9
122 Requires: python-rhpl >= 0.212
123 Requires: python-rpm >= 4.2-0.61
124 Requires: python-selinux
125 Requires: python-snack
126 Requires: python-urlgrabber >= 2.9.8
127 Requires: reiserfsprogs
128 Requires: system-config-date >= 1.9.17
130 Requires: yum >= 2.5.1-3
132 Requires: python-pyblock >= 0.7-1
134 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
137 The anaconda package contains the program which can be used to install
138 system. These files are of little use on an already installed system.
140 %description -l pl.UTF-8
141 Pakiet anaconda zawiera program, którego można użyć do zainstalowania
142 systemu. Pliki te mają niewiele zastosowań na już zainstalowanym
146 Summary: Anaconda GTK+2 GUI
147 Group: Applications/System
148 Requires: %{name} = %{version}-%{release}
149 Requires: X11-OpenGL-core
150 Requires: X11-Xserver
153 Requires: python-gnome-canvas
154 Requires: python-pygtk-glade
155 Requires: system-config-date
156 Requires: system-config-keyboard
157 Requires: system-logos
160 %ifnarch s390 s390x ppc64
161 Requires: python-rhpxl >= 0.25
165 Anaconda GUI portion.
168 Summary: Graphical system installer portions needed only for fresh installs
169 Summary(pl.UTF-8): Elementy graficznego instalatora systemu potrzebne tylko przy nowych instalacjach
170 Group: Applications/System
172 Requires: %{name} = %{version}-%{release}
173 Requires: /usr/bin/strip
175 Requires: createrepo >= 0.4.3
177 Requires: glibc >= 6:2.3.6-5.1
179 Requires: policycoreutils >= 1.30
181 Requires: python-libxml2
182 Requires: python-rpm >= 4.2-0.61
184 Requires: yum >= 2.4.0
187 The anaconda-runtime package contains parts of the installation system
188 which are needed for installing new systems. These files are used to
189 build media sets, but are not meant for use on already installed
192 %description runtime -l pl.UTF-8
193 Pakiet anaconda-runtime zawiera elementy instalatora potrzebne tylko
194 do instalowania nowych systemów. Pliki te służą do tworzenia zestawu
195 nośników, nie są przewidziane do używania na już zainstalowanych
199 Summary: Sourcecode for Anaconda
200 Summary(pl.UTF-8): Kod źródłowy Anacondy
201 Group: Applications/System
203 Requires: %{name} = %{version}-%{release}
206 Anaconda sourcecode for debugging purposes.
208 %description debug -l pl.UTF-8
209 Kod źródłowy Anacondy do celów diagnostycznych.
218 # obsolete, all parts merged
226 # obsolete, already merged
233 # does it make any harm?
238 mv -f po/{eu_ES,eu}.po
240 # we don't want this being visible, neither want we to kill it (the
241 # other's aren't valid anyway (outdated probably).
242 mv installclasses/fedora.py{,.orig}
243 # we want this install class ;)
244 cp %{SOURCE5} installclasses/pld.py
246 sed -i -e 's/$(PYTHON) scripts/python scripts/' Makefile
250 if [ "$(locale -a | grep -c en_US.utf8)" = 0 ]; then
251 : "en_US.utf8 locale not available. build will fail!"
252 : "Install glibc-localedb-all or compile it!"
256 %{__make} depend -j1 \
257 PYTHON="%{__python}" \
258 PYTHONINCLUDE="%{py_incdir}" \
262 PYTHON="%{__python}" \
263 PYTHONINCLUDE="%{py_incdir}" \
266 OPTFLAGS="%{rpmcflags}"
268 ./py-compile isys/isys.py
271 rm -rf $RPM_BUILD_ROOT
274 DESTDIR=$RPM_BUILD_ROOT
276 install isys/isys.py[co] $RPM_BUILD_ROOT%{_libdir}/anaconda
278 cp %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/mk-images
279 cp %{SOURCE2} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/upd-instroot
280 cp %{SOURCE3} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/mk-images.i386
281 cp %{SOURCE4} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/scrubtree
282 cp %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/anaconda/splash.png
284 # for ./isys/lang.c:isysLoadKeymap()
286 cp -a loader2/keymaps-i386 $RPM_BUILD_ROOT%{_sysconfdir}/keymaps.gz
289 cp -a loader2/keymaps-ppc $RPM_BUILD_ROOT%{_sysconfdir}/keymaps.gz
292 cp -a loader2/keymaps-x86_64 $RPM_BUILD_ROOT%{_sysconfdir}/keymaps.gz
297 # hack so py_postclean would preserve it
298 #install $RPM_BUILD_ROOT%{_libdir}/anaconda/iw/release_notes{.py,}
300 %{!?debug:%py_postclean %{_libdir}/anaconda}
302 cp %{SOURCE5} $RPM_BUILD_ROOT/%{_libdir}/anaconda/installclasses/pld.py
305 rm -rf $RPM_BUILD_ROOT
307 %files -f %{name}.lang
308 %defattr(644,root,root,755)
310 %{_sysconfdir}/keymaps.gz
311 /etc/security/console.apps/liveinst
312 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/liveinst
313 %attr(755,root,root) %{_bindir}/liveinst
314 %attr(755,root,root) %{_sbindir}/anaconda
315 %attr(755,root,root) %{_sbindir}/gptsync
316 %attr(755,root,root) %{_sbindir}/liveinst
317 %attr(755,root,root) %{_sbindir}/showpart
318 %dir %{_libdir}/anaconda
319 %{_libdir}/anaconda/*.py[co]
320 %dir %{_libdir}/anaconda/installclasses
321 %{_libdir}/anaconda/installclasses/*.py[co]
322 %{_libdir}/anaconda/installclasses/*.py
323 %dir %{_libdir}/anaconda/textw
324 %{_libdir}/anaconda/textw/*.py[co]
325 %{_libdir}/anaconda/lang-names
326 %{_libdir}/anaconda/lang-table
327 %attr(755,root,root) %{_libdir}/anaconda/_isys.so
330 %defattr(644,root,root,755)
331 %attr(755,root,root) %{_bindir}/mini-wm
332 %attr(755,root,root) %{_libdir}/anaconda/xutils.so
333 %{_desktopdir}/liveinst.desktop
334 %dir %{_libdir}/anaconda/iw
335 %{_libdir}/anaconda/iw/*.py[co]
338 %if %{!?debug:0}%{?debug:1}
340 %defattr(644,root,root,755)
341 %{_libdir}/anaconda/*.py
342 %{_libdir}/anaconda/installclasses/*.py
343 %{_libdir}/anaconda/iw/*.py
344 %{_libdir}/anaconda/textw/*.py
348 %defattr(644,root,root,755)
349 %attr(755,root,root) %{_libdir}/anaconda/*-stub
350 %dir %{_libdir}/anaconda-runtime
351 %dir %{_libdir}/anaconda-runtime/boot
352 %{_libdir}/anaconda-runtime/boot/boot.msg
353 %{_libdir}/anaconda-runtime/boot/general.msg
354 %{_libdir}/anaconda-runtime/boot/grub.conf
355 %{_libdir}/anaconda-runtime/boot/options.msg
356 %{_libdir}/anaconda-runtime/boot/param.msg
357 %{_libdir}/anaconda-runtime/boot/rescue.msg
358 %{_libdir}/anaconda-runtime/boot/syslinux.cfg
359 %attr(755,root,root) %{_libdir}/anaconda-runtime/buildinstall
360 %attr(755,root,root) %{_libdir}/anaconda-runtime/buildinstall.functions
361 %attr(755,root,root) %{_libdir}/anaconda-runtime/genmodinfo
362 %attr(755,root,root) %{_libdir}/anaconda-runtime/getkeymaps
363 %{_libdir}/anaconda-runtime/keymaps-override-*
364 %dir %{_libdir}/anaconda-runtime/loader
365 %attr(755,root,root) %{_libdir}/anaconda-runtime/loader/init
366 %attr(755,root,root) %{_libdir}/anaconda-runtime/loader/loader
367 %{_libdir}/anaconda-runtime/loader/loader.tr
368 %{_libdir}/anaconda-runtime/loader/unicode-linedraw-chars.txt
369 %attr(755,root,root) %{_libdir}/anaconda-runtime/makestamp.py
370 %attr(755,root,root) %{_libdir}/anaconda-runtime/maketreeinfo.py
371 %attr(755,root,root) %{_libdir}/anaconda-runtime/mapshdr
372 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images
373 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.alpha
374 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.i386
375 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.ia64
376 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.efi
377 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.ppc
378 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.s390
379 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.x86
380 %attr(755,root,root) %{_libdir}/anaconda-runtime/modlist
381 %attr(755,root,root) %{_libdir}/anaconda-runtime/pyrc.py
382 %attr(755,root,root) %{_libdir}/anaconda-runtime/readmap
383 %attr(755,root,root) %{_libdir}/anaconda-runtime/scrubtree
384 %{_libdir}/anaconda-runtime/screenfont-*.gz
385 %attr(755,root,root) %{_libdir}/anaconda-runtime/trimpciids
386 %attr(755,root,root) %{_libdir}/anaconda-runtime/upd-instroot
387 %attr(755,root,root) %{_libdir}/anaconda-runtime/upd-updates