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