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.6 2017/08/11 00:12:20 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 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}
27 INSTALL_PROGRAM='${INSTALL}' \
29 --target %{_target_platform} \
31 --bindir=%{_bindir}/%{AppProgram} \
32 --datadir=%{_datadir}/%{AppProgram} \
33 --with-screen=ncursesw6 \
39 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
41 make install DESTDIR=$RPM_BUILD_ROOT
43 strip $RPM_BUILD_ROOT%{_bindir}/%{AppProgram}/*
46 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
50 %{_bindir}/%{AppProgram}/*
53 # each patch should add its ChangeLog entries here
55 * Thu Mar 25 2010 Thomas Dickey