missing ncurses sources
[tomato.git] / release / src / router / libncurses / Ada95 / package / AdaCurses-doc.spec
blobeb7e6b8fedb0957d0cef41dda24c0939c12d22fc
1 Summary: AdaCurses - Ada95 binding documentation for ncurses
2 %define AppProgram AdaCurses
3 %define AppVersion MAJOR.MINOR
4 %define AppRelease YYYYMMDD
5 %define AppPackage %{AppProgram}-doc
6 # $Id: AdaCurses-doc.spec,v 1.1 2011/03/26 19:22:39 tom Exp $
7 Name: %{AppPackage}
8 Version: %{AppVersion}
9 Release: %{AppRelease}
10 License: MIT
11 Group: Applications/Development
12 URL: ftp://invisible-island.net/%{AppProgram}
13 Source0: %{AppProgram}-%{AppRelease}.tgz
14 Packager: Thomas Dickey <dickey@invisible-island.net>
16 %description
17 This is the Ada95 binding documentation from the ncurses MAJOR.MINOR
18 distribution, for patch-date YYYYMMDD.
19 %prep
21 %setup -q -n %{AppProgram}-%{AppRelease}
23 %build
25 INSTALL_PROGRAM='${INSTALL}' \
26 ./configure \
27 --target %{_target_platform} \
28 --prefix=%{_prefix} \
29 --datadir=%{_datadir} \
30 --with-ada-sharedlib
32 %install
33 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
35 (cd doc && make install.html DESTDIR=$RPM_BUILD_ROOT )
37 %clean
38 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
40 %files
41 %defattr(-,root,root)
42 %{_datadir}/doc/AdaCurses
44 %changelog
45 # each patch should add its ChangeLog entries here
47 * Sat Mar 26 2010 Thomas Dickey
48 - initial version