2024-01-05 21:12:40 +01:00
|
|
|
Name: chkconfig
|
2024-01-05 21:12:40 +01:00
|
|
|
Version: 1.14
|
|
|
|
Release: 2mamba
|
2024-01-05 21:12:40 +01:00
|
|
|
Summary: A system tool for maintaining the /etc/rc*.d hierarchy
|
|
|
|
Group: System/Configuration
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://download.fedora.redhat.com
|
2024-01-05 21:12:40 +01:00
|
|
|
Source: https://github.com/fedora-sysv/chkconfig.git/%{version}/chkconfig-%{version}.tar.bz2
|
2024-01-05 21:12:40 +01:00
|
|
|
Patch: %{name}-1.3.33-lang_it.patch
|
|
|
|
Patch1: %{name}-1.3.34-alternatives_fixlinks.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 21:12:40 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-05 21:12:40 +01:00
|
|
|
BuildRequires: libnewt-devel
|
|
|
|
BuildRequires: libpopt-devel
|
2024-01-05 21:12:40 +01:00
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: libsepol-devel
|
2024-01-05 21:12:40 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Chkconfig is a basic system utility.
|
|
|
|
It updates and queries runlevel information for system services.
|
|
|
|
Chkconfig manipulates the numerous symbolic links in /etc/rc.d, to relieve system administrators of some of the drudgery of manually editing the symbolic links.
|
|
|
|
|
|
|
|
%package -n ntsysv
|
|
|
|
Summary: A tool to set the stop/start of system services in a runlevel
|
|
|
|
Group: System/Configuration
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n ntsysv
|
|
|
|
Ntsysv provides a simple interface for setting which system services are started or stopped in various runlevels (instead of directly manipulating the numerous symbolic links in /etc/rc.d).
|
|
|
|
Unless you specify a runlevel or runlevels on the command line, ntsysv configures the current runlevel.
|
|
|
|
|
2024-01-05 21:12:40 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 21:12:40 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%make CC=%{_host}-gcc \
|
|
|
|
%if "%{_build}" != "%{_host}"
|
|
|
|
LDFLAGS="-lslang -ldl -lm"
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall MANDIR=%{_mandir} SBINDIR=%{_sbindir}
|
|
|
|
|
2024-01-05 21:12:40 +01:00
|
|
|
rm -f %{buildroot}/lib/systemd/systemd-sysv-install
|
|
|
|
|
2024-01-05 21:12:40 +01:00
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/sbin/chkconfig
|
|
|
|
%{_sbindir}/alternatives
|
|
|
|
%{_sbindir}/update-alternatives
|
|
|
|
%{_sbindir}/ntsysv
|
|
|
|
%dir %{_sysconfdir}/alternatives
|
|
|
|
%dir /var/lib/alternatives
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
%exclude %{_mandir}/man8/ntsysv.*
|
|
|
|
|
|
|
|
%files -n ntsysv
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sbindir}/ntsysv
|
|
|
|
%{_mandir}/man8/ntsysv.*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:12:40 +01:00
|
|
|
* Fri Nov 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14-2mamba
|
|
|
|
- remove file systemd-sysv-install conflicting with systemd
|
|
|
|
|
|
|
|
* Thu Nov 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14-1mamba
|
|
|
|
- update to 1.14
|
|
|
|
|
2024-01-05 21:12:40 +01:00
|
|
|
* Fri Aug 03 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.59-1mamba
|
|
|
|
- update to 1.3.59
|
|
|
|
|
|
|
|
* Sun Jul 12 2009 Automatic Build System <autodist@mambasoft.it> 1.3.34-4mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Fri Aug 03 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.34-3mamba
|
|
|
|
- alternatives: don't try to rewrite symlinks if they are correct
|
|
|
|
|
|
|
|
* Wed Jun 20 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.34-2mamba
|
|
|
|
- alternatives:added a patch that fixes master link if wrong
|
|
|
|
|
|
|
|
* Mon Jun 04 2007 Aleph0 <aleph0@openmamba.org> 1.3.34-1mamba
|
|
|
|
- update to 1.3.34
|
|
|
|
|
|
|
|
* Thu Mar 22 2007 Davide Madrisan <davide.madrisan@qilinux.it> 1.3.33-1qilnx
|
|
|
|
- update to version 1.3.33 by autospec
|
|
|
|
- new subpackage ntsysv
|
|
|
|
- updated italian translations patch
|
|
|
|
|
|
|
|
* Mon Feb 27 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.3.6-4qilnx
|
|
|
|
- fixed italian translations patch
|
|
|
|
|
|
|
|
* Fri Nov 18 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.3.6-3qilnx
|
|
|
|
- italian translations patched
|
|
|
|
|
|
|
|
* Mon Sep 12 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.3.6-2qilnx
|
|
|
|
- specfile updates
|
|
|
|
|
|
|
|
* Wed Apr 16 2003 Alessandro Ramazzina <alessandro.ramazzina@qinet.it> 1.3.6-1qilnx
|
|
|
|
- creation of chkconfig package
|