summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2013-02-01 13:59:35 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-02-01 13:59:35 -0300
commit6fc7e65d9f5c38dcdaaf3247dbb4a07c731888e2 (patch)
treece6b2bc4c0f3fb2490b205d742ac5bbeed4515b4
parent63580bea4a965ce8e07dc9a8cfc00242fef636c9 (diff)
downloadtuna-6fc7e65d9f5c38dcdaaf3247dbb4a07c731888e2.tar.gz
rpm: Install the man page
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--MANIFEST1
-rw-r--r--rpm/SPECS/tuna.spec4
2 files changed, 4 insertions, 1 deletions
diff --git a/MANIFEST b/MANIFEST
index 3d96ebd..06621ef 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -24,3 +24,4 @@ po/zh_CN.po
ChangeLog
docs/oscilloscope+tuna.html
docs/oscilloscope+tuna.pdf
+docs/tuna.8
diff --git a/rpm/SPECS/tuna.spec b/rpm/SPECS/tuna.spec
index 1e6ec75..5a6ce96 100644
--- a/rpm/SPECS/tuna.spec
+++ b/rpm/SPECS/tuna.spec
@@ -52,11 +52,12 @@ priority is changed, be it using tuna or plain chrt & taskset.
%install
rm -rf %{buildroot}
%{__python} setup.py install --skip-build --root %{buildroot}
-mkdir -p %{buildroot}/{%{_bindir},%{_datadir}/tuna/help/kthreads}
+mkdir -p %{buildroot}/{%{_bindir},%{_datadir}/tuna/help/kthreads,%{_mandir}/man8}
install -p -m644 tuna/tuna_gui.glade %{buildroot}/%{_datadir}/tuna/
install -p -m755 tuna-cmd.py %{buildroot}/%{_bindir}/tuna
install -p -m755 oscilloscope-cmd.py %{buildroot}/%{_bindir}/oscilloscope
install -p -m644 help/kthreads/* %{buildroot}/%{_datadir}/tuna/help/kthreads/
+install -p -m644 docs/tuna.8 %{buildroot}/%{_mandir}/man8/
# l10n-ed message catalogues
for lng in `cat po/LINGUAS`; do
@@ -79,6 +80,7 @@ rm -rf %{buildroot}
%{_bindir}/tuna
%{_datadir}/tuna/
%{python_sitelib}/tuna/
+%{_mandir}/man8/tuna.8*
%files -n oscilloscope
%defattr(-,root,root,-)