diff --git a/ck-0.6.0.tar.gz b/ck-0.6.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..497439d617bf06a6fb8e53eddaafe3c4cd904c86 Binary files /dev/null and b/ck-0.6.0.tar.gz differ diff --git a/ck.spec b/ck.spec new file mode 100644 index 0000000000000000000000000000000000000000..ea69d8a1879f05201828a903b315029c0cbcf7f2 --- /dev/null +++ b/ck.spec @@ -0,0 +1,59 @@ +#%global debug_package %{nil} + +Name: ck +Version: 0.6.0 +Release: 1 +Summary: Concurrency programming lib +License: BSD +URL: http://concurrencykit.org/ +Source0: http://concurrencykit.org/releases/%{name}-%{version}.tar.gz + +BuildRequires: gcc autoconf automake + +%description +Concurrency primitives, safe memory reclamation mechanisms and non-blocking data structures for the research, design and implementation of high performance concurrent systems. + +%package devel +Summary: Concurrency programming devel package +Requires: %{name} = %{version}-%{release} + +%description devel +Concurrency primitives, safe memory reclamation mechanisms and non-blocking data structures for the research, design and implementation of high performance concurrent systems. + + + +%prep +%setup -q -n %{name}-%{version}/ + +%build +./configure --libdir=%{_libdir} --includedir=%{_includedir}/%{name} --mandir=%{_mandir} --prefix=%{_prefix} +%make_build + +%install +%make_install +rm %{buildroot}%{_libdir}/libck.a + +%pre +%preun +%post +%postun + +%check + +%files +%license LICENSE +%doc README +%{_libdir}/libck.so.* + +%files devel +%{_includedir}/* +%{_libdir}/libck.so +%{_mandir}/* +%{_libdir}/pkgconfig/* + +%ldconfig_scriptlets + +%changelog +* Sun Mar 29 2020 Wei Xiong +- Package init +