diff options
author | Mike Fulbright <msf@redhat.com> | 1999-11-30 23:18:19 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 1999-11-30 23:18:19 +0000 |
commit | 5910e3853d661c4aa1544f9111fa651521e924b5 (patch) | |
tree | 2827d898ece336c62879477e7b5b4c9a0821540f /anaconda.spec.in | |
parent | beeb609dffdeb0414ca4658911e5dcb4dd8006a9 (diff) | |
download | anaconda-5910e3853d661c4aa1544f9111fa651521e924b5.tar.gz anaconda-5910e3853d661c4aa1544f9111fa651521e924b5.tar.xz anaconda-5910e3853d661c4aa1544f9111fa651521e924b5.zip |
Added preliminary spec file and init script for anaconda-reconfig.
Also made first pass at a create-archive make target to create a
distribution tarball.
Dr Mike
Diffstat (limited to 'anaconda.spec.in')
-rw-r--r-- | anaconda.spec.in | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/anaconda.spec.in b/anaconda.spec.in new file mode 100644 index 000000000..7cc3ebf42 --- /dev/null +++ b/anaconda.spec.in @@ -0,0 +1,55 @@ +Name: anaconda-reconfig +Version: @@VERSION@@ +Release: 1 +Copyright: GPL +Summary: The Red Hat Linux first time booting configuration tool. +Group: Applications/System +Source: anaconda-reconfig-%{PACKAGE_VERSION}.tar.gz +Obsoletes: rhs-hwdiag setconsole +Prereq: chkconfig +BuildRoot: /tmp/anaconda-reconfig-%{PACKAGE_VERSION} + +%description +anaconda-reconfig is usually run the first-time a pre-installed computer +is booted. It allows the first-time user to configure localized +attributes like timezone and root password. + + +%prep + +%setup + +%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/anaconda-reconfig +strip $RPM_BUILD_ROOT/usr/sbin/ddcprobe + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +chkconfig --add reconfig + +%preun +if [ $1 = 0 ]; then + chkconfig --del reconfig +fi + +%files +%defattr(-,root,root) +%doc README +/usr/sbin/anaconda-reconfig +/usr/sbin/ddcprobe +/usr/sbin/anaconda/* + +%config /etc/rc.d/init.d/reconfig + + +%changelog +* Tues Nov 30 1999 Michael Fulbright <drmike@redhat.com> +- first try at packaging reconfiguration tool + |