You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.6 KiB
50 lines
1.6 KiB
Name: prometheus
|
|
Version: 2.25.0
|
|
Release: itix1
|
|
Summary: The Prometheus monitoring system and time series database.
|
|
License: Apache-2.0
|
|
Source0: https://github.com/prometheus/prometheus/releases/download/v%{version}/%{name}-%{version}.linux-amd64.tar.gz
|
|
ExclusiveArch: x86_64
|
|
|
|
%description
|
|
|
|
Prometheus, a Cloud Native Computing Foundation project, is a systems and
|
|
service monitoring system. It collects metrics from configured targets at
|
|
given intervals, evaluates rule expressions, displays the results, and can
|
|
trigger alerts when specified conditions are observed.
|
|
|
|
# Since we don't recompile from source, disable the build_id checking
|
|
%global _missing_build_ids_terminate_build 0
|
|
%global _build_id_links none
|
|
%global debug_package %{nil}
|
|
|
|
%prep
|
|
%setup -q -n prometheus-%{version}.linux-amd64
|
|
|
|
%build
|
|
rm NOTICE
|
|
|
|
%install
|
|
mkdir -p %{buildroot}/opt/prometheus/bin/
|
|
cp -v prometheus %{buildroot}/opt/prometheus/bin/prometheus
|
|
cp -v promtool %{buildroot}/opt/prometheus/bin/promtool
|
|
cp -rv consoles %{buildroot}/opt/prometheus/bin/consoles/
|
|
cp -rv console_libraries %{buildroot}/opt/prometheus/bin/console_libraries/
|
|
cp -v prometheus.yml %{buildroot}/opt/prometheus/etc/prometheus.yaml
|
|
|
|
%files
|
|
%defattr(0644, root, root, 0755)
|
|
%license LICENSE
|
|
%dir /opt/prometheus/bin/
|
|
%dir /opt/prometheus/bin/consoles/
|
|
%dir /opt/prometheus/bin/console_libraries/
|
|
/opt/prometheus/bin/prometheus
|
|
/opt/prometheus/bin/promtool
|
|
/opt/prometheus/bin/consoles/*
|
|
/opt/prometheus/bin/console_libraries/*
|
|
%dir /opt/prometheus/etc/prometheus.yaml
|
|
%config /opt/prometheus/etc/prometheus.yaml
|
|
|
|
%changelog
|
|
* Mon Feb 22 2021 Nicolas MASSE <nicolas.masse@itix.fr> - 2.25.0-itix1
|
|
- First release
|
|
|