Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 47b8c90

Browse filesBrowse files
committed
add spec file
1 parent 3a5cef6 commit 47b8c90
Copy full SHA for 47b8c90

File tree

Expand file treeCollapse file tree

1 file changed

+97
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+97
-0
lines changed
Open diff view settings
Collapse file

‎client_java.spec‎

Copy file name to clipboard
+97Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
Name: prometheus-java-simpleclient
2+
Version: 0.3.0
3+
Release: 1%{?dist}
4+
Summary: Prometheus instrumentation library for JVM applications
5+
License: ASL 2.0 and CC0
6+
URL: https://github.com/yaacov/client_java/
7+
Source0: https://github.com/yaacov/client_java/archive/parent-%{version}.tar.gz
8+
BuildArch: noarch
9+
10+
BuildRequires: maven-local
11+
BuildRequires: maven-plugin-bundle
12+
BuildRequires: maven-enforcer-plugin
13+
BuildRequires: maven-assembly-plugin
14+
BuildRequires: maven-compiler-plugin
15+
BuildRequires: maven-surefire-plugin
16+
BuildRequires: jetty8-servlet
17+
BuildRequires: jetty8-http
18+
BuildRequires: glassfish-servlet-api
19+
BuildRequires: sonatype-oss-parent
20+
21+
%description
22+
Prometheus JVM Client supports Java, Clojure, Scala,
23+
JRuby, and anything else that runs on the JVM.
24+
25+
%package common
26+
Summary: Prometheus Java Simpleclient Common
27+
28+
%description common
29+
Common code used by various modules of the Simpleclient.
30+
31+
%package parent
32+
Summary: Prometheus Java Suite Parent POM
33+
34+
%description parent
35+
Prometheus Java Suite Parent POM.
36+
37+
%package servlet
38+
Summary: Prometheus Java Simpleclient Servlet
39+
40+
%description servlet
41+
HTTP servlet exporter for the simpleclient.
42+
43+
%package javadoc
44+
Summary: API documentation for %{name}
45+
46+
%description javadoc
47+
This package provides %{summary}.
48+
49+
%prep
50+
%setup -q -n client_java-parent-%{version}
51+
52+
%pom_disable_module simpleclient_caffeine
53+
%pom_disable_module simpleclient_dropwizard
54+
%pom_disable_module simpleclient_graphite_bridge
55+
%pom_disable_module simpleclient_hibernate
56+
%pom_disable_module simpleclient_guava
57+
%pom_disable_module simpleclient_hotspot
58+
%pom_disable_module simpleclient_httpserver
59+
%pom_disable_module simpleclient_log4j
60+
%pom_disable_module simpleclient_log4j2
61+
%pom_disable_module simpleclient_logback
62+
%pom_disable_module simpleclient_pushgateway
63+
#%pom_disable_module simpleclient_servlet
64+
%pom_disable_module simpleclient_spring_web
65+
%pom_disable_module simpleclient_spring_boot
66+
%pom_disable_module simpleclient_jetty
67+
%pom_disable_module simpleclient_jetty_jdk8
68+
%pom_disable_module simpleclient_vertx
69+
%pom_disable_module benchmark
70+
71+
%pom_remove_plugin :maven-deploy-plugin
72+
%pom_remove_plugin :maven-release-plugin
73+
74+
%build
75+
%mvn_build -s
76+
77+
%install
78+
%mvn_install
79+
80+
%files javadoc -f .mfiles-javadoc
81+
%doc LICENSE NOTICE
82+
83+
%files parent -f .mfiles-parent
84+
%license LICENSE NOTICE
85+
86+
%files -f .mfiles-simpleclient
87+
%doc README.md
88+
%doc LICENSE NOTICE
89+
%dir %{_javadir}/%{name}
90+
91+
%files common -f .mfiles-simpleclient_common
92+
93+
%files servlet -f .mfiles-simpleclient_servlet
94+
95+
%changelog
96+
* Mon Apr 2 2018 Yaacov Zamir <yzamir@redhat.com> - 0.3.0-1
97+
- Initial packaging

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.