Name: HdrHistogram_c Version: 0.11.0 Release: 4%{?dist} Summary: C port of the HdrHistogram License: BSD and Public Domain URL: https://github.com/HdrHistogram/%{name} Source0: https://github.com/HdrHistogram/%{name}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc g++ cmake zlib-devel %description C port of High Dynamic Range (HDR) Histogram. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -n %{name}-%{version} %build %cmake -DHDR_HISTOGRAM_INSTALL_STATIC=OFF . %cmake_build %check %ctest %install rm -rf $RPM_BUILD_ROOT %cmake_install find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' find $RPM_BUILD_ROOT %ldconfig_post %ldconfig_postun %files %license LICENSE.txt %doc README.md %exclude %{_bindir}/* %{_libdir}/libhdr_histogram.so.6.1.0 %{_libdir}/libhdr_histogram.so.6 %files devel %dir %{_includedir}/hdr %{_includedir}/hdr/hdr_thread.h %{_includedir}/hdr/hdr_interval_recorder.h %{_includedir}/hdr/hdr_writer_reader_phaser.h %{_includedir}/hdr/hdr_time.h %{_includedir}/hdr/hdr_histogram_log.h %{_includedir}/hdr/hdr_histogram.h %{_libdir}/libhdr_histogram.so %{_libdir}/cmake/hdr_histogram/*.cmake %changelog * Mon Jan 25 2021 Fedora Release Engineering - 0.11.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 0.11.0-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Lukas Zapletal - 0.11.0-1 - New upstream version * Wed Apr 29 2020 Nathan Scott - 0.9.13-1 - New upstream version * Wed Feb 12 2020 Lukas Zapletal - 0.9.12-1 - New upstream version * Tue Jan 28 2020 Fedora Release Engineering - 0.9.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Aug 14 2019 Lukáš Zapletal 0.9.11-1 - Initial package version