SHA256
1
0
forked from pool/cdk

Accepting request 266614 from security

- fixed url, added .asc and keyring

- Update to version 5.0.20141106
  + Too many things to list; please read the changelog file
- Cleanup specfile
- Split out cdk library to a lib subpackage
- Update Url and source download Url
- Remove obsolete cdk-4.9.13.dif

OBS-URL: https://build.opensuse.org/request/show/266614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cdk?expand=0&rev=20
This commit is contained in:
2014-12-29 23:50:09 +00:00
committed by Git OBS Bridge
7 changed files with 101 additions and 3236 deletions

File diff suppressed because it is too large Load Diff

View File

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

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

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

8
cdk-5.0-20141106.tgz.asc Normal file
View File

@@ -0,0 +1,8 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: See http://invisible-island.net/public/public.html for info
iEYEABECAAYFAlRbSWIACgkQcCNT4PfkjtvD7wCfRW4e7uWKNiY6PLLYJWQN6vSk
YesAn2EPfgwWnLsAbK8momVwSQqnIn8m
=Nx5I
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 29 09:09:14 UTC 2014 - meissner@suse.com
- fixed url, added .asc and keyring
-------------------------------------------------------------------
Thu Dec 25 16:52:21 UTC 2014 - p.drouand@gmail.com
- Update to version 5.0.20141106
+ Too many things to list; please read the changelog file
- Cleanup specfile
- Split out cdk library to a lib subpackage
- Update Url and source download Url
- Remove obsolete cdk-4.9.13.dif
-------------------------------------------------------------------
Fri Sep 30 20:07:47 UTC 2011 - coolo@suse.com

28
cdk.keyring Normal file
View File

@@ -0,0 +1,28 @@
pub 1024D/F7E48EDB 2004-01-05
uid Thomas Dickey <dickey@invisible-island.net>
sub 1024g/E4374AE1 2004-01-05
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.19 (GNU/Linux)
mQGiBD/4r7IRBADFuacEqf9fye+NQSm7xjNP705aq75VrUd2hJyPmSiFUIyQEfc4
4GQXGdFg+/Apq4iq/50/8pR8YXOKwP5OE69emEp7IxjST41orGUk5ZwcnlSkaruN
WLTe/lN3e0oOIVbYig1lUbU5IxZu03KfNg2DZ9JiZdNBlzlqx1+oFlWFLwCg3awg
EfOUfbe4kVxNrsnxaCJYJ38EAMRVyUOfhkm9l0YuiC4ebOHrdmn9jFVW+XZPZDeb
8DcyTBNrgvVTnEmrNzVJgOyZIW+uraBVitak+No1kwXvC/i0kZEzYqfG87EdJSfe
OV7axIRisiTrcbZdRJ3CBDtGvLqJ9OuGFHPQmntnZfhiwJTR79hepndEQYyV5eQb
oQ+aA/0bI+/odyRDefc9HF1EhOcz8E76QP+VlvUfIDUJrmwv/3gLZ968HACOe0DE
+bcUockLJxoNwQFwCQPjm5S2+Ba2uY4hRhOA+MResZWlPouoosay2ADfiU7pdBCx
nbcLAuezgnZg4jcXvLl1QiAihxaEI2jqgZBnnierWzqRzRZM4LQrVGhvbWFzIERp
Y2tleSA8ZGlja2V5QGludmlzaWJsZS1pc2xhbmQubmV0PoheBBMRAgAeBQI/+K+y
AhsDBgsJCAcDAgMVAgMDFgIBAh4BAheAAAoJEHAjU+D35I7bejEAnRYLqlswwk+F
+pWcppXLnsskhTfSAKCrg23hTwzaaW9mlbmDavid+QQu3bkBDQQ/+K+0EAQAjTl1
EeUt5EUq8tiGBq+KtFo3TxIdJKBtVFQ4btETdF23dkZ1o1642GmF7JJgn6PKUcJD
UlHhUO4IEcpHABAiU4HweoWh8yT/yaA9AXqRKcJpMQ5bEGoooHBIg0Uh8ahG6Q1c
HzgsGOaOK9YzFSvSIRXryMlrh1oITzvwEkXRfOcAAwcD/iRaNtGYaS05FwaaVvm0
Eexhhw2JzSaRP6PY3r/BGmgPVG9Uk9huk+Yk/pdW9Pa3KRj37ANK2svfwHx9A077
Ma9GoupZ/rjP01WO0ur8tzC7KsqCep9m33K9kdAeJZ0Ud+AwsnAEy/Q1XZin/jUU
5L1lzko010LXY9CqdrmCXhaqiEkEGBECAAkFAj/4r7QCGwwACgkQcCNT4Pfkjtuu
ngCg2es41JEYaarCcT+gFpyM0WCqAU8An3L0pkO4wtZ8SejpHa7WSR9M54xd
=VWbi
-----END PGP PUBLIC KEY BLOCK-----

