Igor Foox 06368d7
Summary:	Frysk execution analysis tool
Igor Foox 06368d7
Name:		frysk
skasal ac2df91
Version:	0.0.1.2006.08.16.rh1
skasal 6313911
Release:	1%{?dist}
ad7c3b6
License:	GPL
Igor Foox 06368d7
Group:		Development/System
Igor Foox 06368d7
URL:		http://sourceware.org/frysk
592b1ed
Source:		%{name}-%{version}.tar.bz2
Igor Foox 06368d7
skasal 8c3c62d
Patch:		frysk-xfail-2130.patch
skasal 8c3c62d
Igor Foox 06368d7
BuildRoot:	%{_tmppath}/%{name}-%{version}-root
Igor Foox 06368d7
skasal 8c3c62d
Requires:   	libglade-java >= 2.12.5
skasal edd2226
Requires: 	libvte-java >= 0.12.0
skasal 54253f4
BuildRequires:  gcc-java >= 4.1.1
Igor Foox 06368d7
BuildRequires:	junit >= 3.8.1
Igor Foox 06368d7
BuildRequires:  antlr >= 2.7.4 
ad7c3b6
BuildRequires:	jdom >= 1.0
skasal edd2226
BuildRequires:  libgtk-java-devel >= 2.8.4
skasal edd2226
BuildRequires:	libglade-java-devel >= 2.12.3
skasal edd2226
BuildRequires:  cairo-java-devel >= 1.0.3
ad7c3b6
BuildRequires:  cairo-devel >= 1.0.0
ad7c3b6
BuildRequires:  gtk2-devel >= 2.8.0
skasal edd2226
BuildRequires:	libglade2-devel >= 2.5.1
skasal b411009
BuildRequires:	libgconf-java-devel
skasal edd2226
BuildRequires:	libvte-java-devel >= 0.12.0
skasal edd2226
BuildRequires:  vte-devel >= 0.12.1
38000ea
BuildRequires:  xmlto
skasal 0365186
BuildRequires:  sharutils
skasal 54253f4
BuildRequires:	transfig >= 3.2.0 
skasal 54253f4
BuildRequires:  ghostscript
skasal 6313911
BuildRequires:  dogtail >= 0.5.2
skasal 6313911
skasal 6313911
# FIXME:
skasal 6313911
# Needed by dogtail-run-headless; should be Required by dogtail:
skasal 6313911
BuildRequires:	xorg-x11-xinit
skasal 6313911
# Needed by "dogtail-run-headless -n":
skasal 6313911
Buildrequires:	metacity
Igor Foox fdafd96
94e8cf6
ExclusiveArch: %{ix86} x86_64
Igor Foox fdafd96
Igor Foox 06368d7
%description
Igor Foox 06368d7
Frysk is an execution-analysis technology implemented using native Java and C++.
Igor Foox 06368d7
It is aimed at providing developers and sysadmins with the ability to both
Igor Foox 06368d7
examine and analyze running multi-host, multi-process, multi-threaded systems.
Igor Foox 06368d7
Frysk allows the monitoring of running processes and threads, of locking
Igor Foox 06368d7
primitives and will also expose deadlocks, gather data and debug any given
Igor Foox 06368d7
process in the system.
Igor Foox 06368d7
Igor Foox 06368d7
%prep
Igor Foox 06368d7
%setup -q -n %{name}-%{version}
skasal 8c3c62d
%patch
Igor Foox 06368d7
Igor Foox 06368d7
%build 
592b1ed
592b1ed
export JAVAC=${JAVAC:-/usr/bin/gcj -C}
592b1ed
export GCJ=${GCJ:-/usr/bin/gcj}
592b1ed
export GIJ=${GIJ:-/usr/bin/gij}
592b1ed
export JAR=${JAR:-/usr/bin/fastjar}
592b1ed
export GCJH=${GCJH:-/usr/bin/gcjh}
592b1ed
export GCJ_DBTOOL=${GCJ_DBTOOL:-/usr/bin/gcj-dbtool}
592b1ed
export GCC=${GCC:-/usr/bin/gcc}
592b1ed
export CC=${CC:-/usr/bin/gcc}
592b1ed
export CXX=${CXX:-/usr/bin/g++}
592b1ed
export JAVA=${JAVA:-/usr/bin/gij}
592b1ed
export JV_SCAN=${JV_SCAN:-/usr/bin/jv-scan}
592b1ed
skasal 54253f4
gcc --version
skasal 54253f4
skasal 583d607
# FIXME: Warninggs should be fixed, not suppressed:
skasal cc057fc
RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-Wp,-D_FORTIFY_SOURCE=2 /}
skasal 583d607
%configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
Igor Foox 06368d7
skasal edd2226
# Build system can end up with corrupt xmllint files:
skasal edd2226
touch frysk-gui/glade.catalog
skasal edd2226
touch frysk-gui/glade.checked
skasal edd2226
skasal 77ff955
make %{?_smp_mflags}
Igor Foox 06368d7
skasal 89926f4
%check
skasal 89926f4
make %{?_smp_mflags} -k check || :
skasal 89926f4
Igor Foox 06368d7
%install
Igor Foox 06368d7
ad7c3b6
rm -rf %{buildroot}
ad7c3b6
make  DESTDIR=$RPM_BUILD_ROOT  install %{?_smp_mflags}
Igor Foox 06368d7
Igor Foox 06368d7
%post
Igor Foox 06368d7
/sbin/ldconfig
Igor Foox 06368d7
Igor Foox 06368d7
%postun
Igor Foox 06368d7
/sbin/ldconfig
Igor Foox 06368d7
Igor Foox 06368d7
%clean
Igor Foox 06368d7
rm -rf %{buildroot}
Igor Foox 06368d7
Igor Foox 06368d7
%files
Igor Foox 06368d7
%defattr(-,root,root)
ad7c3b6
%doc COPYING frysk-imports/common/EXCEPTION
Igor Foox 06368d7
%{_bindir}/frysk
skasal 87100a0
%{_bindir}/ftrace
Igor Foox 06368d7
%{_libdir}/*so*
Igor Foox 06368d7
%dir %{_datadir}/%{name}
Igor Foox dd96f69
%{_datadir}/%{name}/*   
Igor Foox dd96f69
%{_datadir}/java/*.jar
ad7c3b6
%{_datadir}/applications/frysk.desktop
ad7c3b6
%{_datadir}/pixmaps/fryskTrayIcon48.png
ajocksch 6e51e64
%{_mandir}/man*/*
ajocksch 6e51e64
%{_libexecdir}/frysk/*
Igor Foox 06368d7
Igor Foox 06368d7
%changelog
skasal ac2df91
* Wed Aug 16 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.08.16.rh1-1
skasal ac2df91
- New upstream version.
skasal ac2df91
skasal 8c3c62d
* Tue Aug 15 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.08.15.rh1-1
skasal 8c3c62d
- New upstream version.
skasal 8c3c62d
- Require latest java-gnome.
skasal 8c3c62d
- frysk-xfail-2130.patch: fails if building on an old kernel.
skasal 8c3c62d
skasal 6313911
* Wed Aug  9 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.08.09.rh1-1
skasal 6313911
- New upstream version, incorporates both the patches.
skasal 6313911
skasal 89926f4
* Wed Aug  2 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.07.25.rh1-4
skasal 89926f4
- Add make check to %%check
skasal d9182ba
- Add patches to disable failing tests.
skasal 89926f4
skasal a7865de
* Wed Aug  2 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.07.25.rh1-3
skasal a7865de
- BuildRequires latest dogtail
skasal a7865de
485030c
* Fri Jul 28 2006 Phil Muldoon <pmuldoon@redhat.com> -  0.0.1.2006.07.25.rh1-3
485030c
- Add dogtail to BuildRequires 
485030c
skasal 87100a0
* Tue Jul 25 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.07.25.rh1-2
skasal 87100a0
- Add ftrace to the file list.
skasal 87100a0
skasal 3d28e44
* Tue Jul 25 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.07.25.rh1-1
skasal 3d28e44
- New upstream version.
skasal 3d28e44
Thomas Fitzsimmons 738a3f2
* Sat Jul 22 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0.0.1.2006.07.18.rh1-2
Thomas Fitzsimmons 738a3f2
- Bump release number. (dist-fc6-java)
Thomas Fitzsimmons 738a3f2
skasal f4771e1
* Tue Jul 18 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.07.18.rh1-1
skasal f4771e1
- New upstream version, incorporates the previous two patches.
skasal f4771e1
skasal f4771e1
* Wed Jul 18 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.07.14.rh1-2
skasal bf833a4
- Add two patches from Phil Muldoon:
skasal bf833a4
  frysk-20060714-observer.patch -- continue even though an observer cannot be load
skasal bf833a4
  frysk-20060714-timer.patch -- fix incorrect usage of a core timer
skasal bf833a4
skasal d869261
* Wed Jul 14 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.07.14.rh1-1
skasal d869261
- New upstream version.
skasal d869261
skasal 1ceec9c
* Wed Jul 13 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.07.13.rh1-1
skasal 1ceec9c
- New upstream version.
skasal 1ceec9c
skasal fd282d8
* Wed Jul 12 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.07.12.rh2-1
skasal fd282d8
- New upstream version.
skasal fd282d8
skasal e98425d
* Wed Jul 12 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.07.12.rh1-1
skasal e98425d
- New upstream version.
skasal e98425d
bc81005
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.0.1.2006.06.28.rh1-0.1
bc81005
- rebuild
bc81005
skasal 56cf877
* Wed Jun 28 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.06.28.rh1-1
skasal 56cf877
- Remove  BuildRequires:  autoconf automake
skasal 56cf877
skasal 56cf877
* Tue Jun 27 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.06.28.rh1-0
skasal 0365186
- Refresh the tarball.
skasal 0365186
- Remove the patches, they are all upstream now.
skasal 0365186
- BuildRequires: sharutils, instead of gmime.
skasal 0365186
- Do not remove the unwanted files, they should not be installed anymore.
skasal 0365186
- Do not hide the menu entry.
skasal 0365186
- Do not call ./bootstrap.sh.
skasal 0365186
skasal 15a20c3
* Fri Jun 16 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.06.15-3
skasal 15a20c3
- Add the non-intermediate hack.
skasal c002b6f
- Remove more unwanted files.
skasal 8ba175a
- Add patch to link statically with libelf; remove elfutils libraries.
skasal 15a20c3
skasal 583d607
* Fri Jun 16 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.06.15-2
skasal 583d607
- Suppress warnings caused by _FORTIFY_SOURCE=2
skasal c74e5c7
- Remove unwanted files.
skasal 583d607
skasal b411009
* Fri Jun 16 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.06.15-1
skasal b411009
- Add BuildRequires: libgconf-java-devel
skasal b411009
- Update frysk-unistd.patch
skasal b411009
skasal ce811db
* Thu Jun 15 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.06.15-0
skasal ce811db
- Refresh the tarball.
skasal 0abdbc5
- Patch to fix Elf.cxx on 64bit.
skasal 2b3eff2
- Anoter patch required by new linux/unistd.h.
skasal 54253f4
- Add BuildRequires: ghostscript
skasal ce811db
skasal 2be1ebd
* Thu Jun 15 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.06.14-1
skasal 2be1ebd
- Patch for new linux/unistd.h.
skasal 6313911
- Patch to avoid scanf("%%a[..]").
skasal 2be1ebd
skasal ce811db
* Thu Jun 14 2006 Stepan Kasal <skasal@redhat.com> - 0.0.1.2006.06.14-0
skasal edd2226
- New upstream version.
skasal edd2226
- Add BuildRequires: libglade2-devel >= 2.5.1
skasal edd2226
- Refresh other BuildRequires.
skasal edd2226
- Replace the noxmltest.patch patch by two touch commands.
skasal c9a860c
- Add BuildRequires: autoconf automake, BuildRequires: gcc-java >= 4.1.1
skasal edd2226
skasal c696ebb
* Thu May 18 2006 Stepan Kasal <skasal@redhat.com>    - 0.0.1.2006.02.19.rh2-0.FC5.3
skasal c696ebb
- Add gmime to BuildRequires.
skasal c696ebb
4261569
* Fri Mar 03 2006 Andrew Cagney <cagney@redhat.de> 0.0.1.2006.02.19.rh2-0.FC5.2
7d859cb
- Add Hidden=true to frysk.desktop file; from halfline; with fixes.
8192ef2
- Disable xml check in frysk-gui/.
4261569
f6dcabb
* Wed Mar 01 2006 Andrew Cagney <cagney@redhat.de> 0.0.1.2006.02.19.rh2-0.FC5.1
f6dcabb
- Add dependencies on latest Java-GNOME bindings.
f6dcabb
94e8cf6
* Wed Mar 01 2006 Andrew Cagney <cagney@redhat.de> 0.0.1.2006.02.19.rh2-0.FC5.0
94e8cf6
- Import frysk 0.0.1.2006.02.19.rh2; works around bug #180637.
3c67775
- Enable x86_64, update *-java BuildRequires; fix bug #183538.
94e8cf6
38000ea
* Tue Feb 21 2006 Karsten Hopp <karsten@redhat.de> 0.0.1.2006.02.19.rh1-0.FC5.1
38000ea
- BuildRequires: xmlto
38000ea
2b2d096
* Mon Feb 20 2006 Andrew Cagney <cagney@redhat.com> 0.0.1.2006.02.19.rh1-0.FC5.0
2b2d096
- Import frysk 0.0.1.2006.02.19.rh1 -- snapshot from middle of that day.
2b2d096
1f2daad
* Sat Feb 18 2006 Andrew Cagney <cagney@redhat.com> 0.0.1.2006.02.12-0.FC5.1
1f2daad
- Remove eclipse-cdt >= 3.0.0 from BuildRequires.  From Wu Zhou
1f2daad
  woodzltc@ibm.
1f2daad
cbe97de
* Sun Feb 12 2006 Andrew Cagney <cagney@redhat.com> 0.0.1.2006.02.12-0.FC5.0
cbe97de
- Import frysk 0.0.1.2006.02.12.
cbe97de
ajocksch 77008c3
* Thu Feb 09 2006 Adam Jocksch <ajocksch@redhat.com> 0.0.1.2006.02.09-0.FC5.0
skasal 6313911
- Removed ftrace from %%files and added libexedir files and man pages.
ajocksch 6e51e64
- Imported new frysk tarball, 
ajocksch 77008c3
8a70e0e
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.0.1.2006.01.22-0.FC5.1.1
8a70e0e
- rebuilt for new gcc4.1 snapshot and glibc changes
8a70e0e
ajocksch 9dd4351
* Mon Feb 06 2006 Adam Jocksch <ajocksch@redhat.com> 0.0.1.2006.01.22-0.FC5.1
ajocksch 9dd4351
- Bumped version, rebuilt.
ajocksch 9dd4351
ad7c3b6
* Mon Jan 23 2006 Andrew Cagney <cagney@redhat.com> 0.0.1.2006.01.22-0.FC4.0
ad7c3b6
- Simplify .spec file (remove unused macro definitions).
ad7c3b6
- Import frysk 0.0.1.2006.01.22.
ad7c3b6
- Update -files; adding frysk.desktop and fryskTrayIcon48.png.
ad7c3b6
592b1ed
* Thu Dec 22 2005 Andrew Cagney <cagney@redhat.com> 0.0.1.2005.12.14.15.12-0.FC4.1
592b1ed
- Import frysk-0.0.1.2005.12.14.15.12 rpm.
592b1ed
- Drop build dependency java-1.4.2-gcj-compat-devel
592b1ed
- Apply Patch003, frysk-makefileam.patch.
592b1ed
929f666
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
929f666
- rebuilt
929f666
Igor Foox dd96f69
* Mon Nov 16  2005 Igor Foox <ifoox@redhat.com> 0.0.0.20051116-0.3
Igor Foox dd96f69
- Added jars under /usr/share/java to distribution.
Igor Foox dd96f69
Igor Foox 8ac510b
* Mon Nov 16  2005 Igor Foox <ifoox@redhat.com> 0.0.0.20051116-0.1
Igor Foox f012ad4
- Update source.
Igor Foox f012ad4
Igor Foox f012ad4
* Mon Nov 16  2005 Igor Foox <ifoox@redhat.com> 0.0.0.20051114-0.3
Igor Foox 3528445
- Removed runtime dependency for eclipse-cdt, changed buildtime eclipse-cdt dependency to 3.0.0.
Igor Foox 3528445
Igor Foox 64e113e
* Mon Nov 16  2005 Igor Foox <ifoox@redhat.com> 0.0.0.20051114-0.2
Igor Foox 64e113e
- Changed dependency on frysk-cdtparser to eclipse-cdt (it was somehow magically reversed).
Igor Foox 64e113e
Igor Foox 64e113e
* Mon Nov 14  2005 Igor Foox <ifoox@redhat.com> 0.0.0.20051114-0.1
Igor Foox cbdfd8f
- Removed smp flags.
Igor Foox cbdfd8f
Igor Foox e90d419
* Mon Nov 10  2005 Igor Foox <ifoox@redhat.com> 0.0.0.20051109-0.3
Igor Foox e90d419
- Update source.
Igor Foox e90d419
Igor Foox fdafd96
* Wed Nov 10  2005 Igor Foox <ifoox@redhat.com> 0.0.0.20051109-0.2
Igor Foox fdafd96
- Added ExclusiveArch for i386.
Igor Foox fdafd96
Igor Foox 5bc4686
* Wed Nov 10  2005 Igor Foox <ifoox@redhat.com> 0.0.0.20051109-0.1
Igor Foox 5bc4686
- Updated source, changed cdtparser dependency to eclipse-cdt. Added build
skasal 6313911
restriction to i386. Added %%{?_smp_flags} to make command.
Igor Foox 5bc4686
Igor Foox 06368d7
* Fri Oct 28  2005 Igor Foox <ifoox@redhat.com> 0.0-2
Igor Foox 06368d7
- Validated all Requires and BuildRequires clauses, fixed some of them.
Igor Foox 06368d7
- Fixed bug with libdir detection based on architecture.
Igor Foox 06368d7
Igor Foox 06368d7
* Wed Oct 26  2005 Igor Foox <ifoox@redhat.com> 0.0-1
Igor Foox 06368d7
- Birth.