SHA256
1
0
forked from pool/cdk

Update to cdk 5.0-20190224

OBS-URL: https://build.opensuse.org/package/show/security/cdk?expand=0&rev=18
This commit is contained in:
2019-02-26 10:02:34 +00:00
committed by Git OBS Bridge
parent f0f3828716
commit 42669203bc
5 changed files with 61 additions and 15 deletions

View File

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

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

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

View File

@@ -2,7 +2,7 @@
Version: GnuPG v1
Comment: See https://invisible-island.net/public/public.html for info
iEYEABECAAYFAlxvV0sACgkQcCNT4Pfkjtu2/QCfYv/Ax/VoKdS9/AdKu6QEcQtd
xeEAoJy/kE8/bbb9fyI3psyFQOiSo5VJ
=lA8Y
iEYEABECAAYFAlx0oW0ACgkQcCNT4PfkjtupZQCglg7A8z3XJzUB5llwbZemtlA6
WDsAoJiUcqswfV7IEgt5U8ZGs4nsiq7a
=raD5
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Feb 26 07:35:33 UTC 2019 - Dr. Werner Fink <werner@suse.de>
- Update to version 5.0.20190224
+ use HDR_ROOTNAME rather than PACKAGE in top-level makefile, to
simplify building cdk and cdkw packages with non-conflicting paths.
+ add "check" rule to top-level makefile, for testing Arch Linux
package.
+ modify test-package for RPMs to work with SUSE and Mageia.
- Enable wide version of libcdk(w)
- Enable ABI soname of the shared libraries
+ Somehow strange ABI 6.2.4 but RELEASE version is still 5.0
-------------------------------------------------------------------
Fri Feb 22 07:09:40 UTC 2019 - Dr. Werner Fink <werner@suse.de>

View File

@@ -12,18 +12,19 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define lname lib%{name}5
%define mainver 5.0
%define datever 20190220
%define datever 20190224
Name: cdk
Url: http://invisible-island.net/cdk/
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: pkg-config
Version: %{mainver}.%{datever}
Release: 0
Summary: The Runtime for the Curses Development Kit
@@ -33,6 +34,7 @@ Source: ftp://ftp.invisible-island.net/cdk/cdk-%{mainver}-%{datever}.tgz
Source1: ftp://ftp.invisible-island.net/cdk/cdk-%{mainver}-%{datever}.tgz.asc
Source2: %name.keyring
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global root %{_tmppath}/%{name}-%{version}-store
%description
CDK is a widget set developed on top of the basic curses library. It
@@ -62,13 +64,39 @@ CDK, the Curses Development Kit.
%prep
%setup -q -n cdk-%{mainver}-%{datever}
rm -rf %{root}
%build
%configure --with-ncurses --enable-const
make cdkshlib %{?_smp_mflags}
%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 install DESTDIR=%{root} INSTALL="install -pD" \
DOCUMENT_DIR=%{root}%{_defaultdocdir}/%{name}
make clean
%configure --with-ncursesw \
--enable-const \
--with-pkg-config \
--disable-rpath-hack \
--with-versioned-syms=${PWD}/package/cdk.map \
--with-cfgname=cdkw \
--with-libname=cdkw \
--with-shared
make all %{?_smp_mflags}
make installCDKLibrary DESTDIR=%{root} INSTALL="install -pD" \
DOCUMENT_DIR=%{root}%{_defaultdocdir}/%{name}
make %{root}%{_libdir}/libcdkw.so.%{mainver} DESTDIR=%{root}
%install
make install installCDKSHLibrary DESTDIR=%{buildroot} INSTALL="install -pD"
tar -cpf - -C %{root} . | tar -xpf - -C %{buildroot}
%if %{defined license}
rm -vf %{buildroot}%{_defaultdocdir}/%{name}/COPYING
%endif
# fixes rpmlint unstripped-binary-or-object
chmod +x %{buildroot}%{_libdir}/*.so
find %{buildroot} -name '*.a' -delete -print
@@ -83,13 +111,18 @@ rm -rf %{buildroot}%{_datadir}/doc
%files -n %lname
%defattr(-,root,root)
%doc EXPANDING NOTES TODO COPYING README CHANGES VERSION
%{_libdir}/libcdk.so.5*
%if %{defined license}
%license COPYING
%doc EXPANDING NOTES TODO README CHANGES VERSION
%else
%doc EXPANDING NOTES TODO README CHANGES VERSION COPYING
%endif
%{_libdir}/libcdk*.so.*
%files devel
%defattr(-,root,root)
%{_bindir}/cdk5-config
%{_libdir}/libcdk.so
%{_bindir}/cdk*5-config
%{_libdir}/libcdk*.so
%{_includedir}/%{name}
%{_includedir}/%{name}.h
%{_mandir}/man1/*.1%{ext_man}