2017-05-17 21:59:02 +00:00
|
|
|
#
|
|
|
|
# spec file for package golang-github-prometheus-promu
|
|
|
|
#
|
2019-02-08 18:24:14 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2017-05-17 21:59:02 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-02-08 18:24:14 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-05-17 21:59:02 +00:00
|
|
|
#
|
|
|
|
|
2019-02-08 18:24:14 +00:00
|
|
|
|
2017-05-17 21:59:02 +00:00
|
|
|
%{go_nostrip}
|
|
|
|
|
|
|
|
Name: golang-github-prometheus-promu
|
2019-02-08 18:24:14 +00:00
|
|
|
Version: 0.2.0
|
2017-05-17 21:59:02 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Prometheus Utility Tool
|
2019-02-08 18:24:14 +00:00
|
|
|
License: Apache-2.0
|
2017-05-17 21:59:02 +00:00
|
|
|
Group: System/Management
|
2019-02-08 18:24:14 +00:00
|
|
|
Url: https://github.com/prometheus/promu
|
2017-05-17 21:59:02 +00:00
|
|
|
Source: promu-%{version}.tar.xz
|
2019-02-08 18:24:14 +00:00
|
|
|
BuildRequires: go1.11
|
2017-05-17 21:59:02 +00:00
|
|
|
BuildRequires: golang-packaging
|
|
|
|
BuildRequires: xz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%{go_provides}
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Prometheus Utility Tool is used by the Prometheus project to build other components.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n promu-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%goprep github.com/prometheus/promu
|
|
|
|
%gobuild
|
|
|
|
|
|
|
|
%install
|
|
|
|
%goinstall
|
|
|
|
%gosrc
|
|
|
|
|
|
|
|
%gofilelist
|
|
|
|
|
|
|
|
%files -f file.lst
|
|
|
|
%defattr(-,root,root,-)
|
2019-02-08 18:24:14 +00:00
|
|
|
%doc README.md
|
|
|
|
%license LICENSE
|
2017-05-17 21:59:02 +00:00
|
|
|
%{_bindir}/promu
|
|
|
|
|
|
|
|
%changelog
|