|
|
9ef9c8 |
Name: HdrHistogram_c
|
|
|
9ef9c8 |
Version: 0.9.13
|
|
|
9ef9c8 |
Release: 2%{?dist}
|
|
|
9ef9c8 |
Summary: C port of the HdrHistogram
|
|
|
9ef9c8 |
License: BSD and Public Domain
|
|
|
9ef9c8 |
URL: https://github.com/HdrHistogram/%{name}
|
|
|
9ef9c8 |
Source0: https://github.com/HdrHistogram/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
BuildRequires: gcc cmake zlib-devel
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
%description
|
|
|
9ef9c8 |
C port of High Dynamic Range (HDR) Histogram.
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
%package devel
|
|
|
9ef9c8 |
Summary: Development files for %{name}
|
|
|
9ef9c8 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
%description devel
|
|
|
9ef9c8 |
The %{name}-devel package contains libraries and header files for
|
|
|
9ef9c8 |
developing applications that use %{name}.
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
%prep
|
|
|
9ef9c8 |
%autosetup -n %{name}-%{version}
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
%build
|
|
|
9ef9c8 |
%cmake .
|
|
|
9ef9c8 |
%make_build
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
%check
|
|
|
9ef9c8 |
ls test
|
|
|
9ef9c8 |
test/hdr_atomic_test
|
|
|
9ef9c8 |
test/hdr_histogram_test
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
%install
|
|
|
9ef9c8 |
rm -rf $RPM_BUILD_ROOT
|
|
|
9ef9c8 |
%make_install
|
|
|
9ef9c8 |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
9ef9c8 |
find $RPM_BUILD_ROOT
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
%ldconfig_post
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
%ldconfig_postun
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
%files
|
|
|
9ef9c8 |
%license LICENSE.txt
|
|
|
9ef9c8 |
%doc README.md
|
|
|
9ef9c8 |
%exclude %{_bindir}/hiccup
|
|
|
9ef9c8 |
%exclude %{_bindir}/hdr_decoder
|
|
|
9ef9c8 |
%exclude %{_bindir}/perftest
|
|
|
9ef9c8 |
%exclude %{_bindir}/hdr_histogram_log_test
|
|
|
9ef9c8 |
%exclude %{_bindir}/hdr_histogram_test
|
|
|
9ef9c8 |
%exclude %{_bindir}/hdr_histogram_atomic_test
|
|
|
9ef9c8 |
%{_libdir}/libhdr_histogram.so.5.0.0
|
|
|
9ef9c8 |
%{_libdir}/libhdr_histogram.so.5
|
|
|
9ef9c8 |
%exclude %{_libdir}/libhdr_histogram_static.a
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
%files devel
|
|
|
9ef9c8 |
%dir %{_includedir}/hdr
|
|
|
9ef9c8 |
%{_includedir}/hdr/hdr_thread.h
|
|
|
9ef9c8 |
%{_includedir}/hdr/hdr_interval_recorder.h
|
|
|
9ef9c8 |
%{_includedir}/hdr/hdr_writer_reader_phaser.h
|
|
|
9ef9c8 |
%{_includedir}/hdr/hdr_time.h
|
|
|
9ef9c8 |
%{_includedir}/hdr/hdr_histogram_log.h
|
|
|
9ef9c8 |
%{_includedir}/hdr/hdr_histogram.h
|
|
|
9ef9c8 |
%{_libdir}/libhdr_histogram.so
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
%changelog
|
|
|
9ef9c8 |
* Wed May 20 2020 Nathan Scott <nathans@redhat.com> - 0.9.13-2
|
|
|
9ef9c8 |
- Rebuild for CI/gating
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
* Wed Apr 29 2020 Nathan Scott <nathans@redhat.com> - 0.9.13-1
|
|
|
9ef9c8 |
- Initial version for RHEL-8 (BZ 1748643)
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
* Wed Feb 12 2020 Lukas Zapletal <lzap+rpm@redhat.com> - 0.9.12-1
|
|
|
9ef9c8 |
- New version
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.11-2
|
|
|
9ef9c8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
9ef9c8 |
|
|
|
9ef9c8 |
* Wed Aug 14 2019 Lukáš Zapletal 0.9.11-1
|
|
|
9ef9c8 |
- Initial package version
|