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 Patch14: %{name}-release_notes_viewer_gui.patch
48 URL: http://fedora.redhat.com/projects/anaconda-installer/
49 BuildRequires: X11-devel
50 BuildRequires: beecrypt-devel
51 BuildRequires: bzip2-devel
52 BuildRequires: device-mapper-devel >= 1.01.05
53 BuildRequires: device-mapper-static >= 1.01.05
54 BuildRequires: e2fsprogs-devel
55 BuildRequires: elfutils-devel
56 BuildRequires: gettext-devel >= 0.11
57 BuildRequires: glibc-localedb-all
58 BuildRequires: glibc-static
59 BuildRequires: gtk+2-devel
60 BuildRequires: intltool >= 0.31.2-3
61 BuildRequires: kudzu-devel >= 1.2.0
62 BuildRequires: libselinux-devel >= 1.6
63 BuildRequires: libselinux-static
64 BuildRequires: libsepol-devel
65 BuildRequires: libsepol-static
66 BuildRequires: newt-devel
67 BuildRequires: newt-static
68 BuildRequires: pango-devel
69 BuildRequires: pciutils-devel
71 BuildRequires: popt-static
72 BuildRequires: pump-devel >= 0.8.24-1
73 BuildRequires: pump-static >= 0.8.24-1
74 BuildRequires: python-booty >= 0.71
75 BuildRequires: python-devel
76 BuildRequires: python-kickstart
77 BuildRequires: python-libxml2
78 BuildRequires: python-rhpl
79 BuildRequires: python-rpm >= 4.2-0.61
80 BuildRequires: python-urlgrabber
81 BuildRequires: rpm-devel
82 BuildRequires: rpm-pythonprov
83 BuildRequires: rpmbuild(macros) >= 1.234
84 BuildRequires: sed >= 4.0
85 BuildRequires: slang-static
87 BuildRequires: zlib-devel
88 BuildRequires: zlib-static
89 Requires: /etc/pld-release
90 Requires: X11-OpenGL-core
93 Requires: device-mapper >= 1.01.05
96 Requires: glibc-localedb-all
100 Requires: kudzu > 1.2.0
104 Requires: python-booty >= 0.71-0.6
105 Requires: python-devel-tools
106 Requires: python-gnome-canvas
107 Requires: python-kickstart
108 Requires: python-libxml2
109 Requires: python-parted
110 Requires: python-rhpl >= 0.176-1.1
111 Requires: python-rhpxl >= 0.18-0.6
112 Requires: python-rpm >= 4.2-0.61
113 Requires: python-snack
114 Requires: python-urlgrabber >= 2.9.8
115 Requires: reiserfsprogs
116 Requires: system-config-keyboard
117 #Requires: system-logos
120 Requires: yum >= 2.5.1-3
122 Requires: python-pyblock >= 0.7-1
124 %ifnarch s390 s390x ppc64
125 Requires: python-rhpxl
127 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
130 The anaconda package contains the program which can be used to install
131 system. These files are of little use on an already installed system.
134 Pakiet anaconda zawiera program, którego mo¿na u¿yæ do zainstalowania
135 systemu. Pliki te maj± niewiele zastosowañ na ju¿ zainstalowanym
139 Summary: Graphical system installer portions needed only for fresh installs
140 Summary(pl): Elementy graficznego instalatora systemu potrzebne tylko przy nowych instalacjach
141 Group: Applications/System
143 Requires: %{name} = %{version}-%{release}
144 Requires: /usr/bin/strip
146 Requires: createrepo >= 0.4.3
148 Requires: glibc >= 6:2.3.6-5.1
150 Requires: policycoreutils >= 1.30
152 Requires: python-libxml2
153 Requires: python-rpm >= 4.2-0.61
155 Requires: yum >= 2.4.0
158 The anaconda-runtime package contains parts of the installation system
159 which are needed for installing new systems. These files are used to
160 build media sets, but are not meant for use on already installed
163 %description runtime -l pl
164 Pakiet anaconda-runtime zawiera elementy instalatora potrzebne tylko
165 do instalowania nowych systemów. Pliki te s³u¿± do tworzenia zestawu
166 no¶ników, nie s± przewidziane do u¿ywania na ju¿ zainstalowanych
170 Summary: Sourcecode for Anaconda
171 Summary(pl): Kod ¼ród³owy Anacondy
172 Group: Applications/System
174 Requires: %{name} = %{version}-%{release}
177 Anaconda sourcecode for debugging purposes.
179 %description debug -l pl
180 Kod ¼ród³owy Anacondy do celów diagnostycznych.
201 mv -f po/{eu_ES,eu}.po
203 # we don't want this being visible, neither want we to kill it (the
204 # other's aren't valid anyway (outdated probably).
205 mv installclasses/fedora.py{,.orig}
206 # we want this install class ;)
207 cp %{SOURCE5} installclasses/pld.py
209 sed -i -e 's/$(PYTHON) scripts/python scripts/' Makefile
213 if [ "$(locale -a | grep -c en_US.utf8)" = 0 ]; then
214 echo >&2 "en_US.utf8 locale not available. build will fail!"
215 echo >&2 "Install glibc-localedb-all or compile it!"
225 OPTFLAGS="%{rpmcflags}"
227 ./py-compile isys/isys.py
230 rm -rf $RPM_BUILD_ROOT
233 DESTDIR=$RPM_BUILD_ROOT
235 install isys/isys.py[co] $RPM_BUILD_ROOT%{_libdir}/anaconda
237 cp %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/mk-images
238 cp %{SOURCE2} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/upd-instroot
239 cp %{SOURCE3} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/mk-images.i386
240 cp %{SOURCE4} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/scrubtree
241 cp %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/anaconda/splash.png
245 # hack so py_postclean would preserve it
246 install $RPM_BUILD_ROOT%{_libdir}/anaconda/iw/release_notes_viewer_gui{.py,}
248 %{!?debug:%py_postclean %{_libdir}/anaconda}
251 rm -rf $RPM_BUILD_ROOT
253 %files -f %{name}.lang
254 %defattr(644,root,root,755)
256 %attr(755,root,root) %{_bindir}/mini-wm
257 %attr(755,root,root) %{_sbindir}/anaconda
259 %dir %{_libdir}/anaconda
260 %{_libdir}/anaconda/*.py[co]
261 %dir %{_libdir}/anaconda/installclasses
262 %{_libdir}/anaconda/installclasses/*.py[co]
263 %dir %{_libdir}/anaconda/iw
264 %{_libdir}/anaconda/iw/*.py[co]
265 %attr(755,root,root) %{_libdir}/anaconda/iw/release_notes_viewer_gui
266 %dir %{_libdir}/anaconda/textw
267 %{_libdir}/anaconda/textw/*.py[co]
268 %{_libdir}/anaconda/lang-names
269 %{_libdir}/anaconda/lang-table
270 %{_libdir}/anaconda/lang-table-kon
271 %attr(755,root,root) %{_libdir}/anaconda/*-stub
272 %attr(755,root,root) %{_libdir}/anaconda/*.so
274 %if %{!?debug:0}%{?debug:1}
276 %defattr(644,root,root,755)
277 %{_libdir}/anaconda/*.py
278 %{_libdir}/anaconda/installclasses/*.py
279 %{_libdir}/anaconda/iw/*.py
280 %{_libdir}/anaconda/textw/*.py
284 %defattr(644,root,root,755)
285 %dir %{_libdir}/anaconda-runtime
286 %dir %attr(755,root,root) %{_libdir}/anaconda-runtime/boot
287 %attr(755,root,root) %{_libdir}/anaconda-runtime/boot/syslinux.cfg
288 %{_libdir}/anaconda-runtime/boot/boot.msg
289 %{_libdir}/anaconda-runtime/boot/general.msg
290 %{_libdir}/anaconda-runtime/boot/options.msg
291 %{_libdir}/anaconda-runtime/boot/param.msg
292 %{_libdir}/anaconda-runtime/boot/rescue.msg
293 %attr(755,root,root) %{_libdir}/anaconda-runtime/buildinstall
294 %attr(755,root,root) %{_libdir}/anaconda-runtime/checkisomd5
295 %attr(755,root,root) %{_libdir}/anaconda-runtime/filtermoddeps
296 %attr(755,root,root) %{_libdir}/anaconda-runtime/fixmtime.py
297 %attr(755,root,root) %{_libdir}/anaconda-runtime/getkeymaps
298 %attr(755,root,root) %{_libdir}/anaconda-runtime/implantisomd5
299 %{_libdir}/anaconda-runtime/keymaps-override-*
300 %attr(755,root,root) %{_libdir}/anaconda-runtime/libunicode-lite.so.1
301 %dir %attr(755,root,root) %{_libdir}/anaconda-runtime/loader
302 %attr(755,root,root) %{_libdir}/anaconda-runtime/loader/init
303 %attr(755,root,root) %{_libdir}/anaconda-runtime/loader/loader
304 %{_libdir}/anaconda-runtime/loader/loader.tr
305 %{_libdir}/anaconda-runtime/loader/module-info
306 %{_libdir}/anaconda-runtime/loader/unicode-linedraw-chars.txt
307 %attr(755,root,root) %{_libdir}/anaconda-runtime/makestamp.py
308 %attr(755,root,root) %{_libdir}/anaconda-runtime/mapshdr
309 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images
310 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.i386
311 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.ia64
312 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.ppc
313 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.s390
314 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.x86_64
315 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.i386
316 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.ppc
317 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.x86_64
318 %attr(755,root,root) %{_libdir}/anaconda-runtime/moddeps
319 %attr(755,root,root) %{_libdir}/anaconda-runtime/modlist
320 %attr(755,root,root) %{_libdir}/anaconda-runtime/pkgorder
321 %attr(755,root,root) %{_libdir}/anaconda-runtime/pyisomd5sum.so
322 %attr(755,root,root) %{_libdir}/anaconda-runtime/pyrc.py
323 %attr(755,root,root) %{_libdir}/anaconda-runtime/pythondeps
324 %attr(755,root,root) %{_libdir}/anaconda-runtime/readmap
325 %attr(755,root,root) %{_libdir}/anaconda-runtime/scrubtree
326 %{_libdir}/anaconda-runtime/screenfont-*.gz
327 %attr(755,root,root) %{_libdir}/anaconda-runtime/splittree.py
328 %attr(755,root,root) %{_libdir}/anaconda-runtime/trimmodalias
329 %attr(755,root,root) %{_libdir}/anaconda-runtime/trimpciids
330 %attr(755,root,root) %{_libdir}/anaconda-runtime/upd-instroot
331 %attr(755,root,root) %{_libdir}/anaconda-runtime/yumcache