]> git.pld-linux.org Git - packages/anaconda.git/blob - anaconda.spec
- date in changle log fix
[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:  rpm-pythonprov
44 BuildRequires:  sed >= 4.0
45 BuildRequires:  slang-static
46 BuildRequires:  zlib-devel
47 BuildRequires:  zlib-static
48 Requires:       anaconda-help
49 Requires:       kudzu
50 Requires:       parted >= 1.6.3-7
51 Requires:       python-booty
52 Requires:       python-libxml2
53 Requires:       python-parted
54 Requires:       python-rhpl > 0.63
55 Requires:       python-rhpxl
56 Requires:       python-rpm >= 4.2-0.61
57 Requires:       python-urlgrabber
58 Requires:       system-logos
59 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
60
61 %description
62 The anaconda package contains the program which can be used to install
63 system. These files are of little use on an already installed system.
64
65 %description -l pl
66 Pakiet anaconda zawiera program, którego mo¿na u¿yæ do zainstalowania
67 systemu. Pliki te maj± niewiele zastosowañ na ju¿ zainstalowanym
68 systemie.
69
70 %package runtime
71 Summary:        Graphical system installer portions needed only for fresh installs
72 Summary(pl):    Elementy graficznego instalatora systemu potrzebne tylko przy nowych instalacjach
73 Group:          Applications/System
74 AutoReqProv:    false
75 Requires:       python
76 Requires:       python-libxml2
77 Requires:       python-rpm >= 4.2-0.61
78
79 %description runtime
80 The anaconda-runtime package contains parts of the installation system
81 which are needed for installing new systems. These files are used to
82 build media sets, but are not meant for use on already installed
83 systems.
84
85 %description runtime -l pl
86 Pakiet anaconda-runtime zawiera elementy instalatora potrzebne tylko
87 do instalowania nowych systemów. Pliki te s³u¿± do tworzenia zestawu
88 no¶ników, nie s± przewidziane do u¿ywania na ju¿ zainstalowanych
89 systemach.
90
91 %prep
92 %setup -q
93 %patch0 -p1
94
95 rm -f po/no.po
96 mv -f po/{eu_ES,eu}.po
97 mv -f po/{sr,sr@Latn}.po
98
99 sed -i -e 's/$(PYTHON) scripts/python scripts/' Makefile
100 cp %{SOURCE1} scripts/mk-images
101 cp %{SOURCE2} scripts/upd-instroot
102 cp %{SOURCE3} scripts/mk-images.i386
103 cp %{SOURCE4} scripts/scrubtree
104
105 %build
106 # locale check
107 if [ "$(locale -a | grep -c en_US.utf8)" = 0 ]; then
108         echo >&2 "en_US.utf8 locale not available. build will fail!"
109         echo >&2 "Install glibc-localedb-all or compile it!"
110         exit 1
111 fi
112
113 %{__make} depend
114 %{__make} \
115         RPM_OPT_FLAGS="%{rpmcflags}"
116
117 %install
118 rm -rf $RPM_BUILD_ROOT
119
120 %{__make} install \
121         DESTDIR=$RPM_BUILD_ROOT
122
123 %find_lang %{name}
124
125 %clean
126 rm -rf $RPM_BUILD_ROOT
127
128 %files -f %{name}.lang
129 %defattr(644,root,root,755)
130 %doc docs/command-line.txt
131 %doc docs/install-methods.txt
132 %doc docs/kickstart-docs.txt
133 %doc docs/mediacheck.txt
134 %doc docs/anaconda-release-notes.txt
135 %attr(755,root,root) %{_bindir}/mini-wm
136 %attr(755,root,root) %{_sbindir}/anaconda
137 %{_datadir}/anaconda
138 %{_libdir}/anaconda
139
140 %files runtime
141 %defattr(644,root,root,755)
142 %{_libdir}/anaconda-runtime
This page took 0.04041 seconds and 4 git commands to generate.