From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21406 invoked by alias); 31 Oct 2008 15:53:54 -0000 Received: (qmail 21277 invoked by uid 22791); 31 Oct 2008 15:53:53 -0000 X-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from E23SMTP01.au.ibm.com (HELO e23smtp01.au.ibm.com) (202.81.18.162) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 31 Oct 2008 15:53:04 +0000 Received: from sd0109e.au.ibm.com (d23rh905.au.ibm.com [202.81.18.225]) by e23smtp01.au.ibm.com (8.13.1/8.13.1) with ESMTP id m9VFr52f032557 for ; Sat, 1 Nov 2008 02:53:05 +1100 Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by sd0109e.au.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id m9VFr0aE228648 for ; Sat, 1 Nov 2008 02:53:00 +1100 Received: from d23av02.au.ibm.com (loopback [127.0.0.1]) by d23av02.au.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m9VFqxMC021467 for ; Sat, 1 Nov 2008 02:52:59 +1100 Received: from localhost.localdomain ([9.124.35.24]) by d23av02.au.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m9VFqupg021441; Sat, 1 Nov 2008 02:52:56 +1100 Message-ID: <490B29AC.6060304@linux.vnet.ibm.com> Date: Fri, 31 Oct 2008 15:53:00 -0000 From: anithra User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: William Cohen CC: systemtap Subject: Re: SystemTapGui v1.0-0 is available References: <4900543B.1020302@linux.vnet.ibm.com> <4909DE8C.7070404@redhat.com> In-Reply-To: <4909DE8C.7070404@redhat.com> Content-Type: multipart/mixed; boundary="------------050805060701010707030805" X-Virus-Checked: Checked by ClamAV on sourceware.org X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2008-q4/txt/msg00244.txt.bz2 This is a multi-part message in MIME format. --------------050805060701010707030805 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 1018 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. --------------050805060701010707030805 Content-Type: text/x-rpm-spec; name="SystemTapGui.spec" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="SystemTapGui.spec" Content-length: 2762 # -*- 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 --------------050805060701010707030805--