]> git.pld-linux.org Git - packages/anaconda.git/blob - anaconda.spec
- updated deps
[packages/anaconda.git] / anaconda.spec
1 %if 0
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#
6 :%s#rhpl#python-rhpl#
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#
12 %endif
13 Summary:        Graphical system installer
14 Summary(pl):    Graficzny instalator systemu
15 Name:           anaconda
16 Version:        11.0.5
17 Release:        0.14
18 License:        GPL
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
53 BuildRequires:  pirut
54 BuildRequires:  popt-static
55 BuildRequires:  pump-devel >= 0.8.20
56 BuildRequires:  python-booty
57 BuildRequires:  python-devel
58 BuildRequires:  python-kickstart
59 BuildRequires:  python-libxml2
60 BuildRequires:  python-rhpl
61 BuildRequires:  python-rpm >= 4.2-0.61
62 BuildRequires:  python-urlgrabber
63 BuildRequires:  rpm-devel
64 BuildRequires:  rpm-pythonprov
65 BuildRequires:  sed >= 4.0
66 BuildRequires:  slang-static
67 BuildRequires:  yum
68 BuildRequires:  zlib-devel
69 BuildRequires:  zlib-static
70 Requires:       anaconda-help
71 Requires:       device-mapper >= 1.01.05
72 Requires:       kudzu > 1.2.0
73 Requires:       parted >= 1.6.3-7
74 Requires:       pirut
75 Requires:       python-booty
76 Requires:       python-kickstart
77 Requires:       python-libxml2
78 Requires:       python-parted
79 Requires:       python-rhpl >= 0.170
80 Requires:       python-rhpxl >= 0.18
81 Requires:       python-rpm >= 4.2-0.61
82 Requires:       python-snack
83 Requires:       python-urlgrabber
84 #Requires:      system-logos
85 Requires:       yum >= 2.5.1-3
86 %ifnarch s390 s390x
87 Requires:       python-pyblock >= 0.7-1
88 %endif
89 %ifnarch s390 s390x ppc64
90 Requires:       python-rhpxl
91 %endif
92 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
93
94 %description
95 The anaconda package contains the program which can be used to install
96 system. These files are of little use on an already installed system.
97
98 %description -l pl
99 Pakiet anaconda zawiera program, którego mo¿na u¿yæ do zainstalowania
100 systemu. Pliki te maj± niewiele zastosowañ na ju¿ zainstalowanym
101 systemie.
102
103 %package runtime
104 Summary:        Graphical system installer portions needed only for fresh installs
105 Summary(pl):    Elementy graficznego instalatora systemu potrzebne tylko przy nowych instalacjach
106 Group:          Applications/System
107 AutoReqProv:    false
108 Requires:       %{name} = %{version}-%{release}
109 Requires:       /usr/bin/strip
110 Requires:       X11
111 Requires:       createrepo >= 0.4.3
112 Requires:       gawk
113 Requires:       glibc >= 6:2.3.6-5.1
114 Requires:       kbd
115 Requires:       policycoreutils >= 1.30
116 Requires:       python
117 Requires:       python-libxml2
118 Requires:       python-rpm >= 4.2-0.61
119 Requires:       squashfs
120 Requires:       yum >= 2.4.0
121
122 %description runtime
123 The anaconda-runtime package contains parts of the installation system
124 which are needed for installing new systems. These files are used to
125 build media sets, but are not meant for use on already installed
126 systems.
127
128 %description runtime -l pl
129 Pakiet anaconda-runtime zawiera elementy instalatora potrzebne tylko
130 do instalowania nowych systemów. Pliki te s³u¿± do tworzenia zestawu
131 no¶ników, nie s± przewidziane do u¿ywania na ju¿ zainstalowanych
132 systemach.
133
134 %prep
135 %setup -q
136 %patch0 -p1
137 %patch1 -p1
138 %patch2 -p1
139 %patch3 -p1
140 %patch4 -p1
141
142 rm -f po/no.po
143 mv -f po/{eu_ES,eu}.po
144
145 sed -i -e 's/$(PYTHON) scripts/python scripts/' Makefile
146
147 %build
148 # locale check
149 if [ "$(locale -a | grep -c en_US.utf8)" = 0 ]; then
150         echo >&2 "en_US.utf8 locale not available. build will fail!"
151         echo >&2 "Install glibc-localedb-all or compile it!"
152         exit 1
153 fi
154
155 %{__make} depend
156 %{__make} \
157         RPM_OPT_FLAGS="%{rpmcflags}"
158
159 %install
160 rm -rf $RPM_BUILD_ROOT
161
162 %{__make} install \
163         DESTDIR=$RPM_BUILD_ROOT
164
165 cp %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/mk-images
166 cp %{SOURCE2} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/upd-instroot
167 cp %{SOURCE3} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/mk-images.i386
168 cp %{SOURCE4} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/scrubtree
169
170 %find_lang %{name}
171
172 %clean
173 rm -rf $RPM_BUILD_ROOT
174
175 %files -f %{name}.lang
176 %defattr(644,root,root,755)
177 %doc docs/command-line.txt
178 %doc docs/install-methods.txt
179 %doc docs/kickstart-docs.txt
180 %doc docs/mediacheck.txt
181 %doc docs/anaconda-release-notes.txt
182 %attr(755,root,root) %{_bindir}/mini-wm
183 %attr(755,root,root) %{_sbindir}/anaconda
184 %{_datadir}/anaconda
185 %{_libdir}/anaconda
186
187 %files runtime
188 %defattr(644,root,root,755)
189 %dir %{_libdir}/anaconda-runtime
190 %dir %attr(755,root,root) %{_libdir}/anaconda-runtime/boot
191 %attr(755,root,root) %{_libdir}/anaconda-runtime/boot/syslinux.cfg
192 %{_libdir}/anaconda-runtime/boot/boot.msg
193 %{_libdir}/anaconda-runtime/boot/general.msg
194 %{_libdir}/anaconda-runtime/boot/options.msg
195 %{_libdir}/anaconda-runtime/boot/param.msg
196 %{_libdir}/anaconda-runtime/boot/rescue.msg
197 %attr(755,root,root) %{_libdir}/anaconda-runtime/buildinstall
198 %attr(755,root,root) %{_libdir}/anaconda-runtime/checkisomd5
199 %attr(755,root,root) %{_libdir}/anaconda-runtime/filtermoddeps
200 %attr(755,root,root) %{_libdir}/anaconda-runtime/fixmtime.py
201 %attr(755,root,root) %{_libdir}/anaconda-runtime/getkeymaps
202 %attr(755,root,root) %{_libdir}/anaconda-runtime/implantisomd5
203 %{_libdir}/anaconda-runtime/keymaps-override-i386
204 %attr(755,root,root) %{_libdir}/anaconda-runtime/libunicode-lite.so.1
205 %dir %attr(755,root,root) %{_libdir}/anaconda-runtime/loader
206 %attr(755,root,root) %{_libdir}/anaconda-runtime/loader/init
207 %attr(755,root,root) %{_libdir}/anaconda-runtime/loader/loader
208 %{_libdir}/anaconda-runtime/loader/loader.tr
209 %{_libdir}/anaconda-runtime/loader/module-info
210 %{_libdir}/anaconda-runtime/loader/unicode-linedraw-chars.txt
211 %attr(755,root,root) %{_libdir}/anaconda-runtime/makestamp.py
212 %attr(755,root,root) %{_libdir}/anaconda-runtime/mapshdr
213 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images
214 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.i386
215 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.ia64
216 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.ppc
217 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.s390
218 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-images.x86_64
219 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.i386
220 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.ppc
221 %attr(755,root,root) %{_libdir}/anaconda-runtime/mk-rescueimage.x86_64
222 %attr(755,root,root) %{_libdir}/anaconda-runtime/moddeps
223 %attr(755,root,root) %{_libdir}/anaconda-runtime/modlist
224 %attr(755,root,root) %{_libdir}/anaconda-runtime/pkgorder
225 %attr(755,root,root) %{_libdir}/anaconda-runtime/pyisomd5sum.so
226 %attr(755,root,root) %{_libdir}/anaconda-runtime/pyrc.py
227 %attr(755,root,root) %{_libdir}/anaconda-runtime/pythondeps
228 %attr(755,root,root) %{_libdir}/anaconda-runtime/readmap
229 %attr(755,root,root) %{_libdir}/anaconda-runtime/scrubtree
230 %{_libdir}/anaconda-runtime/screenfont-i386.gz
231 %attr(755,root,root) %{_libdir}/anaconda-runtime/splittree.py
232 %attr(755,root,root) %{_libdir}/anaconda-runtime/trimmodalias
233 %attr(755,root,root) %{_libdir}/anaconda-runtime/trimpciids
234 %attr(755,root,root) %{_libdir}/anaconda-runtime/upd-instroot
235 %attr(755,root,root) %{_libdir}/anaconda-runtime/yumcache
This page took 0.057203 seconds and 4 git commands to generate.