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