Debian Codegraph @

package/vttest.spec

raw
1 Summary: Test VT100-type terminal
2 %global patchdate 20251205
3 # $XTermId: vttest.spec,v 1.78 2025/12/05 23:10:17 tom Exp $
4 Name: vttest
5 Version: 2.7.%{patchdate}
6 Release: 1
7 License: MIT
8 Group: Applications/Development
9 URL: https://invisible-island.net/%{name}/
10 Source0: https://invisible-island.net/archives/%{name}/%{name}-%{patchdate}.tgz
11
12 %description
13 Vttest is a program designed to test the functionality of a VT100
14 terminal (or emulator thereof). It tests both display (escape sequence
15 handling) and keyboard.
16
17 The program is menu-driven and contains full on-line operating
18 instructions. To run a given menu-item, you must enter its number. You
19 can run all menu-items (for a given level) by entering an asterisk, i.e,
20 `*'.
21
22 %prep
23
24 # no need for debugging symbols...
25 %define debug_package %{nil}
26
27 %setup -q -n %{name}-%{patchdate}
28
29 %build
30
31 INSTALL_PROGRAM='${INSTALL}' \
32 %configure \
33 --target %{_target_platform} \
34 --prefix=%{_prefix} \
35 --bindir=%{_bindir} \
36 --libdir=%{_libdir} \
37 --mandir=%{_mandir}
38
39 make
40
41 %install
42 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
43
44 make install DESTDIR=$RPM_BUILD_ROOT
45
46 strip $RPM_BUILD_ROOT%{_bindir}/%{name}
47
48 %files
49 %defattr(-,root,root)
50 %{_prefix}/bin/%{name}
51 %{_mandir}/man1/%{name}.*
52
53 %changelog
54 # each patch should add its ChangeLog entries here
55
56 * Fri Dec 05 2025 Thomas E. Dickey
57 - testing vttest 2.7.20251205-1
58
59 * Thu Dec 29 2022 Thomas E. Dickey
60 - update URLs
61
62 * Mon Jul 02 2018 Thomas E. Dickey
63 - use recommended flags for build
64
65 * Thu Aug 26 2010 Thomas E. Dickey
66 - initial version