2 # - split anaconda-gui and anaconda-tui
3 # - kill /mnt/runtime symlink hacks (leave the host alone!)
6 # FC to PLD deps replace rules, extracted from cvs logs
7 :%s#libxml2-python#python-libxml2#
8 :%s#pyparted#python-parted#
9 :%s#booty#python-booty#
11 :%s#rhpxl#python-rhpxl#
12 :%s#rpm-python#python-rpm#
13 :%s#gtk2-devel#gtk+2-devel#
14 :%s#pykickstart#python-kickstart#
15 :%s#squashfs-tools#squashfs#
17 Summary: Graphical system installer
18 Summary(pl): Graficzny instalator systemu
23 Group: Applications/System
24 Source0: %{name}-%{version}.tar.bz2
25 # Source0-md5: f814e7d0011dd44c3c3cf12b6ddb5b40
26 Source1: %{name}-mk-images
27 Source2: %{name}-upd-instroot
28 Source3: %{name}-mk-images.i386
29 Source4: %{name}-scrubtree
30 Source5: %{name}-installclass-pld.py
31 Source6: %{name}-splash.png
32 # Source6-md5: 6b38a868585adfd3a96a4ad16973c1f8
33 Patch0: %{name}-pld.patch
34 Patch1: %{name}-BUS_XEN.patch
35 Patch2: %{name}-vserver-proc.patch
36 Patch3: %{name}-pkgorder.patch
37 Patch4: %{name}-errorhandling.patch
38 Patch5: %{name}-libdir.patch
39 Patch6: %{name}-pld-release.patch
40 Patch7: %{name}-timezone.patch
41 Patch8: %{name}-kernel.patch
42 Patch9: %{name}-optflags.patch
43 Patch10: %{name}-network.patch
44 Patch11: %{name}-branding.patch
45 Patch12: %{name}-x11.patch
46 Patch13: %{name}-installclasses.patch
47 URL: http://fedora.redhat.com/projects/anaconda-installer/
48 BuildRequires: X11-devel
49 BuildRequires: beecrypt-devel
50 BuildRequires: bzip2-devel
51 BuildRequires: device-mapper-devel >= 1.01.05
52 BuildRequires: device-mapper-static >= 1.01.05
53 BuildRequires: e2fsprogs-devel
54 BuildRequires: elfutils-devel
55 BuildRequires: gettext-devel >= 0.11
56 BuildRequires: glibc-localedb-all
57 BuildRequires: glibc-static
58 BuildRequires: gtk+2-devel
59 BuildRequires: intltool >= 0.31.2-3
60 BuildRequires: kudzu-devel >= 1.2.0
61 BuildRequires: libselinux-devel >= 1.6
62 BuildRequires: libselinux-static
63 BuildRequires: libsepol-devel
64 BuildRequires: libsepol-static
65 BuildRequires: newt-devel
66 BuildRequires: newt-static
67 BuildRequires: pango-devel
68 BuildRequires: pciutils-devel
70 BuildRequires: popt-static
71 BuildRequires: pump-devel >= 0.8.24-1
72 BuildRequires: pump-static >= 0.8.24-1
73 BuildRequires: python-booty >= 0.71
74 BuildRequires: python-devel
75 BuildRequires: python-kickstart
76 BuildRequires: python-libxml2
77 BuildRequires: python-rhpl
78 BuildRequires: python-rpm >= 4.2-0.61
79 BuildRequires: python-urlgrabber
80 BuildRequires: rpm-devel
81 BuildRequires: rpm-pythonprov
82 BuildRequires: rpmbuild(macros) >= 1.234
83 BuildRequires: sed >= 4.0
84 BuildRequires: slang-static
86 BuildRequires: zlib-devel
87 BuildRequires: zlib-static
88 Requires: /etc/pld-release
89 Requires: X11-OpenGL-core
92 Requires: device-mapper >= 1.01.05
95 Requires: glibc-localedb-all
99 Requires: kudzu > 1.2.0
103 Requires: python-booty >= 0.71-0.6
104 Requires: python-devel-tools
105 Requires: python-gnome-canvas
106 Requires: python-kickstart
107 Requires: python-libxml2
108 Requires: python-parted
109 Requires: python-rhpl >= 0.176-1.1
110 Requires: python-rhpxl >= 0.18-0.6
111 Requires: python-rpm >= 4.2-0.61
112 Requires: python-snack
113 Requires: python-urlgrabber >= 2.9.8
114 Requires: reiserfsprogs
115 Requires: system-config-keyboard
116 #Requires: system-logos
119 Requires: yum >= 2.5.1-3
121 Requires: python-pyblock >= 0.7-1
123 %ifnarch s390 s390x ppc64
124 Requires: python-rhpxl
126 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
129 The anaconda package contains the program which can be used to install
130 system. These files are of little use on an already installed system.
133 Pakiet anaconda zawiera program, którego mo¿na u¿yæ do zainstalowania
134 systemu. Pliki te maj± niewiele zastosowañ na ju¿ zainstalowanym
138 Summary: Graphical system installer portions needed only for fresh installs
139 Summary(pl): Elementy graficznego instalatora systemu potrzebne tylko przy nowych instalacjach
140 Group: Applications/System
142 Requires: %{name} = %{version}-%{release}
143 Requires: /usr/bin/strip
145 Requires: createrepo >= 0.4.3
147 Requires: glibc >= 6:2.3.6-5.1
149 Requires: policycoreutils >= 1.30
151 Requires: python-libxml2
152 Requires: python-rpm >= 4.2-0.61
154 Requires: yum >= 2.4.0
157 The anaconda-runtime package contains parts of the installation system
158 which are needed for installing new systems. These files are used to
159 build media sets, but are not meant for use on already installed
162 %description runtime -l pl
163 Pakiet anaconda-runtime zawiera elementy instalatora potrzebne tylko
164 do instalowania nowych systemów. Pliki te s³u¿± do tworzenia zestawu
165 no¶ników, nie s± przewidziane do u¿ywania na ju¿ zainstalowanych
169 Summary: Sourcecode for Anaconda
171 Group: Applications/System
172 Requires: %{name} = %{version}-%{release}
194 mv -f po/{eu_ES,eu}.po
196 # we don't want this being visible, neither want we to kill it (the
197 # other's aren't valid anyway (outdated probably).
198 mv installclasses/fedora.py{,.orig}
199 # we want this install class ;)
200 cp %{SOURCE5} installclasses/pld.py
202 sed -i -e 's/$(PYTHON) scripts/python scripts/' Makefile
206 if [ "$(locale -a | grep -c en_US.utf8)" = 0 ]; then
207 echo >&2 "en_US.utf8 locale not available. build will fail!"
208 echo >&2 "Install glibc-localedb-all or compile it!"
218 OPTFLAGS="%{rpmcflags}"
220 ./py-compile isys/isys.py
223 rm -rf $RPM_BUILD_ROOT
226 DESTDIR=$RPM_BUILD_ROOT
228 install isys/isys.py[co] $RPM_BUILD_ROOT%{_libdir}/anaconda
230 cp %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/mk-images
231 cp %{SOURCE2} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/upd-instroot
232 cp %{SOURCE3} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/mk-images.i386
233 cp %{SOURCE4} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/scrubtree
234 cp %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/anaconda/splash.png
237 %{!?debug:%py_postclean %{_libdir}/anaconda}
240 rm -rf $RPM_BUILD_ROOT
242 %files -f %{name}.lang
243 %defattr(644,root,root,755)
245 %attr(755,root,root) %{_bindir}/mini-wm
246 %attr(755,root,root) %{_sbindir}/anaconda
248 %dir %{_libdir}/anaconda
249 %{_libdir}/anaconda/*.py[co]
250 %dir %{_libdir}/anaconda/installclasses
251 %{_libdir}/anaconda/installclasses/*.py[co]
252 %dir %{_libdir}/anaconda/iw
253 %{_libdir}/anaconda/iw/*.py[co]
254 %dir %{_libdir}/anaconda/textw
255 %{_libdir}/anaconda/textw/*.py[co]
256 %{_libdir}/anaconda/lang-names
257 %{_libdir}/anaconda/lang-table
258 %{_libdir}/anaconda/lang-table-kon
259 %attr(755,root,root) %{_libdir}/anaconda/*-stub
260 %attr(755,root,root) %{_libdir}/anaconda/*.so
262 %if %{!?debug:0}%{?debug:1}
264 %defattr(644,root,root,755)
265 %{_libdir}/anaconda/*.py
266 %{_libdir}/anaconda/installclasses/*.py
267 %{_libdir}/anaconda/iw/*.py
268 %{_libdir}/anaconda/textw/*.py
272 %defattr(644,root,root,755)
273 %dir %{_libdir}/anaconda-runtime
274 %dir %attr(755,root,root) %{_libdir}/anaconda-runtime/boot
275 %attr(755,root,root) %{_libdir}/anaconda-runtime/boot/syslinux.cfg
276 %{_libdir}/anaconda-runtime/boot/boot.msg
277 %{_libdir}/anaconda-runtime/boot/general.msg
278 %{_libdir}/anaconda-runtime/boot/options.msg
279 %{_libdir}/anaconda-runtime/boot/param.msg
280 %{_libdir}/anaconda-runtime/boot/rescue.msg
281 %attr(755,root,root) %{_libdir}/anaconda-runtime/buildinstall
282 %attr(755,root,root) %{_libdir}/anaconda-runtime/checkisomd5
283 %attr(755,root,root) %{_libdir}/anaconda-runtime/filtermoddeps
284 %attr(755,root,root) %{_libdir}/anaconda-runtime/fixmtime.py
285 %attr(755,root,root) %{_libdir}/anaconda-runtime/getkeymaps
286 %attr(755,root,root) %{_libdir}/anaconda-runtime/implantisomd5
287 %{_libdir}/anaconda-runtime/keymaps-override-*
288 %attr(755,root,root) %{_libdir}/anaconda-runtime/libunicode-lite.so.1
289 %dir %attr(755,root,root) %{_libdir}/anaconda-runtime/loader
290 %attr(755,root,root) %{_libdir}/anaconda-runtime/loader/init
291 %attr(755,root,root) %{_libdir}/anaconda-runtime/loader/loader
292 %{_libdir}/anaconda-runtime/loader/loader.tr
293 %{_libdir}/anaconda-runtime/loader/module-info
294 %{_libdir}/anaconda-runtime/loader/unicode-linedraw-chars.txt
295 %attr(755,root,root) %{_libdir}/anaconda-runtime/makestamp.py
296 %attr(755,root,root) %{_libdir}/anaconda-runtime/mapshdr
297 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images
298 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.i386
299 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.ia64
300 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.ppc
301 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.s390
302 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.x86_64
303 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.i386
304 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.ppc
305 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.x86_64
306 %attr(755,root,root) %{_libdir}/anaconda-runtime/moddeps
307 %attr(755,root,root) %{_libdir}/anaconda-runtime/modlist
308 %attr(755,root,root) %{_libdir}/anaconda-runtime/pkgorder
309 %attr(755,root,root) %{_libdir}/anaconda-runtime/pyisomd5sum.so
310 %attr(755,root,root) %{_libdir}/anaconda-runtime/pyrc.py
311 %attr(755,root,root) %{_libdir}/anaconda-runtime/pythondeps
312 %attr(755,root,root) %{_libdir}/anaconda-runtime/readmap
313 %attr(755,root,root) %{_libdir}/anaconda-runtime/scrubtree
314 %{_libdir}/anaconda-runtime/screenfont-*.gz
315 %attr(755,root,root) %{_libdir}/anaconda-runtime/splittree.py
316 %attr(755,root,root) %{_libdir}/anaconda-runtime/trimmodalias
317 %attr(755,root,root) %{_libdir}/anaconda-runtime/trimpciids
318 %attr(755,root,root) %{_libdir}/anaconda-runtime/upd-instroot
319 %attr(755,root,root) %{_libdir}/anaconda-runtime/yumcache