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: bzip2-devel
50 BuildRequires: device-mapper-devel >= 1.01.05
51 BuildRequires: device-mapper-static
52 BuildRequires: e2fsprogs-devel
53 BuildRequires: gettext-devel >= 0.11
54 BuildRequires: glibc-static
55 BuildRequires: gtk+2-devel
56 BuildRequires: kudzu-devel >= 1.2.0
57 BuildRequires: libselinux-devel >= 1.6
58 BuildRequires: libselinux-static
59 BuildRequires: libsepol-devel
60 BuildRequires: libsepol-static
61 BuildRequires: newt-devel
62 BuildRequires: newt-static
63 BuildRequires: popt-devel
64 BuildRequires: popt-static
65 BuildRequires: pump-devel
66 BuildRequires: pump-static >= 0.8.24-1
67 BuildRequires: python-devel
68 BuildRequires: python-rhpl
69 BuildRequires: python-rpm
70 BuildRequires: rpm-pythonprov
71 BuildRequires: rpmbuild(macros) >= 1.234
72 BuildRequires: sed >= 4.0
73 BuildRequires: slang-static
74 BuildRequires: zlib-devel
75 BuildRequires: zlib-static
76 Requires: /etc/pld-release
77 Requires: X11-OpenGL-core
80 Requires: device-mapper >= 1.01.05
83 Requires: glibc-localedb-all
87 Requires: kudzu > 1.2.0
91 Requires: python-booty >= 0.71-0.6
92 Requires: python-devel-tools
93 Requires: python-gnome-canvas
94 Requires: python-kickstart
95 Requires: python-libxml2
96 Requires: python-parted
97 Requires: python-rhpl >= 0.176-1.1
98 Requires: python-rhpxl >= 0.18-0.6
99 Requires: python-rpm >= 4.2-0.61
100 Requires: python-snack
101 Requires: python-urlgrabber >= 2.9.8
102 Requires: reiserfsprogs
103 Requires: system-config-keyboard
104 #Requires: system-logos
107 Requires: yum >= 2.5.1-3
109 Requires: python-pyblock >= 0.7-1
111 %ifnarch s390 s390x ppc64
112 Requires: python-rhpxl
114 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
117 The anaconda package contains the program which can be used to install
118 system. These files are of little use on an already installed system.
121 Pakiet anaconda zawiera program, którego mo¿na u¿yæ do zainstalowania
122 systemu. Pliki te maj± niewiele zastosowañ na ju¿ zainstalowanym
126 Summary: Graphical system installer portions needed only for fresh installs
127 Summary(pl): Elementy graficznego instalatora systemu potrzebne tylko przy nowych instalacjach
128 Group: Applications/System
130 Requires: %{name} = %{version}-%{release}
131 Requires: /usr/bin/strip
133 Requires: createrepo >= 0.4.3
135 Requires: glibc >= 6:2.3.6-5.1
137 Requires: policycoreutils >= 1.30
139 Requires: python-libxml2
140 Requires: python-rpm >= 4.2-0.61
142 Requires: yum >= 2.4.0
145 The anaconda-runtime package contains parts of the installation system
146 which are needed for installing new systems. These files are used to
147 build media sets, but are not meant for use on already installed
150 %description runtime -l pl
151 Pakiet anaconda-runtime zawiera elementy instalatora potrzebne tylko
152 do instalowania nowych systemów. Pliki te s³u¿± do tworzenia zestawu
153 no¶ników, nie s± przewidziane do u¿ywania na ju¿ zainstalowanych
157 Summary: Sourcecode for Anaconda
158 Summary(pl): Kod ¼ród³owy Anacondy
159 Group: Applications/System
161 Requires: %{name} = %{version}-%{release}
164 Anaconda sourcecode for debugging purposes.
166 %description debug -l pl
167 Kod ¼ród³owy Anacondy do celów diagnostycznych.
188 mv -f po/{eu_ES,eu}.po
190 # we don't want this being visible, neither want we to kill it (the
191 # other's aren't valid anyway (outdated probably).
192 mv installclasses/fedora.py{,.orig}
193 # we want this install class ;)
194 cp %{SOURCE5} installclasses/pld.py
196 sed -i -e 's/$(PYTHON) scripts/python scripts/' Makefile
200 if [ "$(locale -a | grep -c en_US.utf8)" = 0 ]; then
201 echo >&2 "en_US.utf8 locale not available. build will fail!"
202 echo >&2 "Install glibc-localedb-all or compile it!"
206 %{__make} depend -j1 \
212 OPTFLAGS="%{rpmcflags}"
214 ./py-compile isys/isys.py
217 rm -rf $RPM_BUILD_ROOT
220 DESTDIR=$RPM_BUILD_ROOT
222 install isys/isys.py[co] $RPM_BUILD_ROOT%{_libdir}/anaconda
224 cp %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/mk-images
225 cp %{SOURCE2} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/upd-instroot
226 cp %{SOURCE3} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/mk-images.i386
227 cp %{SOURCE4} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/scrubtree
228 cp %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/anaconda/splash.png
232 # hack so py_postclean would preserve it
233 install $RPM_BUILD_ROOT%{_libdir}/anaconda/iw/release_notes_viewer_gui{.py,}
235 %{!?debug:%py_postclean %{_libdir}/anaconda}
238 rm -rf $RPM_BUILD_ROOT
240 %files -f %{name}.lang
241 %defattr(644,root,root,755)
243 %attr(755,root,root) %{_bindir}/mini-wm
244 %attr(755,root,root) %{_sbindir}/anaconda
246 %dir %{_libdir}/anaconda
247 %{_libdir}/anaconda/*.py[co]
248 %dir %{_libdir}/anaconda/installclasses
249 %{_libdir}/anaconda/installclasses/*.py[co]
250 %dir %{_libdir}/anaconda/iw
251 %{_libdir}/anaconda/iw/*.py[co]
252 %attr(755,root,root) %{_libdir}/anaconda/iw/release_notes_viewer_gui
253 %dir %{_libdir}/anaconda/textw
254 %{_libdir}/anaconda/textw/*.py[co]
255 %{_libdir}/anaconda/lang-names
256 %{_libdir}/anaconda/lang-table
257 %{_libdir}/anaconda/lang-table-kon
258 %attr(755,root,root) %{_libdir}/anaconda/*-stub
259 %attr(755,root,root) %{_libdir}/anaconda/*.so
261 %if %{!?debug:0}%{?debug:1}
263 %defattr(644,root,root,755)
264 %{_libdir}/anaconda/*.py
265 %{_libdir}/anaconda/installclasses/*.py
266 %{_libdir}/anaconda/iw/*.py
267 %{_libdir}/anaconda/textw/*.py
271 %defattr(644,root,root,755)
272 %dir %{_libdir}/anaconda-runtime
273 %dir %attr(755,root,root) %{_libdir}/anaconda-runtime/boot
274 %attr(755,root,root) %{_libdir}/anaconda-runtime/boot/syslinux.cfg
275 %{_libdir}/anaconda-runtime/boot/boot.msg
276 %{_libdir}/anaconda-runtime/boot/general.msg
277 %{_libdir}/anaconda-runtime/boot/options.msg
278 %{_libdir}/anaconda-runtime/boot/param.msg
279 %{_libdir}/anaconda-runtime/boot/rescue.msg
280 %attr(755,root,root) %{_libdir}/anaconda-runtime/buildinstall
281 %attr(755,root,root) %{_libdir}/anaconda-runtime/checkisomd5
282 %attr(755,root,root) %{_libdir}/anaconda-runtime/filtermoddeps
283 %attr(755,root,root) %{_libdir}/anaconda-runtime/fixmtime.py
284 %attr(755,root,root) %{_libdir}/anaconda-runtime/getkeymaps
285 %attr(755,root,root) %{_libdir}/anaconda-runtime/implantisomd5
286 %{_libdir}/anaconda-runtime/keymaps-override-*
287 %attr(755,root,root) %{_libdir}/anaconda-runtime/libunicode-lite.so.1
288 %dir %attr(755,root,root) %{_libdir}/anaconda-runtime/loader
289 %attr(755,root,root) %{_libdir}/anaconda-runtime/loader/init
290 %attr(755,root,root) %{_libdir}/anaconda-runtime/loader/loader
291 %{_libdir}/anaconda-runtime/loader/loader.tr
292 %{_libdir}/anaconda-runtime/loader/module-info
293 %{_libdir}/anaconda-runtime/loader/unicode-linedraw-chars.txt
294 %attr(755,root,root) %{_libdir}/anaconda-runtime/makestamp.py
295 %attr(755,root,root) %{_libdir}/anaconda-runtime/mapshdr
296 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images
297 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.i386
298 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.ia64
299 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.ppc
300 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.s390
301 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.x86_64
302 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.i386
303 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.ppc
304 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.x86_64
305 %attr(755,root,root) %{_libdir}/anaconda-runtime/moddeps
306 %attr(755,root,root) %{_libdir}/anaconda-runtime/modlist
307 %attr(755,root,root) %{_libdir}/anaconda-runtime/pkgorder
308 %attr(755,root,root) %{_libdir}/anaconda-runtime/pyisomd5sum.so
309 %attr(755,root,root) %{_libdir}/anaconda-runtime/pyrc.py
310 %attr(755,root,root) %{_libdir}/anaconda-runtime/pythondeps
311 %attr(755,root,root) %{_libdir}/anaconda-runtime/readmap
312 %attr(755,root,root) %{_libdir}/anaconda-runtime/scrubtree
313 %{_libdir}/anaconda-runtime/screenfont-*.gz
314 %attr(755,root,root) %{_libdir}/anaconda-runtime/splittree.py
315 %attr(755,root,root) %{_libdir}/anaconda-runtime/trimmodalias
316 %attr(755,root,root) %{_libdir}/anaconda-runtime/trimpciids
317 %attr(755,root,root) %{_libdir}/anaconda-runtime/upd-instroot
318 %attr(755,root,root) %{_libdir}/anaconda-runtime/yumcache