48 lines
1.4 KiB
RPMSpec
48 lines
1.4 KiB
RPMSpec
|
|
%global debug_package %{nil}
|
||
|
|
%define src_install_dir /usr/src/%{name}
|
||
|
|
%define version_unconverted 5e5f2632c84e2230fb7ccb8e336f603d2ec6aa1b
|
||
|
|
|
||
|
|
Name: opencensus-cpp
|
||
|
|
Version: %{version_unconverted}
|
||
|
|
Release: 1
|
||
|
|
Summary: A stats collection and distributed tracing framework
|
||
|
|
License: Apache-2.0
|
||
|
|
URL: https://github.com/census-instrumentation/opencensus-cpp
|
||
|
|
Source: https://github.com/census-instrumentation/opencensus-cpp/archive/%{version_unconverted}.tar.gz
|
||
|
|
BuildRequires: fdupes
|
||
|
|
|
||
|
|
Patch0: backport-define-a-local-repository-for-OpenSSL.patch
|
||
|
|
|
||
|
|
%description
|
||
|
|
OpenCensus is a toolkit for collecting application performance and behavior
|
||
|
|
data. It currently includes an API for tracing and stats.
|
||
|
|
|
||
|
|
%package source
|
||
|
|
Summary: Source code of opencensus-cpp
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
%description source
|
||
|
|
OpenCensus is a toolkit for collecting application performance and behavior
|
||
|
|
data. It currently includes an API for tracing and stats.
|
||
|
|
|
||
|
|
This package provides source code of opencensus-cpp.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -p1 -n %{name}-%{version_unconverted}
|
||
|
|
|
||
|
|
%build
|
||
|
|
|
||
|
|
%install
|
||
|
|
mkdir -p %{buildroot}%{src_install_dir}
|
||
|
|
cp -r * %{buildroot}%{src_install_dir}
|
||
|
|
%fdupes %{buildroot}%{src_install_dir}
|
||
|
|
|
||
|
|
%files source
|
||
|
|
%license LICENSE
|
||
|
|
%doc README.md
|
||
|
|
%{src_install_dir}
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Mon Apr 07 2025 xinghe <xinghe2@h-partners.com> - 5e5f2632c84e2230fb7ccb8e336f603d2ec6aa1b-1
|
||
|
|
- Init Package
|