Blame SPECS/rtctl.spec

ea0fea
Name:		rtctl
ea0fea
Version:	1.13
ea0fea
Release:	2%{?dist}
ea0fea
Summary:	Scripts for controlling scheduling priorities of system threads
ea0fea
Group:		Applications/System
ea0fea
License:	GPL
ea0fea
BuildArch:	noarch
ea0fea
Source0:	rtctl-%{version}.tar.bz2
ea0fea
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ea0fea
Obsoletes:	set_kthread_prio <= 1.0.1
ea0fea
Provides:	set_kthread_prio
ea0fea
ea0fea
Patch001:	0001-adjusted-startup-script-messages.patch
ea0fea
ea0fea
%description
ea0fea
rtctl is a set of scripts used to manipulate the scheduling priorities of
ea0fea
groups of system threads.
ea0fea
ea0fea
%prep
ea0fea
%setup
ea0fea
%patch001 -p1
ea0fea
ea0fea
%build
ea0fea
make
ea0fea
ea0fea
%install
ea0fea
rm -rf $RPM_BUILD_ROOT
ea0fea
make DEST=$RPM_BUILD_ROOT install
ea0fea
ea0fea
%clean
ea0fea
rm -rf $RPM_BUILD_ROOT
ea0fea
ea0fea
%files
ea0fea
%defattr(-,root,root,-)
ea0fea
%attr(0755, root, root) /usr/sbin/rtctl
ea0fea
%attr(0755, root, root) /usr/bin/rtctl_wrapper
ea0fea
%config(noreplace) /etc/rtgroups
ea0fea
%config(noreplace) /etc/sysconfig/rtctl
ea0fea
/etc/systemd/system/rtctl.service
ea0fea
/usr/share/man/man1/rtctl.1.gz
ea0fea
/usr/share/man/man5/rtgroups.5.gz
ea0fea
ea0fea
%post
ea0fea
systemctl enable rtctl
ea0fea
ea0fea
%preun
ea0fea
if [ "$1" = "0" ] ; then # uninstall
ea0fea
systemctl disable rtctl
ea0fea
fi
ea0fea
ea0fea
%changelog
ea0fea
* Mon Dec 29 2014 Luis Claudio R. Goncalves <lgoncalv@redhat.com> - 1.13-2
ea0fea
- adjusted startup script messages (1162768)
ea0fea
ea0fea
* Tue Dec 23 2014 Luis Claudio R. Goncalves <lgoncalv@redhat.com> - 1.13-1
ea0fea
- make startup logic compatible with systemd (1162768)
ea0fea
- product name cleanup (1173311)
ea0fea
ea0fea
* Fri Sep 12 2014 Luis Claudio R. Goncalves <lgoncalv@redhat.com> - 1.12-4
ea0fea
- rtctl for RHEL-RT
ea0fea