Name: ck Version: 0.5.2 Release: 2%{?dist} Summary: Library for high performance concurrent programming Group: Development/Libraries License: BSD URL: http://concurrencykit.org Source: http://concurrencykit.org/releases/ck-%{version}.tar.gz %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 Group: Development/Libraries 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 %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 %files %license LICENSE %{_libdir}/libck.so.* %files devel %{_libdir}/libck.so %{_includedir}/%{name} %{_libdir}/pkgconfig/%{name}.pc %{_mandir}/man3/*.3.gz %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %changelog * 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