View File

@@ -1,7 +1,7 @@
#
# spec file for package cdk
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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
@@ -16,17 +16,22 @@
#
%define lname lib%{name}5
%define mainver 5.0
%define datever 20141106
Name: cdk
License: BSD-3-Clause
Url: http://invisible-island.net/cdk/
BuildRequires: libtool
BuildRequires: ncurses-devel
Group: System/Libraries
Version: 4.9.13
Release: 140
Version: %{mainver}.%{datever}
Release: 0
Summary: The Runtime for the Curses Development Kit
Source: cdk-4.9.13.tar.bz2
Patch: cdk-4.9.13.dif
License: BSD-3-Clause
Group: System/Libraries
Source: ftp://invisible-island.net/cdk/cdk-%{mainver}-%{datever}.tgz
Source1: ftp://invisible-island.net/cdk/cdk-%{mainver}-%{datever}.tgz.asc
Source2: %name.keyring
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -35,55 +40,58 @@ contains 21 ready to use widgets, some of which are: a text entry
field, a scrolling list, a selection list, an alphalist, a pull-down
menu, a radio list, a viewer widget, and a dialog box.
%package -n cdk-devel
License: BSD-3-Clause
%package -n %lname
Summary: The Runtime for the Curses Development Kit - Shared library
Group: Development/Libraries/C and C++
%description -n %lname
CDK is a widget set developed on top of the basic curses library. It
contains 21 ready to use widgets, some of which are: a text entry
field, a scrolling list, a selection list, an alphalist, a pull-down
menu, a radio list, a viewer widget, and a dialog box.
%package devel
Summary: Development Part of Curses Development Kit
Group: Development/Libraries/C and C++
Requires: %{name} = %{version} ncurses-devel
Requires: %{lname} = %{version}
Requires: ncurses-devel
%description -n cdk-devel
%description devel
This package includes the development headers and static libraries for
CDK, the Curses Development Kit.
%prep
%setup -q
%patch -p0
%setup -q -n cdk-%{mainver}-%{datever}
%build
touch NEWS AUTHORS
ln -sf CHANGES ChangeLog
CFLAGS="${RPM_OPT_FLAGS} -pipe"
LDFLAGS=-s
CC=gcc
PATH=$PATH:.
export CFLAGS CC LDFLAGS PATH
%{?suse_update_config}
autoreconf --force --install
%configure --includedir=/usr/include/cdk \
--enable-shared \
--disable-static \
--with-gnu-ld \
--with-pic
%{__make} %{?smpflags}
%configure --with-ncurses --enable-const
make cdkshlib %{?_smp_mflags}
%install
make DESTDIR=${RPM_BUILD_ROOT} install
%{__rm} -f %{buildroot}%{_libdir}/*.la
make install installCDKSHLibrary DESTDIR=%{buildroot} INSTALL="install -pD"
# fixes rpmlint unstripped-binary-or-object
chmod +x %{buildroot}%{_libdir}/*.so
find %{buildroot} -name '*.a' -delete -print
# Remove installed in wrong directory documentation files
rm -rf %{buildroot}%{_datadir}/doc
%post -p /sbin/ldconfig
%post -n %lname
/sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -n %lname
/sbin/ldconfig
%files
%files -n %lname
%defattr(-,root,root)
%doc BUGS EXPANDING NOTES TODO COPYING LICENSE INSTALL README CHANGES
%{_libdir}/libcdk.so.4.0.9
%{_libdir}/libcdk.so.4
%doc EXPANDING NOTES TODO COPYING README CHANGES VERSION
%{_libdir}/libcdk.so.5*
%files -n cdk-devel
%files devel
%defattr(-,root,root)
%{_bindir}/cdk5-config
%{_libdir}/libcdk.so
/usr/include/cdk
/usr/share/man/man3/cdk_*.3.gz
%{_includedir}/%{name}
%{_includedir}/%{name}.h
%{_mandir}/man3/*.3.gz
%changelog