SHA256
1
0
forked from pool/cdk

Accepting request 890166 from home:susnux:branches:security

Update to version 5.0.20210324

OBS-URL: https://build.opensuse.org/request/show/890166
OBS-URL: https://build.opensuse.org/package/show/security/cdk?expand=0&rev=21
This commit is contained in:
Marcus Meissner 2021-05-06 15:07:01 +00:00 committed by Git OBS Bridge
parent c038619285
commit a08717400d
6 changed files with 26 additions and 24 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9a59e66de9bd90f2d6c1cc8b3aada67aa00d2ade091596409aea9c5139eec71c
size 534635

View File

@ -1,8 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: See https://invisible-island.net/public/public.html for info
iEYEABECAAYFAlx0oW0ACgkQcCNT4PfkjtupZQCglg7A8z3XJzUB5llwbZemtlA6
WDsAoJiUcqswfV7IEgt5U8ZGs4nsiq7a
=raD5
-----END PGP SIGNATURE-----

3
cdk-5.0-20210324.tgz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f62eb256bbcbca53ed549de03a3db257bd38e2965726b1cbeef7df2ed1aa781b
size 548203

7
cdk-5.0-20210324.tgz.asc Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Comment: See https://invisible-island.net/public/public.html for info
iF0EABECAB0WIQTFIEjAwHSP7iJ9R6JwI1Pg9+SO2wUCYFvaMwAKCRBwI1Pg9+SO
26N4AJ4oa7ofSrEovpcJTRlCTCooY/p6VQCgpxB8eMApYBs0K4PxAyJ9spmBjmY=
=WA/D
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon May 3 18:24:40 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to version 5.0.20210324
* Spelling fixes, per codespell
* Updated build system
-------------------------------------------------------------------
Wed Feb 27 08:06:48 UTC 2019 - Dr. Werner Fink <werner@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package cdk
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,10 +18,10 @@
%define lname lib%{name}5
%define mainver 5.0
%define datever 20190224
%define datever 20210324
Name: cdk
Url: http://invisible-island.net/cdk/
URL: https://invisible-island.net/cdk/
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: pkg-config
@ -30,8 +30,8 @@ Release: 0
Summary: The Runtime for the Curses Development Kit
License: BSD-3-Clause
Group: System/Libraries
Source: ftp://ftp.invisible-island.net/cdk/cdk-%{mainver}-%{datever}.tgz
Source1: ftp://ftp.invisible-island.net/cdk/cdk-%{mainver}-%{datever}.tgz.asc
Source: https://invisible-mirror.net/archives/cdk/cdk-%{mainver}-%{datever}.tgz
Source1: https://invisible-mirror.net/archives/cdk/cdk-%{mainver}-%{datever}.tgz.asc
Source2: %name.keyring
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global root %{_tmppath}/%{name}-%{version}-store
@ -66,14 +66,13 @@ CDK, the Curses Development Kit.
%setup -q -n cdk-%{mainver}-%{datever}
%build
%configure --with-ncurses \
--enable-const \
--with-pkg-config \
--disable-rpath-hack \
--with-versioned-syms=${PWD}/package/cdk.map \
--with-shared
make all %{?_smp_mflags}
%make_build
make install DESTDIR=%{root} INSTALL="install -pD" \
DOCUMENT_DIR=%{root}%{_defaultdocdir}/%{name}
make clean
@ -86,7 +85,7 @@ make clean
--with-cfgname=cdkw \
--with-libname=cdkw \
--with-shared
make all %{?_smp_mflags}
%make_build
make installCDKLibrary DESTDIR=%{root} INSTALL="install -pD" \
DOCUMENT_DIR=%{root}%{_defaultdocdir}/%{name}
make %{root}%{_libdir}/libcdkw.so.%{mainver} DESTDIR=%{root}
@ -102,11 +101,8 @@ find %{buildroot} -name '*.a' -delete -print
# Remove installed in wrong directory documentation files
rm -rf %{buildroot}%{_datadir}/doc
%post -n %lname
/sbin/ldconfig
%postun -n %lname
/sbin/ldconfig
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root)