]> git.pld-linux.org Git - packages/anaconda.git/blob - anaconda.spec
- added R: python-rhpxl
[packages/anaconda.git] / anaconda.spec
1 Summary:        Graphical system installer
2 Summary(pl):    Graficzny instalator systemu
3 Name:           anaconda
4 Version:        10.89.6
5 Release:        0.1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        %{name}-%{version}.tar.bz2
9 # Source0-md5:  a4fad16ee61ffb268e0bfd6dc76ade12
10 Source1:        %{name}-mk-images
11 Source2:        %{name}-upd-instroot
12 Source3:        %{name}-mk-images.i386
13 Source4:        %{name}-scrubtree
14 Patch0:         %{name}-pld.patch
15 URL:            http://fedora.redhat.com/projects/anaconda-installer/
16 BuildRequires:  X11-devel
17 BuildRequires:  beecrypt-devel
18 BuildRequires:  bogl-bterm >= 0:0.1.9-17
19 BuildRequires:  bogl-devel >= 0:0.1.9-17
20 BuildRequires:  bogl-static >= 0:0.1.9-17
21 BuildRequires:  bzip2-devel
22 BuildRequires:  e2fsprogs-devel
23 BuildRequires:  elfutils-devel
24 BuildRequires:  gettext-devel >= 0.11
25 BuildRequires:  glibc-localedb-all
26 BuildRequires:  glibc-static
27 BuildRequires:  gtk+2-devel
28 BuildRequires:  intltool >= 0.31.2-3
29 BuildRequires:  kudzu-devel >= 1.1
30 BuildRequires:  libselinux-devel >= 1.6
31 BuildRequires:  newt-devel
32 BuildRequires:  newt-static
33 BuildRequires:  pciutils-devel
34 BuildRequires:  popt-static
35 BuildRequires:  pump-devel >= 0.8.20
36 BuildRequires:  python-booty
37 BuildRequires:  python-devel
38 BuildRequires:  python-libxml2
39 BuildRequires:  python-rhpl
40 BuildRequires:  python-rpm >= 4.2-0.61
41 BuildRequires:  python-urlgrabber
42 BuildRequires:  rpm-devel
43 BuildRequires:  sed >= 4.0
44 BuildRequires:  slang-static
45 BuildRequires:  zlib-devel
46 BuildRequires:  zlib-static
47 Requires:       anaconda-help
48 Requires:       kudzu
49 Requires:       parted >= 1.6.3-7
50 Requires:       python-booty
51 Requires:       python-libxml2
52 Requires:       python-parted
53 Requires:       python-rhpl > 0.63
54 Requires:       python-rhpxl
55 Requires:       python-rpm >= 4.2-0.61
56 Requires:       python-urlgrabber
57 Requires:       system-logos
58 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
59
60 %description
61 The anaconda package contains the program which can be used to install
62 system. These files are of little use on an already installed system.
63
64 %description -l pl
65 Pakiet anaconda zawiera program, którego mo¿na u¿yæ do zainstalowania
66 systemu. Pliki te maj± niewiele zastosowañ na ju¿ zainstalowanym
67 systemie.
68
69 %package runtime
70 Summary:        Graphical system installer portions needed only for fresh installs
71 Summary(pl):    Elementy graficznego instalatora systemu potrzebne tylko przy nowych instalacjach
72 Group:          Applications/System
73 AutoReqProv:    false
74 Requires:       python
75 Requires:       python-libxml2
76 Requires:       python-rpm >= 4.2-0.61
77
78 %description runtime
79 The anaconda-runtime package contains parts of the installation system
80 which are needed for installing new systems. These files are used to
81 build media sets, but are not meant for use on already installed
82 systems.
83
84 %description runtime -l pl
85 Pakiet anaconda-runtime zawiera elementy instalatora potrzebne tylko
86 do instalowania nowych systemów. Pliki te s³u¿± do tworzenia zestawu
87 no¶ników, nie s± przewidziane do u¿ywania na ju¿ zainstalowanych
88 systemach.
89
90 %prep
91 %setup -q
92 %patch0 -p1
93
94 rm -f po/no.po
95 mv -f po/{eu_ES,eu}.po
96 mv -f po/{sr,sr@Latn}.po
97
98 sed -i -e 's/$(PYTHON) scripts/python scripts/' Makefile
99 cp %{SOURCE1} scripts/mk-images
100 cp %{SOURCE2} scripts/upd-instroot
101 cp %{SOURCE3} scripts/mk-images.i386
102 cp %{SOURCE4} scripts/scrubtree
103
104 %build
105 # locale check
106 if [ "$(locale -a | grep -c en_US.utf8)" = 0 ]; then
107         echo >&2 "en_US.utf8 locale not available. build will fail!"
108         echo >&2 "Install glibc-localedb-all or compile it!"
109         exit 1
110 fi
111
112 %{__make} depend
113 %{__make} \
114         RPM_OPT_FLAGS="%{rpmcflags}"
115
116 %install
117 rm -rf $RPM_BUILD_ROOT
118
119 %{__make} install \
120         DESTDIR=$RPM_BUILD_ROOT
121
122 %find_lang %{name}
123
124 %clean
125 rm -rf $RPM_BUILD_ROOT
126
127 %files -f %{name}.lang
128 %defattr(644,root,root,755)
129 %doc docs/command-line.txt
130 %doc docs/install-methods.txt
131 %doc docs/kickstart-docs.txt
132 %doc docs/mediacheck.txt
133 %doc docs/anaconda-release-notes.txt
134 %attr(755,root,root) %{_bindir}/mini-wm
135 %attr(755,root,root) %{_sbindir}/anaconda
136 %{_datadir}/anaconda
137 %{_libdir}/anaconda
138
139 %files runtime
140 %defattr(-,root,root,755)
141 %{_libdir}/anaconda-runtime
142
143 %changelog
144 * %{date} PLD Team <feedback@pld-linux.org>
145 All persons listed below can be reached at <cvs_login>@pld-linux.org
146
147 $Log: anaconda.spec,v $
148 Revision 1.8  2005-11-06 16:54:15  patrys
149 - added R: python-rhpxl
150
151 Revision 1.7  2005/11/06 15:53:49  patrys
152 - up to 10.89.6
153
154 Revision 1.6  2005/10/31 19:29:58  glen
155 - BR bogl-static
156 - utf-8 locale check for build
157
158 Revision 1.5  2005/05/03 18:03:18  patrys
159 - updated
160
161 Revision 1.4  2005/04/29 16:38:04  qboosh
162 - locales cleanup
163
164 Revision 1.3  2005/04/29 16:22:41  qboosh
165 - pl, some cleanups
166
167 Revision 1.2  2005/04/28 22:45:31  patrys
168 - moved from DEVEL
169
170 Revision 1.1.2.7  2005/04/23 23:35:46  patrys
171 - fixed deps
172
173 Revision 1.1.2.6  2005/04/23 22:51:30  patrys
174 - fixed deps
175
176 Revision 1.1.2.5  2005/04/23 21:35:57  patrys
177 - fixed deps
178
179 Revision 1.1.2.4  2005/04/23 18:14:22  patrys
180 - working version codenamed "hangover"
181
182 Revision 1.1.2.3  2005/04/23 17:59:29  patrys
183 - more fixes, builds now
184
185 Revision 1.1.2.2  2005/04/23 17:20:19  patrys
186 - add static requirements for glibc and zlib
187
188 Revision 1.1.2.1  2005/04/23 16:49:50  patrys
189 - Initial PLD release
190 - missing deps
191 - something wrong with glibc dependency (ld is unable to find -lresolv)
This page took 0.039133 seconds and 4 git commands to generate.