Compare commits

...
This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

12 commits

Author SHA1 Message Date
Jiri Vanek
c56eedfe37 updated to offical harness 1.2 2011-03-22 15:21:41 +01:00
Jiri Vanek
83c69c286d updated to offical harness 1.2 2011-03-22 14:42:42 +01:00
Jiri Vanek
151fba4797 updated for visualvm 1.3.2 2011-03-14 12:08:39 +01:00
Jiri Vanek
2d41b2d867 updated to visualvm 1.3.2, harness 1.2, sources locations are on classpath server now. 2011-03-14 11:20:39 +01:00
Jiri Vanek
408c181b7f added dependece for java-devel, fixed conficts version 2011-02-02 17:37:30 +01:00
Jiri Vanek
76b7a92030 added dependece for java-devel, fixed conficts version 2011-02-01 10:59:37 +01:00
Jiri Vanek
60cf369b95 package name releas tag i extended for harness version 2011-01-18 10:44:43 +01:00
Jiri Vanek
ecb1511c26 * Wed Jan 12 2011 Jiri Vanek <jvanek@redhat.com> - 1.3.1-3
- updated to harens 1.1
2011-01-12 23:22:24 +01:00
Jiri Vanek
ad6345ed33 updated to harness 1.1pre 2011-01-09 21:18:05 +01:00
Jiri Vanek
8c868823d1 updated to visualvm 1.3.1 2011-01-06 14:37:48 +01:00
Jiri Vanek
1b85550b24 repaired spalsh screen and title, repaired desktop file, repaired dependencies 2011-01-05 10:47:18 +01:00
Jiri Vanek
29b1490f1e initial commit 2010-11-25 12:32:13 +01:00
3 changed files with 175 additions and 0 deletions

10
.gitignore vendored
View file

@ -0,0 +1,10 @@
/build.jar.tar.gz
/netbeans-profiler-visualvm_release69.tar.gz
/visualvm_13-src.tar.gz
/visualvm_harness-1.0.tar.gz
/netbeans-profiler-visualvm_release691.tar.gz
/visualvm_131-src.tar.gz
/visualvm_harness-1.1.tar.gz
/visualvm_harness-1.1pre.tar.gz
/visualvm_132-src.tar.gz
/visualvm_harness-1.2.tar.gz

View file

@ -0,0 +1,3 @@
f1bd185f7a7758ea6c9c71acf174f0a8 visualvm_harness-1.2.tar.gz
207bd175a87b9e8f12e992c0f70561a8 visualvm_132-src.tar.gz
5d730e982c47e3d3dc59b2bd8d1b62af netbeans-profiler-visualvm_release691.tar.gz

162
visualvm.spec Normal file
View file

