From 00d80f3d87ab17daee0d1de03b9130c53cf0f2c5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 18 May 2021 03:00:25 -0400 Subject: [PATCH] import libpmemobj-cpp-1.9-1.module+el8.4.0+10588+24dee5ba --- .gitignore | 1 + .libpmemobj-cpp.metadata | 1 + SPECS/libpmemobj-cpp.spec | 116 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 118 insertions(+) create mode 100644 .gitignore create mode 100644 .libpmemobj-cpp.metadata create mode 100644 SPECS/libpmemobj-cpp.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f486d7c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libpmemobj-cpp-1.9.tar.gz diff --git a/.libpmemobj-cpp.metadata b/.libpmemobj-cpp.metadata new file mode 100644 index 0000000..b684573 --- /dev/null +++ b/.libpmemobj-cpp.metadata @@ -0,0 +1 @@ +f3bdb840779479f83f6dc2e77bb51c8c6aec97a0 SOURCES/libpmemobj-cpp-1.9.tar.gz diff --git a/SPECS/libpmemobj-cpp.spec b/SPECS/libpmemobj-cpp.spec new file mode 100644 index 0000000..48bf746 --- /dev/null +++ b/SPECS/libpmemobj-cpp.spec @@ -0,0 +1,116 @@ +%global min_libpmemobj_ver 1.9 +%global upstreamversion 1.9 + +Name: libpmemobj-cpp +Version: 1.9 +Release: 1%{?dist} +Summary: C++ bindings for libpmemobj +# Note: tests/external/libcxx is dual licensed using University of Illinois "BSD-Like" license and the MIT license. It's used only during development/testing and is NOT part of the binary RPM. +License: BSD +URL: http://pmem.io/pmdk/cpp_obj/ + +Source0: https://github.com/pmem/%{name}/archive/%{upstreamversion}.tar.gz#/%{name}-%{upstreamversion}.tar.gz + +BuildRequires: libpmemobj-devel >= %{min_libpmemobj_ver} +BuildRequires: cmake >= 3.3 +BuildRequires: glibc-devel +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: doxygen +BuildRequires: perl-Encode + +# There's nothing x86-64 specific in this package, but we have +# to duplicate what spec for pmdk/libpmemobj has at the moment. +# Relevant bug reports: +# https://bugzilla.redhat.com/show_bug.cgi?id=1340634 +# https://bugzilla.redhat.com/show_bug.cgi?id=1340635 +# https://bugzilla.redhat.com/show_bug.cgi?id=1340636 +# https://bugzilla.redhat.com/show_bug.cgi?id=1340637 +ExclusiveArch: x86_64 + +%description +This package contains header files for libpmemobj C++ bindings and C++ +containers built on top of them. + +# Specify a virtual Provide for libpmemobj++-static package, so the package +# usage can be tracked. +%package -n libpmemobj++-devel +Summary: C++ bindings for Persistent Memory Transactional Object Store library +Provides: libpmemobj++-static = %{version}-%{release} +Requires: libpmemobj-devel >= %{min_libpmemobj_ver} + +%description -n libpmemobj++-devel +This package contains header files for libpmemobj C++ bindings and C++ +containers built on top of them. + +The libpmemobj library provides a transactional object store, +providing memory allocation, transactions, and general facilities for +persistent memory programming. + +%files -n libpmemobj++-devel +%{_libdir}/pkgconfig/libpmemobj++.pc +%dir %{_includedir}/libpmemobj++ +%{_includedir}/libpmemobj++/*.hpp +%dir %{_includedir}/libpmemobj++/detail +%{_includedir}/libpmemobj++/detail/*.hpp +%dir %{_includedir}/libpmemobj++/container +%{_includedir}/libpmemobj++/container/*.hpp +%dir %{_includedir}/libpmemobj++/container/detail +%{_includedir}/libpmemobj++/container/detail/*.hpp +%dir %{_includedir}/libpmemobj++/experimental +%{_includedir}/libpmemobj++/experimental/*.hpp +%dir %{_libdir}/libpmemobj++ +%dir %{_libdir}/libpmemobj++/cmake +%{_libdir}/libpmemobj++/cmake/libpmemobj++-config-version.cmake +%{_libdir}/libpmemobj++/cmake/libpmemobj++-config.cmake + +%license LICENSE + +%doc ChangeLog README.md + +%package -n libpmemobj++-doc +Summary: HTML documentation for libpmemobj++ + +%description -n libpmemobj++-doc +HTML documentation for libpmemobj++. + +%files -n libpmemobj++-doc +%dir %{_docdir}/libpmemobj++ +%{_docdir}/libpmemobj++/* + +%license LICENSE + +%doc ChangeLog README.md + +%global debug_package %{nil} + +%prep +%setup -q + +%build + +mkdir build +cd build +%cmake .. -DCMAKE_INSTALL_DOCDIR=%{_docdir}/libpmemobj++ +%make_build + +%install +cd build +%make_install + +%changelog +* Mon Feb 1 2021 Jeff Moyer - 1.9-1 +- Update to upstream version 1.9 +- get rid of % check, as the builtin tests now require packages we don't ship. +- Related: rhbz#1780389 + +* Tue Jun 18 2019 Jeff Moyer - 1.6-2.el8 +- new build to kick off gating tests +- Related: rhbz#1659659 + +* Mon Jun 17 2019 Jeff Moyer - 1.6-1.el8 +- initial RHEL8 import +- Resolves: rhbz#1659659 + +* Thu Nov 8 2018 Marcin Ĺšlusarz - 1.5-1 +- Initial RPM release