]> git.pld-linux.org Git - packages/anaconda.git/blob - anaconda.spec
- reverted, python-rhpl is require in precise version
[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-rpm >= 4.2-0.61
40 BuildRequires:  python-urlgrabber
41 BuildRequires:  rpm-devel
42 BuildRequires:  rpm-pythonprov
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(644,root,root,755)
141 %{_libdir}/anaconda-runtime
This page took 0.82897 seconds and 4 git commands to generate.