From 278467144da8940ec437fbf9b8101abd34ce8614 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 02 2019 15:39:58 +0000 Subject: import pmdk-convert-1.5.1-2.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a61486e --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +SOURCES/nvml-1.0.tar.gz +SOURCES/nvml-1.1.tar.gz +SOURCES/nvml-1.2.3.tar.gz +SOURCES/nvml-1.3.1.tar.gz +SOURCES/nvml-1.4.2.tar.gz +SOURCES/nvml-1.5.1.tar.gz +SOURCES/pmdk-convert-1.5.1.tar.gz diff --git a/.pmdk-convert.metadata b/.pmdk-convert.metadata new file mode 100644 index 0000000..6391269 --- /dev/null +++ b/.pmdk-convert.metadata @@ -0,0 +1,7 @@ +68c1210355d26b2b1ee2b21050bde3891f63172a SOURCES/nvml-1.0.tar.gz +5a0727b90f620b20d8f507359bcb91ee22315937 SOURCES/nvml-1.1.tar.gz +56afc47af93d8bc64c7e03ff71830f5dd7012957 SOURCES/nvml-1.2.3.tar.gz +8856bd67ff6a7ac2fdc7f889b1aa2962add98ce7 SOURCES/nvml-1.3.1.tar.gz +fdfc7cbc24552e35b6712bbb02b0db007fedba26 SOURCES/nvml-1.4.2.tar.gz +00855536964320fd623eafcdde2437256f541c36 SOURCES/nvml-1.5.1.tar.gz +5a6a74ceb331c364833f4230b39f9beaa329b110 SOURCES/pmdk-convert-1.5.1.tar.gz diff --git a/SPECS/pmdk-convert.spec b/SPECS/pmdk-convert.spec new file mode 100644 index 0000000..b0ce2f3 --- /dev/null +++ b/SPECS/pmdk-convert.spec @@ -0,0 +1,85 @@ +%global upstreamversion 1.5.1 + +Name: pmdk-convert +Version: 1.5.1 +Release: 2%{?dist} +Summary: Conversion tool for PMDK pools +# Note: utils/cstyle is CDDL licensed. It's only used during development and it's NOT part of the binary RPM. +License: BSD +URL: https://github.com/pmem/pmdk-convert + +Source0: https://github.com/pmem/%{name}/archive/%{upstreamversion}.tar.gz#/%{name}-%{upstreamversion}.tar.gz +Source1: https://github.com/pmem/pmdk/archive/1.0.tar.gz#/nvml-1.0.tar.gz +Source2: https://github.com/pmem/pmdk/archive/1.1.tar.gz#/nvml-1.1.tar.gz +Source3: https://github.com/pmem/pmdk/archive/1.2.3.tar.gz#/nvml-1.2.3.tar.gz +Source4: https://github.com/pmem/pmdk/archive/1.3.1.tar.gz#/nvml-1.3.1.tar.gz +Source5: https://github.com/pmem/pmdk/archive/1.4.2.tar.gz#/nvml-1.4.2.tar.gz +Source6: https://github.com/pmem/pmdk/archive/1.5.1.tar.gz#/nvml-1.5.1.tar.gz + +BuildRequires: cmake >= 3.3 +BuildRequires: glibc-devel +BuildRequires: gcc +BuildRequires: gdb + +# PMDK is currently available only on x86_64 +ExclusiveArch: x86_64 + +%description +pmdk-convert is a tool for conversion of PMDK pools from any version +to any consecutive version. Currently only libpmemobj pools require +conversion and this tool supports only those kind of pools. + +%files +%{_bindir}/pmdk-convert +%{_mandir}/man1/pmdk-convert.1.gz +%dir %{_libdir}/pmdk-convert +%{_libdir}/pmdk-convert/libpmem-convert.so +%{_libdir}/pmdk-convert/pmemobj_convert_v1.so +%{_libdir}/pmdk-convert/pmemobj_convert_v2.so +%{_libdir}/pmdk-convert/pmemobj_convert_v3.so +%{_libdir}/pmdk-convert/pmemobj_convert_v4.so +%{_libdir}/pmdk-convert/pmemobj_convert_v5.so + +%license LICENSE + +%doc ChangeLog README.md + +%prep +%setup -q +cp %{S:1} . +cp %{S:2} . +cp %{S:3} . +cp %{S:4} . +cp %{S:5} . +cp %{S:6} . + +%build +mkdir build +cd build +# TESTS_USE_FORCED_PMEM=ON to speed up tests on non-pmem file systems +%cmake .. -DTESTS_USE_FORCED_PMEM=ON +%make_build + +%install +cd build +%make_install + +%check +cd build +ctest -V + +%if 0%{?__debug_package} == 0 +%debug_package +%endif + +%changelog +* Wed Jun 19 2019 Jeff Moyer - 1.5.1-2.el8 +- Bump release number and re-build to trigger gating tests +- Related: rhbz#1659658 + +* Tue May 28 2019 Jeff Moyer - 1.5.1-1 +- Initial RHEL 8 import. +- Resolves: rhbz#1659658 + +* Thu Nov 8 2018 Marcin Ĺšlusarz - 1.5-1 +- Initial RPM release