package init
This commit is contained in:
parent
990ce2993b
commit
0416841c1a
BIN
HdrHistogram-2.1.11.tar.gz
Normal file
BIN
HdrHistogram-2.1.11.tar.gz
Normal file
Binary file not shown.
55
HdrHistogram.spec
Normal file
55
HdrHistogram.spec
Normal file
@ -0,0 +1,55 @@
|
||||
Name: HdrHistogram
|
||||
Version: 2.1.11
|
||||
Release: 1
|
||||
Summary: A High Dynamic Range (HDR) Histogram
|
||||
License: BSD and CC0
|
||||
URL: http://hdrhistogram.github.io/%{name}/
|
||||
Source0: https://github.com/%{name}/%{name}/archive/%{name}-%{version}.tar.gz
|
||||
BuildRequires: maven-local mvn(com.google.code.maven-replacer-plugin:replacer)
|
||||
BuildRequires: mvn(junit:junit) mvn(org.sonatype.oss:oss-parent:pom:)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
Requires: javapackages-tools
|
||||
BuildArch: noarch
|
||||
%description
|
||||
HdrHistogram supports the recording and analyzing sampled data value
|
||||
counts across a configurable integer value range with configurable value
|
||||
precision within the range. Value precision is expressed as the number of
|
||||
significant digits in the value recording, and provides control over value
|
||||
quantization behavior across the value range and the subsequent value
|
||||
resolution at any given level.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
%description javadoc
|
||||
This package contains javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{name}-%{version}
|
||||
find -name "*.class" -print -delete
|
||||
find -name "*.jar" -print -delete
|
||||
%pom_remove_plugin :maven-dependency-plugin
|
||||
%pom_remove_plugin :maven-javadoc-plugin
|
||||
%pom_remove_plugin :maven-release-plugin
|
||||
%pom_remove_plugin :maven-source-plugin
|
||||
%pom_remove_plugin :nexus-staging-maven-plugin
|
||||
%pom_xpath_set "pom:plugin[pom:groupId = 'com.google.code.maven-replacer-plugin' ]/pom:artifactId" replacer
|
||||
%mvn_file :%{name} %{name}
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
%jpackage_script org.%{name}.HistogramLogProcessor "" "" %{name} HistogramLogProcessor true
|
||||
|
||||
%files -f .mfiles
|
||||
%{_bindir}/HistogramLogProcessor
|
||||
%doc README.md
|
||||
%license COPYING.txt LICENSE.txt
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license COPYING.txt LICENSE.txt
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 wangyue <wangyue92@huawei.com> - 2.1.11-1
|
||||
- package init
|
||||
5
HdrHistogram.yaml
Normal file
5
HdrHistogram.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
git_url: https://github.com/floatdrop/pinkie
|
||||
version_control: github
|
||||
src_repo: floatdrop/pinkie
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user