mirror of
https://github.com/Aigor44/ncursesw-morphos.git
synced 2025-01-12 14:54:25 +08:00
2b635f090e
+ add special check in Ada95/configure script for ncurses6 reentrant code. + regen Ada html documentation. + build-fix for Ada shared libraries versus the varargs workaround. + add rpm and dpkg scripts for Ada95 and test directories, for test builds. + update test/configure macros CF_CURSES_LIBS, CF_XOPEN_SOURCE and CF_X_ATHENA_LIBS. + add configure check to determine if gnat's project feature supports libraries, i.e., collections of .ali files. + make all dereferences in Ada95 samples explicit. + fix typo in comment in lib_add_wch.c (patch by Petr Pavlu). + add configure check for, ifdef's for math.h which is in a separate package on Solaris and potentially not installed (report by Petr Pavlu). > fixes for Ada95 binding (Nicolas Boulenguez): + improve type-checking in Ada95 by eliminating a few warning-suppress pragmas. + suppress unreferenced warnings. + make all dereferences in binding explicit.
49 lines
1.2 KiB
RPMSpec
49 lines
1.2 KiB
RPMSpec
Summary: AdaCurses - Ada95 binding documentation for ncurses
|
|
%define AppProgram AdaCurses
|
|
%define AppVersion MAJOR.MINOR
|
|
%define AppRelease YYYYMMDD
|
|
%define AppPackage %{AppProgram}-doc
|
|
# $Id: AdaCurses-doc.spec,v 1.1 2011/03/26 19:22:39 tom Exp $
|
|
Name: %{AppPackage}
|
|
Version: %{AppVersion}
|
|
Release: %{AppRelease}
|
|
License: MIT
|
|
Group: Applications/Development
|
|
URL: ftp://invisible-island.net/%{AppProgram}
|
|
Source0: %{AppProgram}-%{AppRelease}.tgz
|
|
Packager: Thomas Dickey <dickey@invisible-island.net>
|
|
|
|
%description
|
|
This is the Ada95 binding documentation from the ncurses MAJOR.MINOR
|
|
distribution, for patch-date YYYYMMDD.
|
|
%prep
|
|
|
|
%setup -q -n %{AppProgram}-%{AppRelease}
|
|
|
|
%build
|
|
|
|
INSTALL_PROGRAM='${INSTALL}' \
|
|
./configure \
|
|
--target %{_target_platform} \
|
|
--prefix=%{_prefix} \
|
|
--datadir=%{_datadir} \
|
|
--with-ada-sharedlib
|
|
|
|
%install
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
(cd doc && make install.html DESTDIR=$RPM_BUILD_ROOT )
|
|
|
|
%clean
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_datadir}/doc/AdaCurses
|
|
|
|
%changelog
|
|
# each patch should add its ChangeLog entries here
|
|
|
|
* Sat Mar 26 2010 Thomas Dickey
|
|
- initial version
|