Summary: ncurses-examples - example/test programs from ncurses
%define AppProgram ncurses-examples
-%define AppVersion MAJOR.MINOR
-%define AppRelease YYYYMMDD
-# $Id: ncurses-examples.spec,v 1.6 2017/08/11 00:12:20 tom Exp $
+%define AppVersion 6.0
+%define AppRelease 20171111
+# $Id: ncurses-examples.spec,v 1.7 2017/11/11 15:21:19 tom Exp $
Name: %{AppProgram}
Version: %{AppVersion}
Release: %{AppRelease}
Packager: Thomas Dickey <dickey@invisible-island.net>
%description
-These are the example/test programs from the ncurses MAJOR.MINOR distribution,
-for patch-date YYYYMMDD.
+These are the example/test programs from the ncurses 6.0 distribution,
+for patch-date 20171111.
This package installs in "bin/ncurses-examples" to avoid conflict with other
packages.
%setup -q -n %{AppProgram}-%{AppRelease}
+%define debug_package %{nil}
+
%build
INSTALL_PROGRAM='${INSTALL}' \
- ./configure \
- --target %{_target_platform} \
- --prefix=%{_prefix} \
- --bindir=%{_bindir}/%{AppProgram} \
- --datadir=%{_datadir}/%{AppProgram} \
- --with-screen=ncursesw6 \
- --disable-rpath-hack
+%configure \
+ --target %{_target_platform} \
+ --prefix=%{_prefix} \
+ --bindir=%{_bindir}/%{AppProgram} \
+ --datadir=%{_datadir}/%{AppProgram} \
+ --with-screen=ncursesw6 \
+ --disable-rpath-hack
make
%files
%defattr(-,root,root)
%{_bindir}/%{AppProgram}/*
+%{_datadir}/%{AppProgram}/*
%changelog
# each patch should add its ChangeLog entries here
+* Sat Nov 11 2017 Thomas Dickey
+- add example data-files
+- use rpm built-in "configure"
+- suppress debug-package
+
* Thu Mar 25 2010 Thomas Dickey
- initial version