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