Name: ck Version: 0.6.0 Release: 9%{?dist} Summary: Library for high performance concurrent programming License: BSD URL: http://concurrencykit.org Source: http://concurrencykit.org/releases/ck-%{version}.tar.gz Patch0: ck-config-s390x.patch BuildRequires: gcc %description Concurrency Kit provides a plethora of concurrency primitives, safe memory reclamation mechanisms and lock-less and lock-free data structures designed to aid in the design and implementation of high performance concurrent systems. It is designed to minimize dependencies on operating system-specific interfaces and most of the interface relies only on a strict subset of the standard library and more popular compiler extensions. %package devel Summary: Header files and libraries for CK development Requires: %{name} = %{version}-%{release} %description devel Concurrency Kit provides a plethora of concurrency primitives, safe memory reclamation mechanisms and lock-less and lock-free data structures designed to aid in the design and implementation of high performance concurrent systems. It is designed to minimize dependencies on operating system-specific interfaces and most of the interface relies only on a strict subset of the standard library and more popular compiler extensions. This package provides the libraries, include files, and other resources needed for developing Concurrency Kit applications. %prep %setup -q %patch0 -p1 %build export CFLAGS="%{optflags}" ./configure \ --libdir=%{_libdir} \ --includedir=%{_includedir}/%{name} \ --mandir=%{_mandir} \ --prefix=%{_prefix} %make_build %install %make_install # fix weird mode of the shared library chmod 0755 %{buildroot}%{_libdir}/libck.so.* # remove static library rm %{buildroot}%{_libdir}/libck.a %check # tests fail on ppc64 and ppc64le, but since it's not whether it is problem # in tests or library, let's just ignore tests results for now %ifarch %{ix86} x86_64 ppc64 ppc64le make check || : %else make check %endif %files %license LICENSE %{_libdir}/libck.so.* %files devel %{_libdir}/libck.so %{_includedir}/%{name} %{_libdir}/pkgconfig/%{name}.pc %{_mandir}/man3/*.3.gz %ldconfig_scriptlets %changelog * Wed Jul 24 2019 Fedora Release Engineering - 0.6.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.6.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jul 17 2018 Honza Horak - 0.6.0-7 - Explicitly include gcc * Tue Jul 17 2018 Honza Horak - 0.6.0-6 - Fix building on s390x and ignore tests also for ppc64le and ix86 and x86_64 * Thu Jul 12 2018 Fedora Release Engineering - 0.6.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Feb 28 2017 Xavier Bachelot - 0.6.0-1 - Update to 0.6.0. - Run test suite. * Sat Feb 11 2017 Honza Horak - 0.5.2-2 - Fix issues found during Package Review Summary provides better idea what this library is for Using macros for make build and install Fix permissions of the shared library * Sat Feb 04 2017 Honza Horak - 0.5.2-1 - Initial packaging