From d9d14e20f54fe0b6194837011450236ea82221d4 Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Fri, 5 Sep 2008 11:22:45 -0400 Subject: Create systemtap-client and systemtap-server sub rpms --- systemtap.spec | 52 ++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 42 insertions(+), 10 deletions(-) (limited to 'systemtap.spec') diff --git a/systemtap.spec b/systemtap.spec index 4bbd9f37..d2f29786 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -46,7 +46,6 @@ Requires: crash %if %{with_docs} BuildRequires: /usr/bin/latex /usr/bin/dvips /usr/bin/ps2pdf latex2html %endif -Requires: avahi-tools nc %description SystemTap is an instrumentation system for systems running Linux 2.6. @@ -60,7 +59,6 @@ License: GPLv2+ URL: http://sourceware.org/systemtap/ Requires: kernel >= 2.6.9-11 Requires(pre): shadow-utils -Requires: avahi-tools nc %description runtime SystemTap runtime is the runtime component of an instrumentation @@ -78,6 +76,32 @@ Requires: systemtap dejagnu The testsuite allows testing of the entire SystemTap toolchain without having to rebuild from sources. +%package client +Summary: Instrumentation System Client +Group: Development/System +License: GPLv2+ +URL: http://sourceware.org/systemtap/ +Requires: systemtap-runtime = %{version}-%{release} +Requires: avahi-tools nc mktemp grep sed tar which coreutils util-linux-ng + +%description client +SystemTap client is the client component of an instrumentation +system for systems running Linux 2.6. Developers can write +instrumentation to collect data on the operation of the system. + +%package server +Summary: Instrumentation System Server +Group: Development/System +License: GPLv2+ +URL: http://sourceware.org/systemtap/ +Requires: systemtap +Requires: avahi-tools nc net-tools gawk mktemp grep sed tar coreutils util-linux-ng + +%description server +SystemTap server is the server component of an instrumentation +system for systems running Linux 2.6. Developers can write +instrumentation to collect data on the operation of the system. + %prep %setup -q %{?setup_elfutils} @@ -184,8 +208,6 @@ exit 0 %endif %{_bindir}/stap -%{_bindir}/stap-server -%{_bindir}/stap-serverd %{_mandir}/man1/* %{_mandir}/man5/* @@ -206,13 +228,8 @@ exit 0 %files runtime %defattr(-,root,root) %attr(4111,root,root) %{_bindir}/staprun -%{_bindir}/stap-client -%{_bindir}/stap-find-servers -%{_bindir}/stap-start-server -%{_bindir}/stap-find-or-start-server -%{_bindir}/stap-stop-server %{_libexecdir}/%{name} -%{_mandir}/man8/* +%{_mandir}/man8/staprun.8 %doc README AUTHORS NEWS COPYING @@ -220,6 +237,21 @@ exit 0 %defattr(-,root,root) %{_datadir}/%{name}/testsuite +%files client +%defattr(-,root,root) +%{_bindir}/stap-client +%{_bindir}/stap-find-servers +%{_mandir}/man8/stap-server.8 + +%files server +%defattr(-,root,root) +%{_bindir}/stap-server +%{_bindir}/stap-serverd +%{_bindir}/stap-start-server +%{_bindir}/stap-find-servers +%{_bindir}/stap-find-or-start-server +%{_bindir}/stap-stop-server +%{_mandir}/man8/stap-server.8 %changelog * Tue Jul 15 2008 Frank Ch. Eigler - 0.7-1 -- cgit From 0bda97400ce6610899b3fbd7fd19f67030fedcc8 Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Fri, 5 Sep 2008 11:26:07 -0400 Subject: Correct man page specs in systemtap.spec --- systemtap.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'systemtap.spec') diff --git a/systemtap.spec b/systemtap.spec index d2f29786..94eddf0b 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -229,7 +229,7 @@ exit 0 %defattr(-,root,root) %attr(4111,root,root) %{_bindir}/staprun %{_libexecdir}/%{name} -%{_mandir}/man8/staprun.8 +%{_mandir}/man8/staprun.8* %doc README AUTHORS NEWS COPYING @@ -241,7 +241,7 @@ exit 0 %defattr(-,root,root) %{_bindir}/stap-client %{_bindir}/stap-find-servers -%{_mandir}/man8/stap-server.8 +%{_mandir}/man8/stap-server.8* %files server %defattr(-,root,root) @@ -251,7 +251,7 @@ exit 0 %{_bindir}/stap-find-servers %{_bindir}/stap-find-or-start-server %{_bindir}/stap-stop-server -%{_mandir}/man8/stap-server.8 +%{_mandir}/man8/stap-server.8* %changelog * Tue Jul 15 2008 Frank Ch. Eigler - 0.7-1 -- cgit From 13e6d2152e5aca18e4fd1d0d5f8c6b280f995763 Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Tue, 9 Sep 2008 15:09:21 -0400 Subject: Remove unnecessary dependencies. --- systemtap.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'systemtap.spec') diff --git a/systemtap.spec b/systemtap.spec index 5ace5632..f9978baf 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -81,7 +81,7 @@ Group: Development/System License: GPLv2+ URL: http://sourceware.org/systemtap/ Requires: systemtap-runtime = %{version}-%{release} -Requires: avahi-tools nc mktemp grep sed tar which coreutils util-linux-ng +Requires: avahi-tools nc mktemp %description client SystemTap client is the client component of an instrumentation @@ -94,7 +94,7 @@ Group: Development/System License: GPLv2+ URL: http://sourceware.org/systemtap/ Requires: systemtap -Requires: avahi-tools nc net-tools gawk mktemp grep sed tar coreutils util-linux-ng +Requires: avahi-tools nc net-tools mktemp %description server SystemTap server is the server component of an instrumentation -- cgit From 98d7d0bfb57a9a2869b37b02975f1572e37e6a53 Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Wed, 10 Sep 2008 12:37:01 -0400 Subject: Move stap-find-* script to client sub rpm. --- systemtap.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'systemtap.spec') diff --git a/systemtap.spec b/systemtap.spec index f9978baf..4a7d2b4a 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -240,6 +240,7 @@ exit 0 %defattr(-,root,root) %{_bindir}/stap-client %{_bindir}/stap-find-servers +%{_bindir}/stap-find-or-start-server %{_mandir}/man8/stap-server.8* %files server @@ -247,8 +248,6 @@ exit 0 %{_bindir}/stap-server %{_bindir}/stap-serverd %{_bindir}/stap-start-server -%{_bindir}/stap-find-servers -%{_bindir}/stap-find-or-start-server %{_bindir}/stap-stop-server %{_mandir}/man8/stap-server.8* -- cgit