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