1 Summary: ncurses-examples - example/test programs from ncurses
2 %define AppProgram ncurses-examples
4 %define AppRelease 20171111
5 # $Id: ncurses-examples.spec,v 1.7 2017/11/11 15:21:19 tom Exp $
10 Group: Applications/Development
11 URL: ftp://invisible-island.net/%{AppProgram}
12 Source0: %{AppProgram}-%{AppRelease}.tgz
13 Packager: Thomas Dickey <dickey@invisible-island.net>
16 These are the example/test programs from the ncurses 6.0 distribution,
17 for patch-date 20171111.
19 This package installs in "bin/ncurses-examples" to avoid conflict with other
23 %setup -q -n %{AppProgram}-%{AppRelease}
25 %define debug_package %{nil}
29 INSTALL_PROGRAM='${INSTALL}' \
31 --target %{_target_platform} \
33 --bindir=%{_bindir}/%{AppProgram} \
34 --datadir=%{_datadir}/%{AppProgram} \
35 --with-screen=ncursesw6 \
41 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
43 make install DESTDIR=$RPM_BUILD_ROOT
45 strip $RPM_BUILD_ROOT%{_bindir}/%{AppProgram}/*
48 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
52 %{_bindir}/%{AppProgram}/*
53 %{_datadir}/%{AppProgram}/*
56 # each patch should add its ChangeLog entries here
58 * Sat Nov 11 2017 Thomas Dickey
59 - add example data-files
60 - use rpm built-in "configure"
61 - suppress debug-package
63 * Thu Mar 25 2010 Thomas Dickey