package created using the webbuild interface [release 1.8.3-1mamba;Sun Mar 10 2024]
This commit is contained in:
parent
35eebf9147
commit
bed7bd1b53
86
benchmark.spec
Normal file
86
benchmark.spec
Normal file
@ -0,0 +1,86 @@
|
||||
Name: benchmark
|
||||
Version: 1.8.3
|
||||
Release: 1mamba
|
||||
Summary: A microbenchmark support library
|
||||
Group: Development/Tools
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/google/benchmark
|
||||
Source: https://github.com/google/benchmark.git/v%{version}/benchmark-%{version}.tar.bz2
|
||||
License: Apache License 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cmake
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description
|
||||
A microbenchmark support library.
|
||||
|
||||
%package -n lib%{name}
|
||||
Group: System/Libraries
|
||||
Summary: A microbenchmark support library
|
||||
|
||||
%description -n lib%{name}
|
||||
A microbenchmark support library.
|
||||
This package contains shared libraries for %{name}.
|
||||
|
||||
%package -n lib%{name}-devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DBENCHMARK_ENABLE_LTO=ON \
|
||||
-DBENCHMARK_ENABLE_GTEST_TESTS=OFF
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%cmake_install
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libbenchmark.so.*
|
||||
%{_libdir}/libbenchmark_main.so.*
|
||||
%doc AUTHORS LICENSE
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/benchmark
|
||||
%{_includedir}/benchmark/*
|
||||
%{_libdir}/libbenchmark.so
|
||||
%{_libdir}/libbenchmark_main.so
|
||||
%dir %{_libdir}/cmake/benchmark
|
||||
%{_libdir}/cmake/benchmark/benchmark*.cmake
|
||||
%{_libdir}/pkgconfig/benchmark.pc
|
||||
%dir %{_docdir}/benchmark
|
||||
%{_docdir}/benchmark/*
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Sun Mar 10 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.3-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user