2019-08-19 14:22:03 +00:00
|
|
|
Name: HdrHistogram_c
|
2020-02-12 08:26:41 +00:00
|
|
|
Version: 0.9.12
|
|
|
|
Release: 1%{?dist}
|
2019-08-19 14:22:03 +00:00
|
|
|
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 .
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
ls test
|
|
|
|
test/hdr_atomic_test
|
|
|
|
test/hdr_histogram_test
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%make_install
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
2020-02-12 08:52:14 +00:00
|
|
|
find $RPM_BUILD_ROOT
|
2019-08-19 14:22:03 +00:00
|
|
|
|
|
|
|
%ldconfig_post
|
|
|
|
|
|
|
|
%ldconfig_postun
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE.txt
|
|
|
|
%doc README.md
|
|
|
|
%exclude %{_bindir}/hiccup
|
|
|
|
%exclude %{_bindir}/hdr_decoder
|
|
|
|
%exclude %{_bindir}/perftest
|
|
|
|
%exclude %{_bindir}/hdr_histogram_log_test
|
|
|
|
%exclude %{_bindir}/hdr_histogram_test
|
2020-02-12 08:52:14 +00:00
|
|
|
%exclude %{_bindir}/hdr_histogram_atomic_test
|
|
|
|
%{_libdir}/libhdr_histogram.so.4.2.0
|
|
|
|
%{_libdir}/libhdr_histogram.so.4
|
2019-08-19 14:22:03 +00:00
|
|
|
%exclude %{_libdir}/libhdr_histogram_static.a
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
%changelog
|
2020-02-12 08:26:41 +00:00
|
|
|
* Wed Feb 12 2020 Lukas Zapletal <lzap+rpm@redhat.com> - 0.9.12-1
|
|
|
|
- new version
|
|
|
|
|
2020-01-28 09:27:20 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.11-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-08-19 14:22:03 +00:00
|
|
|
* Wed Aug 14 2019 Lukáš Zapletal 0.9.11-1
|
|
|
|
- Initial package version
|