Hello community,
here is the log from the commit of package cdk for openSUSE:Factory checked in at 2014-12-30 00:50:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cdk (Old)
and /work/SRC/openSUSE:Factory/.cdk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cdk"
Changes:
--------
--- /work/SRC/openSUSE:Factory/cdk/cdk.changes 2011-10-03 09:14:06.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cdk.new/cdk.changes 2014-12-30 00:50:38.000000000 +0100
@@ -1,0 +2,15 @@
+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
+
+-------------------------------------------------------------------
Old:
----
cdk-4.9.13.dif
cdk-4.9.13.tar.bz2
New:
----
cdk-5.0-20141106.tgz
cdk-5.0-20141106.tgz.asc
cdk.keyring
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cdk.spec ++++++
--- /var/tmp/diff_new_pack.mTed2Y/_old 2014-12-30 00:50:39.000000000 +0100
+++ /var/tmp/diff_new_pack.mTed2Y/_new 2014-12-30 00:50:39.000000000 +0100
@@ -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 @@
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
++++++ cdk.keyring ++++++
pub 1024D/F7E48EDB 2004-01-05
uid Thomas Dickey