]> git.pld-linux.org Git - packages/suite3270.git/blame - suite3270.spec
- updated to 3.3.12ga13
[packages/suite3270.git] / suite3270.spec
CommitLineData
95d85ffe 1Summary: IBM 3270 terminal emulator
95c8ada4 2Summary(pl.UTF-8): Emulator terminala IBM 3270
95d85ffe 3Name: suite3270
d734614e 4Version: 3.3.12ga13
018ea568 5Release: 1
95d85ffe
JB
6License: MIT-like
7Group: Applications/Terminal
add88642 8Source0: http://x3270.bgp.nu/download/%{name}-%{version}-src.tgz
d734614e 9# Source0-md5: df11e3f16c0a6b2e5b1ddb3c46fb3f88
95d85ffe 10URL: http://x3270.bgp.nu/
95d85ffe
JB
11BuildRequires: ncurses-devel
12BuildRequires: readline-devel
13BuildRequires: tcl-devel >= 8.4
67c7182f
JR
14BuildRequires: xorg-app-bdftopcf
15BuildRequires: xorg-app-mkfontdir
add88642
JR
16BuildRequires: xorg-lib-libX11-devel
17BuildRequires: xorg-lib-libXaw-devel
18BuildRequires: xorg-lib-libXmu-devel
19BuildRequires: xorg-lib-libXt-devel
20BuildRequires: xorg-lib-libXt-devel
21BuildRequires: xorg-proto-xproto-devel
67c7182f 22BuildRequires: xorg-util-imake
95d85ffe
JB
23Requires(post,postun): fontpostinst
24# better separate x3270 (the rest doesn't depend on X)
25Obsoletes: x3270
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29x3270 is an IBM 3270 terminal emulator. It runs over a TELNET
30connection, emulating either an IBM 3279 (color) or 3278 (monochrome).
31It supports:
32 - The full TN3270E protocol
33 - SSL/TLS (via the OpenSSL library) for encrypted sessions
34 - APL2 characters
35 - Non-English character sets, including Russian, Turkish, Hebrew and
36 DBCS Chinese and Japanese
37 - IND$FILE file transfer
38 - NVT mode (emulating a color xterm)
39 - A pop-up keypad for 3270-specific keys
40 - A scrollbar
41 - Printer session integration
42 - Extensive debugging and scripting facilities
43
44It does not yet support graphics.
45
46x3270 is available in several different forms:
47 - x3270 is for use on a graphics display
48 - c3270 is a curses-based version for use on a dumb terminal (e.g., a
49 serial terminal or a Linux console)
50 - s3270 is a displayless version for writing screen-scraping scripts
51 - tcl3270 is similar to s3270, but integrated with Tcl
52 - pr3287 is for printer emulation
53
69805110
JR
54%description -l pl.UTF-8
55x3270 to emulator terminala IBM 3270. Działa po połączeniu TELNET,
56emulując terminal IBM 3279 (kolorowy) lub 3278 (monochromatyczny).
57Obsługuje:
58 - pełny protokół TN3270E
59 - SSL/TLS (poprzez bibliotekę OpenSSL) do szyfrowanych sesji
95d85ffe 60 - znaki APL2
69805110
JR
61 - różne zestawy znaków, włącznie z rosyjskim, tureckim, hebrajskim
62 oraz chińskim i japońskim DBCS
63 - przesyłanie plików IND$FILE
64 - tryb NVT (emulację terminala kolorowego)
65 - wyskakujący keypad do klawiszy specyficznych dla 3270
95d85ffe 66 - pasek przewijania
69805110
JR
67 - integrację sesji drukarki
68 - śledzenie i skrypty.
95d85ffe 69
69805110 70Nie obsługuje jeszcze grafiki.
95d85ffe 71
69805110
JR
72x3270 jest dostępny w kilku różnych postaciach:
73 - x3270 do używania na ekranie graficznym
74 - c3270 to wersja oparta o curses do używania na prostym terminalu
95d85ffe 75 (np. terminalu szeregowym lub konsoli linuksowej)
69805110 76 - s3270 to wersja niewyświetlająca, do pisania skryptów
95d85ffe
JB
77 - tcl3270 to wersja podobna do s3270, ale zintegrowana z Tcl-em
78 - pr3287 do emulacji drukarki.
79
80%prep
81%setup -q -c
82
83%build
84export ac_cv_lib_nsl_gethostbyname=no
a94b77a1 85CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses"
95d85ffe 86cd c3270-3.3
a94b77a1 87%configure \
88 LIBS="-ltinfow"
95d85ffe
JB
89%{__make}
90cd ../pr3287-3.3
91%configure
92%{__make}
93cd ../s3270-3.3
94%configure
95%{__make}
96cd ../tcl3270-3.3
add88642 97%configure
95d85ffe
JB
98%{__make}
99cd ../x3270-3.3
add88642
JR
100%configure \
101 --with-fontdir=%{_fontsdir}/misc
95d85ffe
JB
102%{__make} \
103 CDEBUGFLAGS="%{rpmcflags}"
104
105%install
106rm -rf $RPM_BUILD_ROOT
107
67c7182f 108%{__make} -j1 -C c3270-3.3 install \
95d85ffe
JB
109 DESTDIR=$RPM_BUILD_ROOT
110
67c7182f 111%{__make} -j1 -C pr3287-3.3 install \
95d85ffe
JB
112 DESTDIR=$RPM_BUILD_ROOT
113
67c7182f 114%{__make} -j1 -C s3270-3.3 install \
95d85ffe
JB
115 DESTDIR=$RPM_BUILD_ROOT
116
67c7182f 117%{__make} -j1 -C tcl3270-3.3 install \
95d85ffe
JB
118 DESTDIR=$RPM_BUILD_ROOT
119
67c7182f 120%{__make} -j1 -C x3270-3.3 install \
95d85ffe
JB
121 DESTDIR=$RPM_BUILD_ROOT \
122 BINDIR=%{_bindir}
123
124rm -rf doc
125install -d doc/{c3270,pr3287,s3270,tcl3270,x3270}
126cp -a c3270-3.3/{LICENSE,README,html} doc/c3270
127cp -a pr3287-3.3/{LICENSE,README,html} doc/pr3287
128cp -a s3270-3.3/{LICENSE,README,Examples,html} doc/s3270
129cp -a tcl3270-3.3/{LICENSE,README,Examples,html} doc/tcl3270
130cp -a x3270-3.3/{LICENSE,README*,Examples,html} doc/x3270
131
132%clean
133rm -rf $RPM_BUILD_ROOT
134
135%post
136fontpostinst misc
137
138%postun
139fontpostinst misc
140
141%files
142%defattr(644,root,root,755)
143%doc doc/*
2c4c7e7a
JB
144%attr(755,root,root) %{_bindir}/c3270
145%attr(755,root,root) %{_bindir}/pr3287
146%attr(755,root,root) %{_bindir}/s3270
147%attr(755,root,root) %{_bindir}/tcl3270
148%attr(755,root,root) %{_bindir}/x3270
149%attr(755,root,root) %{_bindir}/x3270if
95d85ffe
JB
150%dir %{_sysconfdir}/x3270
151%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/x3270/ibm_hosts
2c4c7e7a 152%{_fontsdir}/misc/3270*.pcf.gz
This page took 0.178613 seconds and 4 git commands to generate.