2 # FC to PLD deps replace rules, extracted from cvs logs
3 :%s#libxml2-python#python-libxml2#
4 :%s#pyparted#python-parted#
5 :%s#booty#python-booty#
7 :%s#rhpxl#python-rhpxl#
8 :%s#rpm-python#python-rpm#
9 :%s#gtk2-devel#gtk+2-devel#
10 :%s#pykickstart#python-kickstart#
11 :%s#squashfs-tools#squashfs#
13 Summary: Graphical system installer
14 Summary(pl): Graficzny instalator systemu
19 Group: Applications/System
20 Source0: %{name}-%{version}.tar.bz2
21 # Source0-md5: f814e7d0011dd44c3c3cf12b6ddb5b40
22 Source1: %{name}-mk-images
23 Source2: %{name}-upd-instroot
24 Source3: %{name}-mk-images.i386
25 Source4: %{name}-scrubtree
26 Patch0: %{name}-pld.patch
27 Patch1: %{name}-BUS_XEN.patch
28 Patch2: %{name}-vserver-proc.patch
29 Patch3: %{name}-pkgorder.patch
30 Patch4: %{name}-errorhandling.patch
31 URL: http://fedora.redhat.com/projects/anaconda-installer/
32 BuildRequires: X11-devel
33 BuildRequires: beecrypt-devel
34 BuildRequires: bzip2-devel
35 BuildRequires: device-mapper-devel >= 1.01.05
36 BuildRequires: device-mapper-static >= 1.01.05
37 BuildRequires: e2fsprogs-devel
38 BuildRequires: elfutils-devel
39 BuildRequires: gettext-devel >= 0.11
40 BuildRequires: glibc-localedb-all
41 BuildRequires: glibc-static
42 BuildRequires: gtk+2-devel
43 BuildRequires: intltool >= 0.31.2-3
44 BuildRequires: kudzu-devel >= 1.2.0
45 BuildRequires: libselinux-devel >= 1.6
46 BuildRequires: libselinux-static
47 BuildRequires: libsepol-devel
48 BuildRequires: libsepol-static
49 BuildRequires: newt-devel
50 BuildRequires: newt-static
51 BuildRequires: pango-devel
52 BuildRequires: pciutils-devel
54 BuildRequires: popt-static
55 BuildRequires: pump-devel >= 0.8.24-1
56 BuildRequires: pump-static >= 0.8.24-1
57 BuildRequires: python-booty
58 BuildRequires: python-devel
59 BuildRequires: python-kickstart
60 BuildRequires: python-libxml2
61 BuildRequires: python-rhpl
62 BuildRequires: python-rpm >= 4.2-0.61
63 BuildRequires: python-urlgrabber
64 BuildRequires: rpm-devel
65 BuildRequires: rpm-pythonprov
66 BuildRequires: rpmbuild(macros) >= 1.234
67 BuildRequires: sed >= 4.0
68 BuildRequires: slang-static
70 BuildRequires: zlib-devel
71 BuildRequires: zlib-static
72 Requires: anaconda-help
73 Requires: device-mapper >= 1.01.05
74 Requires: kudzu > 1.2.0
75 Requires: parted >= 1.6.3-7
77 Requires: python-booty
78 Requires: python-kickstart
79 Requires: python-libxml2
80 Requires: python-parted
81 Requires: python-rhpl >= 0.170
82 Requires: python-rhpxl >= 0.18
83 Requires: python-rpm >= 4.2-0.61
84 Requires: python-snack
85 Requires: python-urlgrabber
86 #Requires: system-logos
87 Requires: yum >= 2.5.1-3
89 Requires: python-pyblock >= 0.7-1
91 %ifnarch s390 s390x ppc64
92 Requires: python-rhpxl
94 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
97 The anaconda package contains the program which can be used to install
98 system. These files are of little use on an already installed system.
101 Pakiet anaconda zawiera program, którego mo¿na u¿yæ do zainstalowania
102 systemu. Pliki te maj± niewiele zastosowañ na ju¿ zainstalowanym
106 Summary: Graphical system installer portions needed only for fresh installs
107 Summary(pl): Elementy graficznego instalatora systemu potrzebne tylko przy nowych instalacjach
108 Group: Applications/System
110 Requires: %{name} = %{version}-%{release}
111 Requires: /usr/bin/strip
113 Requires: createrepo >= 0.4.3
115 Requires: glibc >= 6:2.3.6-5.1
117 Requires: policycoreutils >= 1.30
119 Requires: python-libxml2
120 Requires: python-rpm >= 4.2-0.61
122 Requires: yum >= 2.4.0
125 The anaconda-runtime package contains parts of the installation system
126 which are needed for installing new systems. These files are used to
127 build media sets, but are not meant for use on already installed
130 %description runtime -l pl
131 Pakiet anaconda-runtime zawiera elementy instalatora potrzebne tylko
132 do instalowania nowych systemów. Pliki te s³u¿± do tworzenia zestawu
133 no¶ników, nie s± przewidziane do u¿ywania na ju¿ zainstalowanych
145 mv -f po/{eu_ES,eu}.po
147 sed -i -e 's/$(PYTHON) scripts/python scripts/' Makefile
151 if [ "$(locale -a | grep -c en_US.utf8)" = 0 ]; then
152 echo >&2 "en_US.utf8 locale not available. build will fail!"
153 echo >&2 "Install glibc-localedb-all or compile it!"
159 RPM_OPT_FLAGS="%{rpmcflags}"
162 rm -rf $RPM_BUILD_ROOT
165 DESTDIR=$RPM_BUILD_ROOT
167 cp %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/mk-images
168 cp %{SOURCE2} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/upd-instroot
169 cp %{SOURCE3} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/mk-images.i386
170 cp %{SOURCE4} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/scrubtree
173 %py_postclean %{_libdir}/anaconda
176 rm -rf $RPM_BUILD_ROOT
178 %files -f %{name}.lang
179 %defattr(644,root,root,755)
180 %doc docs/command-line.txt
181 %doc docs/install-methods.txt
182 %doc docs/kickstart-docs.txt
183 %doc docs/mediacheck.txt
184 %doc docs/anaconda-release-notes.txt
185 %attr(755,root,root) %{_bindir}/mini-wm
186 %attr(755,root,root) %{_sbindir}/anaconda
191 %defattr(644,root,root,755)
192 %dir %{_libdir}/anaconda-runtime
193 %dir %attr(755,root,root) %{_libdir}/anaconda-runtime/boot
194 %attr(755,root,root) %{_libdir}/anaconda-runtime/boot/syslinux.cfg
195 %{_libdir}/anaconda-runtime/boot/boot.msg
196 %{_libdir}/anaconda-runtime/boot/general.msg
197 %{_libdir}/anaconda-runtime/boot/options.msg
198 %{_libdir}/anaconda-runtime/boot/param.msg
199 %{_libdir}/anaconda-runtime/boot/rescue.msg
200 %attr(755,root,root) %{_libdir}/anaconda-runtime/buildinstall
201 %attr(755,root,root) %{_libdir}/anaconda-runtime/checkisomd5
202 %attr(755,root,root) %{_libdir}/anaconda-runtime/filtermoddeps
203 %attr(755,root,root) %{_libdir}/anaconda-runtime/fixmtime.py
204 %attr(755,root,root) %{_libdir}/anaconda-runtime/getkeymaps
205 %attr(755,root,root) %{_libdir}/anaconda-runtime/implantisomd5
206 %{_libdir}/anaconda-runtime/keymaps-override-i386
207 %attr(755,root,root) %{_libdir}/anaconda-runtime/libunicode-lite.so.1
208 %dir %attr(755,root,root) %{_libdir}/anaconda-runtime/loader
209 %attr(755,root,root) %{_libdir}/anaconda-runtime/loader/init
210 %attr(755,root,root) %{_libdir}/anaconda-runtime/loader/loader
211 %{_libdir}/anaconda-runtime/loader/loader.tr
212 %{_libdir}/anaconda-runtime/loader/module-info
213 %{_libdir}/anaconda-runtime/loader/unicode-linedraw-chars.txt
214 %attr(755,root,root) %{_libdir}/anaconda-runtime/makestamp.py
215 %attr(755,root,root) %{_libdir}/anaconda-runtime/mapshdr
216 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images
217 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.i386
218 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.ia64
219 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.ppc
220 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.s390
221 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.x86_64
222 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.i386
223 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.ppc
224 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.x86_64
225 %attr(755,root,root) %{_libdir}/anaconda-runtime/moddeps
226 %attr(755,root,root) %{_libdir}/anaconda-runtime/modlist
227 %attr(755,root,root) %{_libdir}/anaconda-runtime/pkgorder
228 %attr(755,root,root) %{_libdir}/anaconda-runtime/pyisomd5sum.so
229 %attr(755,root,root) %{_libdir}/anaconda-runtime/pyrc.py
230 %attr(755,root,root) %{_libdir}/anaconda-runtime/pythondeps
231 %attr(755,root,root) %{_libdir}/anaconda-runtime/readmap
232 %attr(755,root,root) %{_libdir}/anaconda-runtime/scrubtree
233 %{_libdir}/anaconda-runtime/screenfont-i386.gz
234 %attr(755,root,root) %{_libdir}/anaconda-runtime/splittree.py
235 %attr(755,root,root) %{_libdir}/anaconda-runtime/trimmodalias
236 %attr(755,root,root) %{_libdir}/anaconda-runtime/trimpciids
237 %attr(755,root,root) %{_libdir}/anaconda-runtime/upd-instroot
238 %attr(755,root,root) %{_libdir}/anaconda-runtime/yumcache