@ -0,0 +1,162 @@
%global dwnldurl http://icedtea.classpath.org/download/visualvm/
%global visualvmharnessver 1.2
Name: visualvm
Version: 1.3.2
Release: %{visualvmharnessver}.8%{?dist}
Summary: Lightweight profiler that integrates many command-line JDK tools
Group: Development/Tools
License: GPLv2 and GPLv2+ and (GPLv2 with exceptions or CDDL)
URL: http://visualvm.dev.java.net/
Source0: %{dwnldurl}/visualvm_harness-%{visualvmharnessver}.tar.gz
Source1: %{dwnldurl}/visualvm_132-src.tar.gz
Source2: %{dwnldurl}/netbeans-profiler-visualvm_release691.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: wget
BuildRequires: java >= 1.6.0
BuildRequires: java-devel >= 1.6.0
BuildRequires: jakarta-commons-logging
BuildRequires: desktop-file-utils
BuildRequires: netbeans-platform >= 6.9-1
BuildRequires: netbeans-platform-harness
BuildRequires: netbeans-apisupport
Requires: netbeans-platform >= 6.9-1
Requires: java >= 1.6.0
Requires: java-devel >= 1.6.0
Conflicts: java-1.6.0-openjdk <= 1:1.6.0.0-47
%description
VisualVM is a visual tool integrating several command-line JDK tools and
lightweight profiling capabilities. Designed for both production and
development time use, it further enhances the capability of monitoring and
performance analysis for the Java SE platform.
%prep
%setup -q -n visualvm_harness-%{visualvmharnessver}
%build
./configure --prefix=/usr \
--with-visualvm-zip=%{SOURCE1} \
--with-netbeans-profiler-zip=%{SOURCE2} \
--with-visualvm-version=1.3.2 \
--sysconfdir=/etc \
--libdir=%{_libdir} \
--datadir=%{_datadir}
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
#silence rpmlint for necessary empty files
find $RPM_BUILD_ROOT/%{_libdir}/visualvm/visualvm/config/Modules/ -type f -empty | while read FILE; do echo "
" > $FILE;done
echo "
" > $RPM_BUILD_ROOT/%{_libdir}/visualvm/profiler/.lastModified
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/jvisualvm
%{_libdir}/visualvm/
%config(noreplace) /etc/visualvm.conf
%config(noreplace) /etc/visualvm.clusters
%{_datadir}/applications/visualvm.desktop
%doc README
%doc INSTALL
%doc COPYING
%changelog
* Mon Mar 21 2011 Jiri Vanek <jvanek@redhat.com> - 1.3.2-1.2.8
- updated for hearness 1.2
* Fri Mar 8 2011 Jiri Vanek <jvanek@redhat.com> - 1.3.2-1.2.7
- updated for vm 1.3.2
* Fri Feb 2 2011 Jiri Vanek <jvanek@redhat.com> - 1.3.1-1.1.6
- fixed requires for java-devel, fixed conflicts version
* Wed Feb 1 2011 Jiri Vanek <jvanek@redhat.com> - 1.3.1-1.1.5
- fixed requires for java-devel, fixed conflicts version
* Wed Jan 12 2011 Jiri Vanek <jvanek@redhat.com> - 1.3.1-1.1.4
- release extended for harness version
* Wed Jan 12 2011 Jiri Vanek <jvanek@redhat.com> - 1.3.1-3
- updated to harens 1.1
* Wed Nov 24 2010 Jiri Vanek <jvanek@redhat.com> - 1.3.1-2
- updated to harens 1.1pre
- removed file-changes fixed by upstream.
* Wed Nov 24 2010 Jiri Vanek <jvanek@redhat.com> - 1.3.1-1
- updated to harens 1.1, profiler 6.9.1 and visualvm 1.3.1
- removed build of bundled jar - already fixed upstream
* Wed Nov 24 2010 Jiri Vanek <jvanek@redhat.com> - 1.3-10
- resolves 667314
* Wed Nov 24 2010 Jiri Vanek <jvanek@redhat.com> - 1.3-9
- updated license
* Tue Nov 23 2010 Jiri Vanek <jvanek@redhat.com> - 1.3-8
- application moved from prefix to libdir/name
- removed fc15 from conficts, and increased release number of conflicted openjdk.
* Thu Nov 22 2010 Jiri Vanek <jvanek@redhat.com> - 1.3-7
- removed /etc symlink
- patched jvisualvm luncher to follow to /etc instead of prefix/etc
* Thu Nov 16 2010 Jiri Vanek <jvanek@redhat.com> - 1.3-6
- all simlinks and last modified moved from to install
* Thu Nov 16 2010 Jiri Vanek <jvanek@redhat.com> - 1.3-5
- repaired missing slash at platform
* Thu Nov 15 2010 Jiri Vanek <jvanek@redhat.com> - 1.3-4
- added symlinks for: etc, profiler, platform, visualvm
- sed and renaming of visualvm script
* Thu Oct 6 2010 Jiri Vanek <jvanek@redhat.com> - 1.3-3
- fixed license file
- hacked empty files
- repaired .lastModified file to be tuched in post
- (rev 6)remove ./lastModified in postun
- (rev 5)removed and rebuilded build.jar from nb (proof of rebuilding)
- noarch added, and removed -caused error "arch dependent binaries in noarch package"
- (rev 4)fixed define->global macro
- (rev1 )added --sysconfdir=/etc to .configure
- (rev1 ) --sysconfdir=/etc is not working, _libdir/visualvm/etc/visualvm.conf and _libdir/visualvm/etc/visualvm.clusters moved to /etc, visualvm/etc/ removed
- (rev 2) added owenership for lib[64]/visualvm/
- (rev 7) sed moved from install to build. Seams to have no evil efect to functionality
- (rev 3) removed _prefix/jvm/java-openjdk-jvisualvm/bin/jvisualvm and _prefix/jvm/java-openjdk-jvisualvm/share/visualvm.desktop (then jvm dir becomes empty - delete also. Both script and desktop file are before placed to right places.
- {_prefix}/jvm/java-openjdk-jvisualvm changed to {_prefix}
* Thu Oct 6 2010 Jiri Vanek <jvanek@redhat.com> - 1.3-2
- fixed noreplace config files
- applied patch visualvm-debuginfo
* Thu Sep 30 2010 Jiri Vanek <jvanek@redhat.com> - 1.3-1
- fixed installpath out of poor /user
- fixed missing requirments
* Thu Sep 16 2010 Deepak Bhole <dbhole@redhat.com> - 1.3-0
- Initial build.