summaryrefslogtreecommitdiffstats
path: root/anaconda.spec.in
blob: f0ad81f8e3f162883ff0786389939b898cddc35c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Name: anaconda
Version: @@VERSION@@
Release: 1
Copyright: GPL
Summary: The Red Hat Linux installer.
Group: Applications/System
Source: anaconda-%{PACKAGE_VERSION}.tar.gz
Obsoletes: anaconda-reconfig
Prereq: chkconfig
Requires: rpm-python

BuildRoot: /var/tmp/anaconda-%{PACKAGE_VERSION}

%description
The anaconda package contains the Red Hat Linux installer.

%prep

%setup -q

%build
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"

%install
rm -rf $RPM_BUILD_ROOT
make RECFGDESTDIR=$RPM_BUILD_ROOT install-reconfig
#strip $RPM_BUILD_ROOT/usr/sbin/ddcprobe

strip $RPM_BUILD_ROOT/usr/lib/anaconda/*.so

%clean
rm -rf $RPM_BUILD_ROOT

%post
chkconfig --add reconfig

%preun
if [ $1 = 0 ]; then
	chkconfig --del reconfig
fi

%files
%defattr(-,root,root)
%doc COPYING
/usr/sbin/anaconda
#/usr/sbin/ddcprobe
/usr/share/anaconda/*
/usr/share/locale/*/*/*
/usr/lib/anaconda/*

%config /etc/rc.d/init.d/reconfig


%changelog
* Thu Mar 02 2000 Erik Troan <ewt@redhat.com>
- built new version from CVS

* Thu Feb 03 2000 Michael Fulbright <drmike@redhat.com>
- strip files
- add lang-table to file list

* Wed Jan 05 2000 Michael Fulbright <drmike@redhat.com>
- added requirement for rpm-python

* Mon Dec 06 1999 Michael Fulbright <drmike@redhat.com>
- rename to 'anaconda' instead of 'anaconda-reconfig'

* Fri Dec 03 1999 Michael Fulbright <drmike@redhat.com>
- remove ddcprobe since we don't do X configuration in reconfig now

* Tue Nov 30 1999 Michael Fulbright <drmike@redhat.com>
- first try at packaging reconfiguration tool