Adding upstream version 0.6.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
c49a9029dc
commit
7f70a05c55
465 changed files with 60158 additions and 0 deletions
1
build/ck.build.aarch64
Normal file
1
build/ck.build.aarch64
Normal file
|
@ -0,0 +1 @@
|
|||
|
1
build/ck.build.arm
Normal file
1
build/ck.build.arm
Normal file
|
@ -0,0 +1 @@
|
|||
CFLAGS+=-D__arm__
|
10
build/ck.build.in
Normal file
10
build/ck.build.in
Normal file
|
@ -0,0 +1,10 @@
|
|||
CC=@CC@
|
||||
MAKE=make
|
||||
SRC_DIR=@SRC_DIR@
|
||||
BUILD_DIR=@BUILD_DIR@
|
||||
CFLAGS+=@CFLAGS@ -I$(SRC_DIR)/include -I$(BUILD_DIR)/include
|
||||
LDFLAGS+=@LDFLAGS@
|
||||
ALL_LIBS=@ALL_LIBS@
|
||||
LD=@LD@
|
||||
|
||||
include $(BUILD_DIR)/build/ck.build.@PROFILE@
|
1
build/ck.build.ppc
Normal file
1
build/ck.build.ppc
Normal file
|
@ -0,0 +1 @@
|
|||
CFLAGS+=-m32 -D__ppc__
|
2
build/ck.build.ppc64
Normal file
2
build/ck.build.ppc64
Normal file
|
@ -0,0 +1,2 @@
|
|||
CFLAGS+=-m64 -D__ppc64__
|
||||
LDFLAGS+=-m64
|
1
build/ck.build.sparcv9
Normal file
1
build/ck.build.sparcv9
Normal file
|
@ -0,0 +1 @@
|
|||
CFLAGS+=-m64 -D__sparcv9__
|
2
build/ck.build.x86
Normal file
2
build/ck.build.x86
Normal file
|
@ -0,0 +1,2 @@
|
|||
CFLAGS+=-m32 -D__x86__ -msse -msse2
|
||||
LDFLAGS+=-m32
|
2
build/ck.build.x86_64
Normal file
2
build/ck.build.x86_64
Normal file
|
@ -0,0 +1,2 @@
|
|||
CFLAGS+=-m64 -D__x86_64__
|
||||
LDFLAGS+=-m64
|
10
build/ck.pc.in
Normal file
10
build/ck.pc.in
Normal file
|
@ -0,0 +1,10 @@
|
|||
prefix=@PREFIX@
|
||||
includedir=@HEADERS@
|
||||
libdir=@LIBRARY@
|
||||
|
||||
Name: Concurrency Kit
|
||||
Description: Toolkit for well-specified design and implementation of concurrent systems
|
||||
URL: http://concurrencykit.org/
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lck
|
||||
Cflags: -D__@PROFILE@__ -I${includedir} @PC_CFLAGS@
|
74
build/ck.spec.in
Normal file
74
build/ck.spec.in
Normal file
|
@ -0,0 +1,74 @@
|
|||
Name: ck
|
||||
Version: @VERSION@
|
||||
Release: 1%{?dist}
|
||||
Group: Development/Libraries
|
||||
Summary: Concurrency Kit
|
||||
License: Simplified BSD License
|
||||
URL: http://concurrencykit.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
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
|
||||
CFLAGS=$RPM_OPT_FLAGS ./configure \
|
||||
--libdir=%{_libdir} \
|
||||
--includedir=%{_includedir}/%{name} \
|
||||
--mandir=%{_mandir} \
|
||||
--prefix=%{_prefix}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libck.so.@VERSION@
|
||||
%{_libdir}/libck.so.@VERSION_MAJOR@
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libck.so
|
||||
%{_includedir}/%{name}/*.h
|
||||
%{_includedir}/%{name}/*/*.h
|
||||
%{_includedir}/%{name}/*/*/*.h
|
||||
%{_libdir}/libck.a
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_mandir}/man3/*.3.gz
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
10
build/regressions.build.in
Normal file
10
build/regressions.build.in
Normal file
|
@ -0,0 +1,10 @@
|
|||
CC=@CC@
|
||||
MAKE=make
|
||||
CORES=@CORES@
|
||||
CFLAGS=@CFLAGS@ -I../../../include -DCORES=@CORES@
|
||||
LD=@LD@
|
||||
LDFLAGS=@LDFLAGS@
|
||||
PTHREAD_CFLAGS=@PTHREAD_CFLAGS@
|
||||
BUILD_DIR=@BUILD_DIR@
|
||||
|
||||
include $(BUILD_DIR)/build/ck.build.@PROFILE@
|
Loading…
Add table
Add a link
Reference in a new issue