890280e
Name: ck
1135df1
Version: 0.6.0
1135df1
Release: 1%{?dist}
890280e
Summary: Library for high performance concurrent programming
890280e
890280e
Group: Development/Libraries
890280e
License: BSD
890280e
URL: http://concurrencykit.org
890280e
890280e
Source: http://concurrencykit.org/releases/ck-%{version}.tar.gz
890280e
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
Group: Development/Libraries
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
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
6cc5e65
%ifarch ppc64 ppc64le
fe74fc4
make check || :
fe74fc4
%else
1135df1
make check
fe74fc4
%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
890280e
%post -p /sbin/ldconfig
890280e
890280e
%postun -p /sbin/ldconfig
890280e
890280e
%changelog
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