1 Summary: ncurses-examples - example/test programs from ncurses
2 %define AppProgram ncurses-examples
3 %define AppVersion MAJOR.MINOR
4 %define AppRelease YYYYMMDD
5 # $Id: ncurses-examples.spec,v 1.11 2018/01/15 16:14:16 tom Exp $
10 Group: Applications/Development
11 URL: ftp://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 MAJOR.MINOR distribution,
17 for patch-date YYYYMMDD.
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}' \
30 NCURSES_CONFIG_SUFFIX=dev \
32 --target %{_target_platform} \
34 --bindir=%{_bindir}/%{AppProgram} \
35 --datadir=%{_datadir}/%{AppProgram} \
36 --with-screen=ncursesw6 \
42 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
44 make install DESTDIR=$RPM_BUILD_ROOT
47 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
51 %{_bindir}/%{AppProgram}/*
52 %{_datadir}/%{AppProgram}/*
55 # each patch should add its ChangeLog entries here
57 * Sat Nov 11 2017 Thomas Dickey
58 - add example data-files
59 - use rpm built-in "configure"
60 - suppress debug-package
62 * Thu Mar 25 2010 Thomas Dickey