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.2 2011/03/25 17:46:44 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} \
38 [ "$RPM_BUILD_ROOT"
!= "
/"
] && rm -rf $RPM_BUILD_ROOT
40 make install DESTDIR
=$RPM_BUILD_ROOT
42 strip $RPM_BUILD_ROOT
%{_bindir}/%{AppProgram}/*
45 [ "$RPM_BUILD_ROOT"
!= "
/"
] && rm -rf $RPM_BUILD_ROOT
49 %{_bindir}/%{AppProgram}/*
52 # each patch should add its ChangeLog entries here
54 * Fri Mar
25 2010 Thomas Dickey