+ build-fixes for AdaCurses RPM test-package.
%define AppProgram AdaCurses
%define AppVersion MAJOR.MINOR
%define AppRelease YYYYMMDD
-# $Id: AdaCurses.spec,v 1.25 2019/11/23 21:15:31 tom Exp $
+# $Id: AdaCurses.spec,v 1.29 2022/11/13 00:35:00 tom Exp $
Name: %{AppProgram}
Version: %{AppVersion}
Release: %{AppRelease}
"bin/%{AppProgram}" to avoid conflict with other packages.
%prep
+%global is_mandriva %(test -f /etc/mandriva-release && echo 1 || echo 0)
+%global is_redhat %(test -f /etc/redhat-release && echo 1 || echo 0)
+%global is_suse %(if grep -E -i '(opensuse)' /etc/issue >/dev/null; then echo 1; else echo 0; fi)
+
%define debug_package %{nil}
%define need_filter %(if grep -E -i '(mageia|red hat|fedora)' /etc/issue >/dev/null; then echo 1; elif test -f /etc/fedora-release; then echo 1; else echo 0; fi)
%define ada_libdir %{_prefix}/lib/ada/adalib
%define ada_include %{_prefix}/share/ada/adainclude
+%if %{is_mandriva}
+# Mageia 8 lacks gprbuild, needed for building shared libraries.
+%else
+%if %{is_redhat}
+# Fedora 36 LTO does not work with gprbuild system configuration.
+unset CFLAGS
+unset LDFLAGS
+unset LT_SYS_LIBRARY_PATH
+%endif
+%endif
+
INSTALL_PROGRAM='${INSTALL}' \
./configure \
--target %{_target_platform} \
--mandir=%{_mandir} \
--datadir=%{_datadir} \
--disable-rpath-link \
+ --disable-echo \
+ --verbose \
+ --enable-warnings \
--with-shared \
--with-ada-sharedlib
%if %{need_filter} == 1
%{_libdir}/lib%{AppProgram}.*
%endif
+%if %{is_suse}
+%{_libdir}/lib%{AppProgram}.*
+%endif
%{_mandir}/man1/adacurses*-config.1*
%{_datadir}/%{AppProgram}/*
%{ada_include}/
%changelog
# each patch should add its ChangeLog entries here
+* Sat Nov 12 2022 Thomas Dickey
+- unset environment variables to work around Fedora LTO bugs.
+- build-fix for OpenSUSE with gprbuild.
+
* Sat Nov 16 2019 Thomas Dickey
- modify clean-rule to work around Fedora NFS bugs.
/****************************************************************************
- * Copyright 2020 Thomas E. Dickey *
+ * Copyright 2020,2022 Thomas E. Dickey *
* Copyright 2014 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
#define WRAP(type, name) \
type \
- name ## _as_function () \
+ name ## _as_function (void) \
{ \
return name; \
}
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
--- $Id: NEWS,v 1.3875 2022/11/05 22:24:03 tom Exp $
+-- $Id: NEWS,v 1.3877 2022/11/13 00:20:41 tom Exp $
-------------------------------------------------------------------------------
This is a log of changes that ncurses has gone through since Zeyd started
Changes through 1.9.9e did not credit all contributions;
it is not possible to add this information.
+20221112
+ + build-fixes for AdaCurses RPM test-package.
+
20221105
+ regenerate configure scripts with autoconf 2.52.20221009
+ modify "--with-manpage-format" to support bzip2 and xz compression
-5:0:10 6.3 20221105
+5:0:10 6.3 20221112
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
-# $Id: dist.mk,v 1.1511 2022/11/05 12:24:12 tom Exp $
+# $Id: dist.mk,v 1.1512 2022/11/12 10:24:16 tom Exp $
# Makefile for creating ncurses distributions.
#
# This only needs to be used directly as a makefile by developers, but
# These define the major/minor/patch versions of ncurses.
NCURSES_MAJOR = 6
NCURSES_MINOR = 3
-NCURSES_PATCH = 20221105
+NCURSES_PATCH = 20221112
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
-ncurses6 (6.3+20221105) unstable; urgency=low
+ncurses6 (6.3+20221112) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 05 Nov 2022 08:24:12 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 12 Nov 2022 05:24:16 -0500
ncurses6 (5.9-20131005) unstable; urgency=low
-ncurses6 (6.3+20221105) unstable; urgency=low
+ncurses6 (6.3+20221112) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 05 Nov 2022 08:24:12 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 12 Nov 2022 05:24:16 -0500
ncurses6 (5.9-20131005) unstable; urgency=low
-ncurses6 (6.3+20221105) unstable; urgency=low
+ncurses6 (6.3+20221112) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 05 Nov 2022 08:24:12 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 12 Nov 2022 05:24:16 -0500
ncurses6 (5.9-20120608) unstable; urgency=low
-; $Id: mingw-ncurses.nsi,v 1.550 2022/11/05 12:24:12 tom Exp $\r
+; $Id: mingw-ncurses.nsi,v 1.551 2022/11/12 10:24:16 tom Exp $\r
\r
; TODO add examples\r
; TODO bump ABI to 6\r
!define VERSION_MAJOR "6"\r
!define VERSION_MINOR "3"\r
!define VERSION_YYYY "2022"\r
-!define VERSION_MMDD "1105"\r
+!define VERSION_MMDD "1112"\r
!define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}\r
\r
!define MY_ABI "5"\r
Summary: shared libraries for terminal handling
Name: mingw32-ncurses6
Version: 6.3
-Release: 20221105
+Release: 20221112
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
Summary: shared libraries for terminal handling
Name: ncurses6
Version: 6.3
-Release: 20221105
+Release: 20221112
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
Summary: Curses library with POSIX thread support.
Name: ncursest6
Version: 6.3
-Release: 20221105
+Release: 20221112
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz