-#
Summary: Updates and queries runlevel information for system services
Summary(de.UTF-8): Aktualisiert runlevel-Informationen für Systemdienste und fragt diese ab
Summary(es.UTF-8): Herramienta para actualizar y listar servicios del sistema, por nivel de ejecución (runlevel)
Summary(tr.UTF-8): Sistem servis bilgilerini sorgular ve yeniler
Summary(uk.UTF-8): Системна утиліта для керування ієрархією /etc/rc.d
Name: chkconfig
-Version: 1.3.37
-Release: 0.1
-Epoch: 1
+Version: 1.5
+Release: 1
+Epoch: 2
License: GPL v2
Group: Applications/System
-Source0: %{name}-%{version}.tar.gz
-# Source0-md5: cca7223101b46df7982ea18b9518dc9a
+Source0: https://fedorahosted.org/releases/c/h/chkconfig/%{name}-%{version}.tar.bz2
+# Source0-md5: 0e59a43ef588a7bba5528b10bb59bef2
Patch0: %{name}-add.patch
Patch1: %{name}-noxinet.patch
Patch2: %{name}-rc.d.patch
Patch3: %{name}-optflags.patch
Patch4: %{name}-pl.patch
-BuildRequires: gettext-devel
+URL: https://git.fedorahosted.org/git/chkconfig.git
+BuildRequires: gettext-tools
+BuildRequires: libselinux-devel
BuildRequires: newt-devel
BuildRequires: popt-devel
Requires: rc-scripts
alternatives creates, removes, maintains and displays information
about the symbolic links comprising the alternatives system. The
alternatives system is a reimplementation of the Debian alternatives
-system. It was rewritten primarily to remove the dependence on perl;
+system. It was rewritten primarily to remove the dependence on Perl;
it is intended to be a drop in replacement for Debian's
update-alternatives script.
dowiązaniach symbolicznych obejmujących system alternatyw. System
alternatyw to reimplementacja systemu alternatyw ("alternatives") z
Debiana. Została napisana głównie w celu usunięcia zależności od
-perla; ma być zamiennikiem skryptu update-alternatives z Debiana.
+Perla; ma być zamiennikiem skryptu update-alternatives z Debiana.
%prep
%setup -q
%build
%{__make} \
CC="%{__cc}" \
- OPTFLAGS="%{rpmcflags}"
+ OPTFLAGS="%{rpmcppflags} %{rpmcflags}" \
+ OPTLDFLAGS="%{rpmldflags}" \
+ SYSTEMDDIR=/lib/systemd
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
MANDIR=%{_mandir} \
+ SYSTEMDDIR=/lib/systemd \
DESTDIR=$RPM_BUILD_ROOT
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/bal
+
%find_lang %{name}
cat <<EOF > $RPM_BUILD_ROOT/etc/env.d/CHKCONFIG_ON
%files -f %{name}.lang
%defattr(644,root,root,755)
%attr(755,root,root) /sbin/chkconfig
+%attr(755,root,root) /lib/systemd/systemd-sysv-install
%{_mandir}/man8/chkconfig.8*
%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/*