Accepting request 202024 from devel:libraries:c_c++
A new library as part of the libyal collection of c libraries. Many of the libyal member libraries are already in factory. libvshadow currently has libcthreads built internally. This will allow it to be a standalone package. OBS-URL: https://build.opensuse.org/request/show/202024 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcthreads?expand=0&rev=1
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 3 02:39:48 UTC 2013 - Greg.Freemyer@gmail.com
|
||||
|
||||
- initial package (v0~20130723)
|
||||
|
||||
@@ -0,0 +1,89 @@
|
||||
#
|
||||
# spec file for package libcthreads
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: libcthreads
|
||||
%define lname libcthreads1
|
||||
%define timestamp 20130723
|
||||
Version: 0~%timestamp
|
||||
Release: 0
|
||||
Summary: Library for cross-platform C threads functions
|
||||
License: LGPL-3.0+
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://code.google.com/p/libcthreads/
|
||||
|
||||
#Git-Clone: http://code.google.com/p/libcthreads
|
||||
#DL-URL: https://googledrive.com/host/0B3fBvzttpiiSdlBOeGZJeml1T1k/libcthreads-experimental-20130723.tar.gz
|
||||
Source: %name-experimental-%timestamp.tar.gz
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(libcerror) >= 20130904
|
||||
# not yet released as a standalone package
|
||||
#BuildRequires: pkgconfig(libcstring) >= 20121224
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
A library for cross-platform C threads functions.
|
||||
|
||||
libcthreads is part of the libyal library collection
|
||||
|
||||
%package -n %lname
|
||||
Summary: Library for cross-platform C thread functions
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
A library for cross-platform C thread functions.
|
||||
|
||||
libcthreads is part of the libyal library collection
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libcthreads, a cross-platform C thread library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
|
||||
%description devel
|
||||
A library for cross-platform C thread functions.
|
||||
|
||||
This subpackage contains libraries and header files for developing
|
||||
applications that want to make use of libcthreads.
|
||||
|
||||
%prep
|
||||
%setup -qn libcthreads-%timestamp
|
||||
|
||||
%build
|
||||
%configure --disable-static --enable-wide-character-type
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR="%buildroot"
|
||||
rm -f "%buildroot/%_libdir"/*.la
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING ChangeLog
|
||||
%_libdir/libcthreads.so.1*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_includedir/libcthreads*
|
||||
%_libdir/libcthreads.so
|
||||
%_libdir/pkgconfig/libcthreads.pc
|
||||
%_mandir/man3/libcthreads.3*
|
||||
|
||||
%changelog
|
||||
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
@@ -0,0 +1 @@
|
||||
.osc
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c89f1fc9cd191aca6b4154f6bbb8a0fc351b1a06530d73bd222c622a73151014
|
||||
size 481720
|
||||
Reference in New Issue
Block a user