Accepting request 443059 from home:AndreasStieger:branches:devel:libraries:c_c++
npth 1.3 OBS-URL: https://build.opensuse.org/request/show/443059 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/npth?expand=0&rev=14
This commit is contained in:
parent
f45bdacd9e
commit
191a1d4394
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6ddbdddb2cf49a4723f9d1ad6563c480d6760dcb63cb7726b8fc3bc2e1b6c08a
|
||||
size 298735
|
Binary file not shown.
3
npth-1.3.tar.bz2
Normal file
3
npth-1.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bca81940436aed0734eb8d0ff8b179e04cc8c087f5625204419f5f45d736a82a
|
||||
size 295998
|
BIN
npth-1.3.tar.bz2.sig
Normal file
BIN
npth-1.3.tar.bz2.sig
Normal file
Binary file not shown.
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 1 16:22:27 UTC 2016 - astieger@suse.com
|
||||
|
||||
- update to 1.3:
|
||||
* Bypass npth_protect/npth_unprotect iff the library has not yet
|
||||
been initialized.
|
||||
* Improve detection of clock_gettime
|
||||
- use reproducible build timestamp
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 11 19:12:44 UTC 2015 - astieger@suse.com
|
||||
|
||||
|
45
npth.spec
45
npth.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package npth
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,20 +16,20 @@
|
||||
#
|
||||
|
||||
|
||||
Name: npth
|
||||
%define lname libnpth0
|
||||
Version: 1.2
|
||||
Name: npth
|
||||
Version: 1.3
|
||||
Release: 0
|
||||
Summary: New GNU Portable Threads library
|
||||
License: LGPL-3.0+ or GPL-2.0+
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://gnupg.org/
|
||||
|
||||
#DL-URL: ftp://ftp.gnupg.org/gcrypt/npth/
|
||||
#Git-Clone: git://git.gnupg.org/npth
|
||||
Source: ftp://ftp.gnupg.org/gcrypt/npth/%name-%version.tar.bz2
|
||||
Source2: ftp://ftp.gnupg.org/gcrypt/npth/%name-%version.tar.bz2.sig
|
||||
Source4: %name.keyring
|
||||
Source: ftp://ftp.gnupg.org/gcrypt/npth/%{name}-%{version}.tar.bz2
|
||||
Source2: ftp://ftp.gnupg.org/gcrypt/npth/%{name}-%{version}.tar.bz2.sig
|
||||
Source4: %{name}.keyring
|
||||
Source99: %{name}.changes
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -38,11 +38,11 @@ similar to the one known from GNU Pth. In contrast to Pth, nPth is
|
||||
based on the system's standard threads implementation. Thus, nPth
|
||||
allows the use of libraries which are not compatible to GNU Pth.
|
||||
|
||||
%package -n %lname
|
||||
%package -n %{lname}
|
||||
Summary: New GNU Portable Threads library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
%description -n %{lname}
|
||||
nPth is a non-preemptive threads implementation using an API very
|
||||
similar to the one known from GNU Pth. In contrast to Pth, nPth is
|
||||
based on the system's standard threads implementation. Thus, nPth
|
||||
@ -51,7 +51,7 @@ allows the use of libraries which are not compatible to GNU Pth.
|
||||
%package devel
|
||||
Summary: Development files for the GNU New Portable Threads library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
Requires: %{lname} = %{version}
|
||||
|
||||
%description devel
|
||||
nPth is a non-preemptive threads implementation using an API very
|
||||
@ -63,27 +63,28 @@ allows the use of libraries which are not compatible to GNU Pth.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
date=$(date -u +%%Y-%%m-%%dT%%H:%%M+0000 -r %{SOURCE99})
|
||||
%configure \
|
||||
--enable-build-timestamp=$date
|
||||
make %{?_smp_mflags};
|
||||
|
||||
%install
|
||||
b="%buildroot";
|
||||
b="%{buildroot}";
|
||||
make install DESTDIR="$b";
|
||||
rm -f "$b/%_libdir"/*.la;
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%post -n %{lname} -p /sbin/ldconfig
|
||||
%postun -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
%files -n %{lname}
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libnpth.so.0*
|
||||
%{_libdir}/libnpth.so.0*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_bindir/npth-config
|
||||
%_includedir/npth.h
|
||||
%_libdir/libnpth.so
|
||||
%_datadir/aclocal
|
||||
%{_bindir}/npth-config
|
||||
%{_includedir}/npth.h
|
||||
%{_libdir}/libnpth.so
|
||||
%{_datadir}/aclocal
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user