Install tuned-adm
This commit is contained in:
parent
921faba02c
commit
62e22ac8c0
2 changed files with 15 additions and 3 deletions
11
Makefile
11
Makefile
|
|
@ -12,7 +12,7 @@ archive: clean
|
|||
|
||||
cp AUTHORS COPYING INSTALL README $(VERSIONED_NAME)
|
||||
|
||||
cp tuned.py tuned.spec tuned.service tuned.tmpfiles Makefile $(VERSIONED_NAME)
|
||||
cp tuned.py tuned.spec tuned.service tuned.tmpfiles Makefile tuned-adm.py $(VERSIONED_NAME)
|
||||
cp -a doc experiments man profiles systemtap tuned $(VERSIONED_NAME)
|
||||
|
||||
tar cjf $(VERSIONED_NAME).tar.bz2 $(VERSIONED_NAME)
|
||||
|
|
@ -35,6 +35,7 @@ install:
|
|||
# binaries
|
||||
mkdir -p $(DESTDIR)/usr/sbin
|
||||
install -m 0755 tuned.py $(DESTDIR)/usr/sbin/tuned
|
||||
install -m 0755 tuned-adm.py $(DESTDIR)/usr/sbin/tuned-adm
|
||||
for file in systemtap/*; do \
|
||||
install -m 0755 $$file $(DESTDIR)/usr/sbin/; \
|
||||
done
|
||||
|
|
@ -59,12 +60,18 @@ install:
|
|||
mkdir -p $(DESTDIR)/lib/systemd/system
|
||||
install -m 0644 tuned.service $(DESTDIR)/lib/systemd/system
|
||||
|
||||
# manual pages
|
||||
# manual pages *.8
|
||||
mkdir -p $(DESTDIR)/usr/share/man/man8
|
||||
for file in man/*.8; do \
|
||||
install -m 0644 $$file $(DESTDIR)/usr/share/man/man8; \
|
||||
done
|
||||
|
||||
# manual pages *.5
|
||||
mkdir -p $(DESTDIR)/usr/share/man/man5
|
||||
for file in man/*.5; do \
|
||||
install -m 0644 $$file $(DESTDIR)/usr/share/man/man5; \
|
||||
done
|
||||
|
||||
# documentation
|
||||
mkdir -p $(DESTDIR)/usr/share/doc/$(VERSIONED_NAME)
|
||||
cp -a doc/* $(DESTDIR)/usr/share/doc/$(VERSIONED_NAME)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Summary: A dynamic adaptive system tuning daemon
|
||||
Name: tuned
|
||||
Version: 2.0
|
||||
Release: 0.1.alpha%{?dist}
|
||||
Release: 0.2.alpha%{?dist}
|
||||
License: GPLv2
|
||||
# The source for this package was pulled from upstream git. Use the
|
||||
# following commands to get the corresponding tarball:
|
||||
|
|
@ -83,12 +83,14 @@ fi
|
|||
%doc doc/TIPS.txt
|
||||
%{python_sitelib}/tuned
|
||||
%{_sbindir}/tuned
|
||||
%{_sbindir}/tuned-adm
|
||||
%{_prefix}/lib/tuned
|
||||
%config(noreplace) %{_sysconfdir}/tuned/active_profile
|
||||
%{_sysconfdir}/tmpfiles.d
|
||||
%{_unitdir}/tuned.service
|
||||
%dir %{_localstatedir}/log/tuned
|
||||
%dir %{_localstatedir}/run/tuned
|
||||
%{_mandir}/man5/tuned.*
|
||||
|
||||
%files utils
|
||||
%defattr(-,root,root,-)
|
||||
|
|
@ -106,5 +108,8 @@ fi
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Mar 22 2012 Jan Kaluza <jkaluza@redhat.com> 2.0-0.2.alpha
|
||||
- Added tuned-adm and tuned.cfg man page
|
||||
|
||||
* Mon Mar 12 2012 Jan Vcelak <jvcelak@redhat.com> 2.0-0.1.alpha
|
||||
- brand new (pre)release of tuned
|
||||
|
|
|
|||
Loading…
Reference in a new issue