Name: primesieve Version: 8.0 Release: 3%{?dist} Summary: Fast prime number generator License: BSD URL: https://github.com/kimwalisch/primesieve Source0: https://github.com/kimwalisch/primesieve/archive/v%{version}.tar.gz Requires: primesieve-libs%{?_isa} = %{version}-%{release} BuildRequires: gcc-c++ BuildRequires: make BuildRequires: cmake >= 3.7 BuildRequires: asciidoc %description primesieve is a program that generates primes using a highly optimized sieve of Eratosthenes implementation. primesieve can generate primes and prime k-tuplets up to 2^64. %package -n primesieve-libs Summary: C/C++ library for generating prime numbers %description -n primesieve-libs This package contains the shared runtime library for primesieve. %package -n primesieve-devel Summary: Development files for the primesieve library Requires: primesieve-libs%{?_isa} = %{version}-%{release} %description -n primesieve-devel This package contains the C/C++ header files and the configuration files for developing applications that use the primesieve library. It also contains the API documentation of the library. %prep %setup -q -n %{name}-%{version} %build %cmake -DBUILD_STATIC_LIBS=OFF -DBUILD_TESTS=ON -DBUILD_MANPAGE=ON %cmake_build %install %cmake_install %ldconfig_scriptlets -n primesieve-libs %check %ctest %files -n primesieve %doc README.md ChangeLog %{_bindir}/primesieve %{_mandir}/man1/primesieve.1* %files -n primesieve-libs %license COPYING %{_libdir}/libprimesieve.so.10* %files -n primesieve-devel %doc doc/C_API.md doc/CPP_API.md %{_libdir}/libprimesieve.so %{_includedir}/primesieve.h %{_includedir}/primesieve.hpp %dir %{_includedir}/primesieve %{_includedir}/primesieve/StorePrimes.hpp %{_includedir}/primesieve/iterator.h %{_includedir}/primesieve/iterator.hpp %{_includedir}/primesieve/primesieve_error.hpp %dir %{_libdir}/cmake/primesieve %{_libdir}/cmake/primesieve/*.cmake %{_libdir}/pkgconfig/primesieve.pc %changelog * Fri Jul 22 2022 Fedora Release Engineering - 8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jul 08 2022 Kim Walisch - 8.0-2 - Make SONAME explicit - Fix changelog entry - Increase version to 8.0-2 for new build * Thu Jul 07 2022 Kim Walisch - 8.0-1 - Update to primesieve-8.0 - Added multiarch support (POPCNT, BMI2, AVX512) for x64 CPUs - Generating an array (or vector) of primes is up to 20% faster - Main CMakeLists.txt has been split up into multiple modules - Improved documentation of C & C++ APIs * Tue May 03 2022 Kim Walisch - 7.9-2 - Update to latest Fedora spec CMake syntax - Update documentation files of primesieve-devel * Tue May 03 2022 Kim Walisch - 7.9-1 - Update to primesieve-7.9 - Reduced memory usage and faster initialization - Reduced branch mispredictions by up to 30% - Improved nth prime approximation - Increase max sieve array size to 8 KiB * Sun Jan 30 2022 Kim Walisch - 7.8-1 - Update to primesieve-7.8 - Improved pre-sieving, up to 10% speedup - Improved primesieve::iterator, up to 15% speedup * Fri Jan 21 2022 Fedora Release Engineering - 7.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Dec 08 2021 Kim Walisch - 7.7-1 - Update to primesieve-7.7 - Improved cache size detection on big.LITTLE CPUs * Fri Jul 23 2021 Fedora Release Engineering - 7.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Mar 30 2021 Jonathan Wakely - 7.6-4 - Rebuilt for removed libstdc++ symbol (#1937698) * Wed Jan 27 2021 Fedora Release Engineering - 7.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Jan 09 2021 Kim Walisch - 7.6-2 - Fix version number in ChangeLog * Sat Jan 09 2021 Kim Walisch - 7.6-1 - Update to primesieve-7.6 * Tue Aug 04 2020 Kim Walisch - 7.5-6 - Fix CMake doc target issue, indicate path * Tue Aug 04 2020 Kim Walisch - 7.5-5 - Fix CMake issue, CMake build directory changed in Fedora 33 * Sat Aug 01 2020 Fedora Release Engineering - 7.5-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 7.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 7.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Jan 06 2020 Kim Walisch - 7.5-1 - Update to primesieve-7.5 * Fri Jul 26 2019 Fedora Release Engineering - 7.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Apr 23 2019 Kim Walisch - 7.4-2 - Rename libprimesieve to primesieve-libs - Rename libprimesieve-devel to primesieve-devel - Increase CMake version to >= 3.7 * Mon Apr 08 2019 Kim Walisch - 7.4-1 - Update to primesieve-7.4 - Move Requires before description - Drop libprimesieve-static package * Sun Jul 08 2018 Kim Walisch - 7.0-1 - Update to primesieve-7.0 - Fix erroneous date in changelog * Sat Mar 24 2018 Kim Walisch - 6.4-5 - Update to primesieve-6.4 * Fri Feb 16 2018 Kim Walisch - 6.4-4 - Add libprimesieve package - Improve summaries and descriptions - Update to primesieve-6.4-rc2 * Tue Feb 06 2018 Kim Walisch - 6.4-3 - Fix new issues from package review * Wed Jan 31 2018 Kim Walisch - 6.4-2 - Fix issues from package review * Tue Jan 30 2018 Kim Walisch - 6.4-1 - Initial package