-
Notifications
You must be signed in to change notification settings - Fork 0
/
garbagecat.spec
101 lines (75 loc) · 3.46 KB
/
garbagecat.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
Summary: Parses Java garbage collection logging and provides analysis to support JVM tuning and troubleshooting for OpenJDK and Sun/Oracle JDK.
Name: garbagecat
Version: 4.0.0
Release: 1
License: EPL
Group: Development/Tools
Url: http://mgm3746.github.io/garbagecat/
Source0: https://github.com/mgm3746/garbagecat/archive/v%{version}.tar.gz
Source1: garbagecat
BuildArch: noarch
BuildRequires: java-1.8.0-openjdk-devel
BuildRequires: maven
Requires: java-1.8.0-openjdk-headless
%description
Parses Java garbage collection logging and provides analysis to support JVM
tuning and troubleshooting for OpenJDK and Sun/Oracle JDK. It differs from
other tools in that it goes beyond the simple math of calculating statistics
such as maximum pause time and throughput. It adds context to these numbers by
identifying the associated collector or collector phase, which allows for much
deeper insight and analysis. This is especially relevant to collectors such as
the Concurrent Mark Sweep collector that have multiple concurrent and
stop-the-world phases.
%prep
%setup -q -n %{name}-%{version}
%build
mvn clean assembly:assembly -DskipTests=true
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_libdir}/garbagecat/
cp target/garbagecat-%{version}.jar $RPM_BUILD_ROOT%{_libdir}/garbagecat/garbagecat.jar
install -p -D -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/garbagecat
%files
%defattr(-,root,root)
%{_libdir}/garbagecat/garbagecat.jar
%{_bindir}/garbagecat
%doc README.md
%changelog
* Fri Jan 27 2023 Robert Bost <[email protected]> 4.0.0-1
- Version bump. Source update ([email protected])
* Thu Jan 28 2021 Robert Bost <[email protected]> 3.0.5-1
- Version bump. Source update ([email protected])
* Mon Jun 29 2020 Robert Bost <[email protected]> 3.0.4-1
- Version bump. Source update ([email protected])
* Wed Feb 19 2020 Robert Bost <[email protected]> 3.0.3-1
- Version bump. Source update. ([email protected])
* Thu Feb 06 2020 Robert Bost <[email protected]> 3.0.2-1
- Version bump. Source update ([email protected])
* Thu Dec 13 2018 Robert Bost <[email protected]> 3.0.1-1
- Version bump. Source update ([email protected])
* Wed Dec 12 2018 Robert Bost <[email protected]> 3.0.0-1
- Version bump. Source update. ([email protected])
* Thu Feb 22 2018 Robert Bost <[email protected]> 2.0.12-2
- Bump release. ([email protected])
- Fixed issue with incorrect source archive. ([email protected])
* Thu Feb 22 2018 Robert Bost <[email protected]> 2.0.12-1
- Version bump. Source update ([email protected])
* Fri Jun 23 2017 Robert Bost <[email protected]> 2.0.11-1
- Version bump. Source update. ([email protected])
* Wed Jun 07 2017 Robert Bost <[email protected]> 2.0.10-1
- Version bump. Source update. ([email protected])
* Thu May 25 2017 Robert Bost <[email protected]> 2.0.9-1
- Version bump. Source update. ([email protected])
* Thu Apr 20 2017 Robert Bost <[email protected]> 2.0.8-1
- Version bump. Source update ([email protected])
* Wed Apr 05 2017 Robert Bost <[email protected]> 2.0.7-2
- Removed version from .jar. Fixed garbagecat script. ([email protected])
* Wed Apr 05 2017 Robert Bost <[email protected]> 2.0.7-1
- Version bump. Source update. ([email protected])
- Automatic commit of package [garbagecat] release [2.0.6-1].
- Add build status badge. ([email protected])
* Tue Apr 04 2017 Robert Bost 2.0.6-1
- Version bump. Source update. Slight change in upstream tagging.
* Fri Mar 24 2017 Robert Bost 2.0.5-2
- Add changelog section ([email protected])