* SystemTapGui v1.0-0 is available
@ 2008-10-23 10:54 anithra
2008-10-30 21:25 ` William Cohen
0 siblings, 1 reply; 4+ messages in thread
From: anithra @ 2008-10-23 10:54 UTC (permalink / raw)
To: systemtap
A new version of SystemTapGui is available.
http://sourceforge.net/project/showfiles.php?group_id=169234&package_id=193079
Details regarding the SystemTapGui project can be found at
http://stapgui.sourceforge.net/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SystemTapGui v1.0-0 is available
2008-10-23 10:54 SystemTapGui v1.0-0 is available anithra
@ 2008-10-30 21:25 ` William Cohen
2008-10-31 15:53 ` anithra
0 siblings, 1 reply; 4+ messages in thread
From: William Cohen @ 2008-10-30 21:25 UTC (permalink / raw)
To: anithra; +Cc: systemtap
anithra wrote:
> A new version of SystemTapGui is available.
> http://sourceforge.net/project/showfiles.php?group_id=169234&package_id=193079
>
>
> Details regarding the SystemTapGui project can be found at
> http://stapgui.sourceforge.net/
>
>
>
>
>
Hi Anithra,
I have had some experience packaging RPMs for Fedora. I would like to take a
look at the source RPM. If you could make the source RPM available, I could take
a review it this weekend.
-Will
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SystemTapGui v1.0-0 is available
2008-10-30 21:25 ` William Cohen
@ 2008-10-31 15:53 ` anithra
2008-11-09 20:34 ` William Cohen
0 siblings, 1 reply; 4+ messages in thread
From: anithra @ 2008-10-31 15:53 UTC (permalink / raw)
To: William Cohen; +Cc: systemtap
[-- Attachment #1: Type: text/plain, Size: 1018 bytes --]
William Cohen wrote:
> anithra wrote:
>> A new version of SystemTapGui is available.
>> http://sourceforge.net/project/showfiles.php?group_id=169234&package_id=193079
>>
>>
>> Details regarding the SystemTapGui project can be found at
>> http://stapgui.sourceforge.net/
>>
>>
>>
>>
>>
>
>
> Hi Anithra,
>
> I have had some experience packaging RPMs for Fedora. I would like to
> take a look at the source RPM. If you could make the source RPM
> available, I could take a review it this weekend.
>
> -Will
Hi Will,
As per our discussion, I'm attaching the spec file that was used to
build the rpms.
I've uploaded the SystemTapGui-1.0-0.src.rpm to Sourceforge -
https://sourceforge.net/project/showfiles.php?group_id=169234&package_id=193079&release_id=635299
The source tar ball is also available on Sourceforge.
I will be out of office from Nov 2nd - 16th and will not have access to
email. If there are any problems/queries i will reply as soon as i get back.
Thanks for taking a look,
Regards,
Anithra.
[-- Attachment #2: SystemTapGui.spec --]
[-- Type: text/x-rpm-spec, Size: 2762 bytes --]
# -*- RPM-SPEC -*-
Summary: Stap gui
Name: SystemTapGui
Version: 1.0
Release: 0
License: EPL
Group: Development/Tools
URL: http://www.systemtap.org
Requires: java
# Note that following the Eclipse Releng process we do not distribute a
# real .tar.gz file. Instead, you must build it by hand. The way to do
# this is to check out org.eclipse.cdt.releng. Edit maps/changelog.map
# to refer to the# tag appropriate to the release. Then run the "fetch"
# target to fetch everything. Package this up, such that the tar
# file unpacks a new "org.eclipse.changelog.releng" directory with all the
# contents. See the java command to see how to invoke
# things in the releng build.xml.
Source0: SystemTapGui-1.0.tar.bz2
BuildRequires: java >= 0:1.5
BuildRoot: %{_tmppath}/%{name}-%{version}
BuildArch: x86_64
AutoReqProv: no
%description
Systemtap GUI is a tool being developed to assist in writing SystemTap
scripts and viewing kernel performance. It is both an Integrated
Development Environment for the SystemTap scripting language, as well as
a data visualization and analysis tool.
%prep
%setup -q
%build
export JAVA_HOME=%{java_home}
export PATH=%{java_bin}:/usr/bin:$PATH
%install
rm -rf ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
mkdir -p ${RPM_BUILD_ROOT}/%{_bindir}
mkdir -p ${RPM_BUILD_ROOT}/%{_docdir}/%{name}
mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/server
mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/client
#mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/icons
#mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/applications
cp -a stapguiclient/stapgui-client ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/client/
cp -a stapguiclient/stapgui-client.ini ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/client/
cp -a README ${RPM_BUILD_ROOT}/%{_docdir}/%{name}/
#cp -a StapGui.png ${RPM_BUILD_ROOT}/%{_datadir}/icons/
for i in stapguiclient/configuration stapguiclient/plugins; do
cp -a $i $RPM_BUILD_ROOT/%{_datadir}/%{name}/client/
done
chmod -R 777 $RPM_BUILD_ROOT/%{_datadir}/%{name}/client/
cd stapguiserver
for i in *; do
cp -a $i $RPM_BUILD_ROOT/%{_datadir}/%{name}/server/
done
cd ..
install -m0755 stapguiclient/stapgui-client.sh ${RPM_BUILD_ROOT}/%{_bindir}/stapgui-client
install -m0744 stapguiserver/stapgui-server ${RPM_BUILD_ROOT}/%{_bindir}/stapgui-server
#desktop-file-install \
#--dir ${RPM_BUILD_ROOT}/%{_datadir}/applications \
#--add-category Application \
#stapgui-client.desktop
%debug_package %{nil}
%clean
rm -rf ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
rm -rf ${RPM_BUILD_ROOT}/%{_bindir}/stapgui-client
rm -rf ${RPM_BUILD_ROOT}/%{_bindir}/stapgui-server
rm -rf ${RPM_BUILD_ROOT}/%{_docdir}/%{name}
%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/*
%{_docdir}/*
%changelog
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SystemTapGui v1.0-0 is available
2008-10-31 15:53 ` anithra
@ 2008-11-09 20:34 ` William Cohen
0 siblings, 0 replies; 4+ messages in thread
From: William Cohen @ 2008-11-09 20:34 UTC (permalink / raw)
To: anithra; +Cc: systemtap
anithra wrote:
> Hi Will,
>
> As per our discussion, I'm attaching the spec file that was used to
> build the rpms.
>
> I've uploaded the SystemTapGui-1.0-0.src.rpm to Sourceforge -
> https://sourceforge.net/project/showfiles.php?group_id=169234&package_id=193079&release_id=635299
>
> The source tar ball is also available on Sourceforge.
>
> I will be out of office from Nov 2nd - 16th and will not have access to
> email. If there are any problems/queries i will reply as soon as i get
> back.
>
> Thanks for taking a look,
>
> Regards,
> Anithra.
>
>
Hi Anithra,
I did a quick look through the RPM packaging for SystemTapGui. There
is lots of useful information about Fedora packaging at:
http://fedoraproject.org/wiki/Packaging/KernelModules
http://fedoraproject.org/wiki/Packaging/Guidelines
http://fedoraproject.org/wiki/Packaging/Java
The RPM should have any dependencies required for installation. The
only requires in the specfile seen is:
Requires: java
There are some other requires that should be listed for Java packages.
Looking through the README there is also a a requirement for
systemtap. There is also description of building things from source
for Eclipse. That should be a part of the rpmbuild build process to
build all those jar files in stapguiclient/plugins/. Looking in that
directory there are something like 30+MB of jar files and those
appeared to be packaged as part of the source tarball. The following
link mentions not including prebuilt jars:
http://fedoraproject.org/wiki/Packaging/Java#Pre-built_JAR_files_.2F_Other_bundled_software
-Will
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-11-09 20:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-23 10:54 SystemTapGui v1.0-0 is available anithra
2008-10-30 21:25 ` William Cohen
2008-10-31 15:53 ` anithra
2008-11-09 20:34 ` William Cohen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).