2007-01-16 00:41:45 +01:00
|
|
|
#
|
2011-09-16 13:25:18 +02:00
|
|
|
# spec file for package x3270
|
2007-01-16 00:41:45 +01:00
|
|
|
#
|
2019-09-05 13:36:44 +02:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:41:45 +01:00
|
|
|
#
|
2009-06-19 00:23:10 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:41:45 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2008-04-09 00:57:15 +02:00
|
|
|
|
2017-01-02 09:52:32 +01:00
|
|
|
%define _suffix ga9
|
2014-09-25 10:25:58 +02:00
|
|
|
%define _fullname suite3270-%{version}%{_suffix}
|
|
|
|
%define _x026ver 1.2
|
2007-01-16 00:41:45 +01:00
|
|
|
Name: x3270
|
2017-01-02 09:52:32 +01:00
|
|
|
Version: 3.5
|
2014-09-25 10:25:58 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: A Family of IBM 3270 Terminal Emulators
|
|
|
|
License: MIT
|
|
|
|
Group: System/X11/Terminals
|
|
|
|
Url: http://x3270.bgp.nu
|
|
|
|
Source0: http://download.sourceforge.net/%{name}/%{_fullname}-src.tgz
|
|
|
|
Source1: http://download.sourceforge.net/%{name}/x026-%{_x026ver}.tgz
|
2016-02-09 11:35:39 +01:00
|
|
|
Source2: x3270.desktop
|
2014-09-25 10:25:58 +02:00
|
|
|
Patch0: mknod.patch
|
|
|
|
Patch100: usr_local_bin.patch
|
|
|
|
Patch102: x026-offset.diff
|
Accepting request 329516 from home:scarabeus_iv:branches:Base:System
- Version bump to 3.4:
* Recreated tarball and build approach so adapt our system
* Fixed a number of warnings found by the MacOS C compiler, which turned out
to be real issues.
* [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
like Ascii and Ebcdic.
* [all] Fixed an NVT-mode emulation problem.
* [all] Fixed a synchronization issue with scripts and file transfers.
* [c3270, wc3270] Fixed a crash when the Transfer action was called from a
script.
* [x3270] Fixed a crash when visible control characters are turned on in
3278 mode.
* [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
* [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
to get rid of compiler warnings with newer versions of glibc (bugs:#12).
* [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
* [c3270, wc3270] Made the help for file-transfer reflect the current
defaults. Added help for Keymap.
* [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
of the console window correctly.
* [pr3287, wpr3287] Fixed a problem with printer session start-up when both
a specific printer LU and an SSL tunnel (L:) are specified.
* [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
The semantics are the same as the x3270 action of the same name.
* [all] Made the parameter to ResumeScript optional, and relaxed the
restrictions on when PauseScript can be used, so it can now be used from
macros and command files read with the Source action.
* [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
file transfer dialog.
* [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.
OBS-URL: https://build.opensuse.org/request/show/329516
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
|
|
|
Patch105: x3270-missing-include.patch
|
|
|
|
Patch106: x3270-missing-file.patch
|
2018-08-06 14:05:25 +02:00
|
|
|
Patch107: reproducible.patch
|
|
|
|
Patch108: mkversion.patch
|
2019-09-05 13:36:44 +02:00
|
|
|
Patch109: x3270-fix-build.patch
|
2013-03-30 16:26:06 +01:00
|
|
|
BuildRequires: bdftopcf
|
2014-09-19 17:42:47 +02:00
|
|
|
BuildRequires: fdupes
|
2012-08-06 14:29:59 +02:00
|
|
|
BuildRequires: fontpackages-devel
|
2011-12-19 16:54:16 +01:00
|
|
|
BuildRequires: freetype2
|
2015-04-27 07:43:30 +02:00
|
|
|
BuildRequires: imake
|
|
|
|
BuildRequires: mkfontdir
|
2013-07-24 11:01:25 +02:00
|
|
|
BuildRequires: ncurses-devel
|
2011-12-19 16:54:16 +01:00
|
|
|
BuildRequires: openssl-devel
|
2017-01-02 09:52:32 +01:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: readline-devel
|
2011-12-19 16:54:16 +01:00
|
|
|
BuildRequires: tcl-devel
|
2017-01-02 09:52:32 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2015-04-27 07:43:30 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xaw7)
|
|
|
|
BuildRequires: pkgconfig(xmu)
|
|
|
|
BuildRequires: pkgconfig(xpm)
|
|
|
|
BuildRequires: pkgconfig(xt)
|
2007-01-16 00:41:45 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains a family of IBM 3270 mainframe terminal
|
|
|
|
emulators:
|
|
|
|
|
|
|
|
* terminal emulators for interactive use x3270 X Window System
|
|
|
|
c3270 curses based
|
|
|
|
|
|
|
|
* terminal emulators for scripted use s3270 see the x3270-script
|
|
|
|
man page tcl3270 Tcl based
|
|
|
|
|
|
|
|
* printer emulator pr3287
|
|
|
|
|
|
|
|
* do not miss the punch card puncher emulator x026
|
|
|
|
|
|
|
|
x3270 is an IBM 3270 terminal emulator for the X Window System. x3270
|
|
|
|
runs over a telnet connection (with or without TN3270E) and emulates
|
|
|
|
either an IBM 3279 (color) or 3278 (monochrome). It supports APL2
|
|
|
|
characters, IND$FILE file transfer, NVT mode, a pop-up keypad for
|
|
|
|
3270-specific keys, alternative keymaps, 3287 printer sessions, and a
|
|
|
|
scrollbar and has extensive debugging and scripting facilities.
|
|
|
|
|
|
|
|
c3270 is the curses-based version of x3270. It runs on any dumb
|
|
|
|
terminal (an xterm or a console, for example), and supports (almost)
|
|
|
|
all of the x3270 features. c3270 scripts are compatible with x3270
|
|
|
|
scripts, and the subset of command line options and resource
|
|
|
|
definitions are also compatible.
|
|
|
|
|
|
|
|
s3270 is a scripting-only version of x3270. This program is intended
|
|
|
|
primarily for writing "screen-scraping" applications, for example a CGI
|
|
|
|
back-end script that retrieves database information from a mainframe.
|
|
|
|
|
|
|
|
tcl3270 is a Tcl-based 3270 scripting engine. It lets you write Tcl
|
|
|
|
scripts that manipulate 3270 sessions, and is quite a bit easier to set
|
|
|
|
up and use than s3270.
|
|
|
|
|
|
|
|
pr3287 is the printer companion for the above tools, and allows printer
|
|
|
|
output from a 3270 session to be directed to a Unix printer queue.
|
|
|
|
|
|
|
|
x026 is a fun toy which emulates an x026 puncher.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
# the source-packages all extract to corresponding subdirectories.
|
|
|
|
# they are all expanded below a 'all3270' directory. this directory
|
|
|
|
# will also hold the common config.cache
|
|
|
|
# -q uietly -c reate -name all3270
|
|
|
|
# -a fter changing into all3270, expand sources
|
Accepting request 329516 from home:scarabeus_iv:branches:Base:System
- Version bump to 3.4:
* Recreated tarball and build approach so adapt our system
* Fixed a number of warnings found by the MacOS C compiler, which turned out
to be real issues.
* [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
like Ascii and Ebcdic.
* [all] Fixed an NVT-mode emulation problem.
* [all] Fixed a synchronization issue with scripts and file transfers.
* [c3270, wc3270] Fixed a crash when the Transfer action was called from a
script.
* [x3270] Fixed a crash when visible control characters are turned on in
3278 mode.
* [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
* [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
to get rid of compiler warnings with newer versions of glibc (bugs:#12).
* [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
* [c3270, wc3270] Made the help for file-transfer reflect the current
defaults. Added help for Keymap.
* [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
of the console window correctly.
* [pr3287, wpr3287] Fixed a problem with printer session start-up when both
a specific printer LU and an SSL tunnel (L:) are specified.
* [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
The semantics are the same as the x3270 action of the same name.
* [all] Made the parameter to ResumeScript optional, and relaxed the
restrictions on when PauseScript can be used, so it can now be used from
macros and command files read with the Source action.
* [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
file transfer dialog.
* [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.
OBS-URL: https://build.opensuse.org/request/show/329516
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
|
|
|
%setup -q -n suite3270-%{version} -a1
|
2014-09-25 10:25:58 +02:00
|
|
|
%patch0
|
2007-01-16 00:41:45 +01:00
|
|
|
%patch100
|
|
|
|
%patch102
|
Accepting request 329516 from home:scarabeus_iv:branches:Base:System
- Version bump to 3.4:
* Recreated tarball and build approach so adapt our system
* Fixed a number of warnings found by the MacOS C compiler, which turned out
to be real issues.
* [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
like Ascii and Ebcdic.
* [all] Fixed an NVT-mode emulation problem.
* [all] Fixed a synchronization issue with scripts and file transfers.
* [c3270, wc3270] Fixed a crash when the Transfer action was called from a
script.
* [x3270] Fixed a crash when visible control characters are turned on in
3278 mode.
* [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
* [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
to get rid of compiler warnings with newer versions of glibc (bugs:#12).
* [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
* [c3270, wc3270] Made the help for file-transfer reflect the current
defaults. Added help for Keymap.
* [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
of the console window correctly.
* [pr3287, wpr3287] Fixed a problem with printer session start-up when both
a specific printer LU and an SSL tunnel (L:) are specified.
* [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
The semantics are the same as the x3270 action of the same name.
* [all] Made the parameter to ResumeScript optional, and relaxed the
restrictions on when PauseScript can be used, so it can now be used from
macros and command files read with the Source action.
* [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
file transfer dialog.
* [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.
OBS-URL: https://build.opensuse.org/request/show/329516
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
|
|
|
%patch105 -p1
|
|
|
|
%patch106 -p1
|
2018-08-06 14:05:25 +02:00
|
|
|
%patch107 -p1
|
|
|
|
for d in x3270 c3270 s3270 tcl3270 pr3287 ; do
|
|
|
|
(cd $d
|
|
|
|
%patch108 -p2
|
|
|
|
)
|
2019-09-05 13:36:44 +02:00
|
|
|
%patch109 -p1
|
2018-08-06 14:05:25 +02:00
|
|
|
done
|
2007-01-16 00:41:45 +01:00
|
|
|
|
|
|
|
%build
|
2014-09-25 10:25:58 +02:00
|
|
|
export CFLAGS="%{optflags}"
|
2013-07-24 11:01:25 +02:00
|
|
|
export LIBX3270DIR=%{_sysconfdir}/x3270
|
Accepting request 329516 from home:scarabeus_iv:branches:Base:System
- Version bump to 3.4:
* Recreated tarball and build approach so adapt our system
* Fixed a number of warnings found by the MacOS C compiler, which turned out
to be real issues.
* [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
like Ascii and Ebcdic.
* [all] Fixed an NVT-mode emulation problem.
* [all] Fixed a synchronization issue with scripts and file transfers.
* [c3270, wc3270] Fixed a crash when the Transfer action was called from a
script.
* [x3270] Fixed a crash when visible control characters are turned on in
3278 mode.
* [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
* [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
to get rid of compiler warnings with newer versions of glibc (bugs:#12).
* [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
* [c3270, wc3270] Made the help for file-transfer reflect the current
defaults. Added help for Keymap.
* [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
of the console window correctly.
* [pr3287, wpr3287] Fixed a problem with printer session start-up when both
a specific printer LU and an SSL tunnel (L:) are specified.
* [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
The semantics are the same as the x3270 action of the same name.
* [all] Made the parameter to ResumeScript optional, and relaxed the
restrictions on when PauseScript can be used, so it can now be used from
macros and command files read with the Source action.
* [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
file transfer dialog.
* [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.
OBS-URL: https://build.opensuse.org/request/show/329516
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
|
|
|
%configure \
|
2017-01-02 09:52:32 +01:00
|
|
|
--disable-windows \
|
|
|
|
--disable-windows-lib \
|
|
|
|
--enable-lib \
|
|
|
|
--enable-unix \
|
|
|
|
--enable-ssl \
|
|
|
|
--x-includes=%{_includedir} \
|
|
|
|
--x-libraries=%{_libdir} \
|
|
|
|
--with-all-xinstall \
|
|
|
|
--with-iconv \
|
|
|
|
--with-fontdir=%{_miscfontsdir}
|
Accepting request 329516 from home:scarabeus_iv:branches:Base:System
- Version bump to 3.4:
* Recreated tarball and build approach so adapt our system
* Fixed a number of warnings found by the MacOS C compiler, which turned out
to be real issues.
* [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
like Ascii and Ebcdic.
* [all] Fixed an NVT-mode emulation problem.
* [all] Fixed a synchronization issue with scripts and file transfers.
* [c3270, wc3270] Fixed a crash when the Transfer action was called from a
script.
* [x3270] Fixed a crash when visible control characters are turned on in
3278 mode.
* [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
* [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
to get rid of compiler warnings with newer versions of glibc (bugs:#12).
* [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
* [c3270, wc3270] Made the help for file-transfer reflect the current
defaults. Added help for Keymap.
* [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
of the console window correctly.
* [pr3287, wpr3287] Fixed a problem with printer session start-up when both
a specific printer LU and an SSL tunnel (L:) are specified.
* [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
The semantics are the same as the x3270 action of the same name.
* [all] Made the parameter to ResumeScript optional, and relaxed the
restrictions on when PauseScript can be used, so it can now be used from
macros and command files read with the Source action.
* [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
file transfer dialog.
* [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.
OBS-URL: https://build.opensuse.org/request/show/329516
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
|
|
|
# There is broken generated makefile
|
|
|
|
sed -i -e 's:$(FALLBACKS_:$(FALLBACKS):g' x3270/Makefile
|
2017-01-02 09:52:32 +01:00
|
|
|
make %{?_smp_mflags} LIBX3270DIR=${LIBX3270DIR} unix CC="gcc %{optflags}"
|
2007-01-16 00:41:45 +01:00
|
|
|
# the IBM 026 keypunch emulator
|
2014-09-25 10:25:58 +02:00
|
|
|
cd x026-%{_x026ver}
|
2007-01-16 00:41:45 +01:00
|
|
|
xmkmf
|
2014-09-25 10:25:58 +02:00
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:41:45 +01:00
|
|
|
cd ..
|
|
|
|
|
|
|
|
%install
|
2013-07-24 11:01:25 +02:00
|
|
|
export LIBX3270DIR=%{_sysconfdir}/x3270
|
2007-01-16 00:41:45 +01:00
|
|
|
# create the default directory structure in the build root
|
2013-07-24 11:01:25 +02:00
|
|
|
mkdir --parents %{buildroot}{%{_bindir},%{_mandir}/{man1,man5}}
|
Accepting request 329516 from home:scarabeus_iv:branches:Base:System
- Version bump to 3.4:
* Recreated tarball and build approach so adapt our system
* Fixed a number of warnings found by the MacOS C compiler, which turned out
to be real issues.
* [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
like Ascii and Ebcdic.
* [all] Fixed an NVT-mode emulation problem.
* [all] Fixed a synchronization issue with scripts and file transfers.
* [c3270, wc3270] Fixed a crash when the Transfer action was called from a
script.
* [x3270] Fixed a crash when visible control characters are turned on in
3278 mode.
* [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
* [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
to get rid of compiler warnings with newer versions of glibc (bugs:#12).
* [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
* [c3270, wc3270] Made the help for file-transfer reflect the current
defaults. Added help for Keymap.
* [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
of the console window correctly.
* [pr3287, wpr3287] Fixed a problem with printer session start-up when both
a specific printer LU and an SSL tunnel (L:) are specified.
* [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
The semantics are the same as the x3270 action of the same name.
* [all] Made the parameter to ResumeScript optional, and relaxed the
restrictions on when PauseScript can be used, so it can now be used from
macros and command files read with the Source action.
* [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
file transfer dialog.
* [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.
OBS-URL: https://build.opensuse.org/request/show/329516
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
|
|
|
chmod -x x3270/html/Keymap.html
|
|
|
|
chmod -x s3270/Examples/cms_cmd.expect
|
|
|
|
make DESTDIR=%{buildroot} LIBX3270DIR=${LIBX3270DIR} install
|
|
|
|
make DESTDIR=%{buildroot} LIBX3270DIR=${LIBX3270DIR} install.man
|
2007-01-16 00:41:45 +01:00
|
|
|
# the IBM 026 keypunch emulator
|
2014-09-25 10:25:58 +02:00
|
|
|
cd x026-%{_x026ver}
|
Accepting request 329516 from home:scarabeus_iv:branches:Base:System
- Version bump to 3.4:
* Recreated tarball and build approach so adapt our system
* Fixed a number of warnings found by the MacOS C compiler, which turned out
to be real issues.
* [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
like Ascii and Ebcdic.
* [all] Fixed an NVT-mode emulation problem.
* [all] Fixed a synchronization issue with scripts and file transfers.
* [c3270, wc3270] Fixed a crash when the Transfer action was called from a
script.
* [x3270] Fixed a crash when visible control characters are turned on in
3278 mode.
* [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
* [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
to get rid of compiler warnings with newer versions of glibc (bugs:#12).
* [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
* [c3270, wc3270] Made the help for file-transfer reflect the current
defaults. Added help for Keymap.
* [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
of the console window correctly.
* [pr3287, wpr3287] Fixed a problem with printer session start-up when both
a specific printer LU and an SSL tunnel (L:) are specified.
* [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
The semantics are the same as the x3270 action of the same name.
* [all] Made the parameter to ResumeScript optional, and relaxed the
restrictions on when PauseScript can be used, so it can now be used from
macros and command files read with the Source action.
* [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
file transfer dialog.
* [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.
OBS-URL: https://build.opensuse.org/request/show/329516
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
|
|
|
make DESTDIR=%{buildroot} install install.man
|
2007-01-16 00:41:45 +01:00
|
|
|
cd ..
|
|
|
|
# move site config files to the standard locations
|
2014-09-25 10:25:58 +02:00
|
|
|
mkdir -p %{buildroot}%{_libexecdir}/x3270
|
2007-01-16 00:41:45 +01:00
|
|
|
# this is a per-site, not a per-machine config file
|
2013-07-24 11:01:25 +02:00
|
|
|
chmod 644 %{buildroot}%{_sysconfdir}/x3270/ibm_hosts
|
2007-01-16 00:41:45 +01:00
|
|
|
# set permissions correct
|
2013-07-24 11:01:25 +02:00
|
|
|
chmod ugo-x %{buildroot}%{_mandir}/man{1,5}/*
|
Accepting request 329516 from home:scarabeus_iv:branches:Base:System
- Version bump to 3.4:
* Recreated tarball and build approach so adapt our system
* Fixed a number of warnings found by the MacOS C compiler, which turned out
to be real issues.
* [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
like Ascii and Ebcdic.
* [all] Fixed an NVT-mode emulation problem.
* [all] Fixed a synchronization issue with scripts and file transfers.
* [c3270, wc3270] Fixed a crash when the Transfer action was called from a
script.
* [x3270] Fixed a crash when visible control characters are turned on in
3278 mode.
* [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
* [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
to get rid of compiler warnings with newer versions of glibc (bugs:#12).
* [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
* [c3270, wc3270] Made the help for file-transfer reflect the current
defaults. Added help for Keymap.
* [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
of the console window correctly.
* [pr3287, wpr3287] Fixed a problem with printer session start-up when both
a specific printer LU and an SSL tunnel (L:) are specified.
* [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
The semantics are the same as the x3270 action of the same name.
* [all] Made the parameter to ResumeScript optional, and relaxed the
restrictions on when PauseScript can be used, so it can now be used from
macros and command files read with the Source action.
* [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
file transfer dialog.
* [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.
OBS-URL: https://build.opensuse.org/request/show/329516
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
|
|
|
# make install does a mkfontdir, that creates a fonts.dir we don't
|
|
|
|
# want in the package. remove that:
|
|
|
|
rm %{buildroot}%{_miscfontsdir}/fonts.dir
|
2007-01-16 00:41:45 +01:00
|
|
|
|
2013-07-24 11:01:25 +02:00
|
|
|
# copy the docs
|
2014-09-25 10:25:58 +02:00
|
|
|
mkdir -p %{buildroot}%{_docdir}/%{name}
|
|
|
|
cp -pr --parents Playback %{buildroot}%{_docdir}/%{name}
|
Accepting request 329516 from home:scarabeus_iv:branches:Base:System
- Version bump to 3.4:
* Recreated tarball and build approach so adapt our system
* Fixed a number of warnings found by the MacOS C compiler, which turned out
to be real issues.
* [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
like Ascii and Ebcdic.
* [all] Fixed an NVT-mode emulation problem.
* [all] Fixed a synchronization issue with scripts and file transfers.
* [c3270, wc3270] Fixed a crash when the Transfer action was called from a
script.
* [x3270] Fixed a crash when visible control characters are turned on in
3278 mode.
* [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
* [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
to get rid of compiler warnings with newer versions of glibc (bugs:#12).
* [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
* [c3270, wc3270] Made the help for file-transfer reflect the current
defaults. Added help for Keymap.
* [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
of the console window correctly.
* [pr3287, wpr3287] Fixed a problem with printer session start-up when both
a specific printer LU and an SSL tunnel (L:) are specified.
* [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
The semantics are the same as the x3270 action of the same name.
* [all] Made the parameter to ResumeScript optional, and relaxed the
restrictions on when PauseScript can be used, so it can now be used from
macros and command files read with the Source action.
* [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
file transfer dialog.
* [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.
OBS-URL: https://build.opensuse.org/request/show/329516
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
|
|
|
cp -pr --parents x3270/{Examples,html} %{buildroot}%{_docdir}/%{name}
|
|
|
|
cp -pr --parents c3270/html %{buildroot}%{_docdir}/%{name}
|
|
|
|
cp -pr --parents pr3287/html %{buildroot}%{_docdir}/%{name}
|
|
|
|
cp -pr --parents s3270/{Examples,html} %{buildroot}%{_docdir}/%{name}
|
|
|
|
cp -pr --parents tcl3270/{Examples,html} %{buildroot}%{_docdir}/%{name}
|
2014-09-19 17:42:47 +02:00
|
|
|
# create symlinks in documentation
|
2014-09-25 10:25:58 +02:00
|
|
|
%fdupes -s %{buildroot}/%{_docdir}
|
Accepting request 329516 from home:scarabeus_iv:branches:Base:System
- Version bump to 3.4:
* Recreated tarball and build approach so adapt our system
* Fixed a number of warnings found by the MacOS C compiler, which turned out
to be real issues.
* [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
like Ascii and Ebcdic.
* [all] Fixed an NVT-mode emulation problem.
* [all] Fixed a synchronization issue with scripts and file transfers.
* [c3270, wc3270] Fixed a crash when the Transfer action was called from a
script.
* [x3270] Fixed a crash when visible control characters are turned on in
3278 mode.
* [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
* [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
to get rid of compiler warnings with newer versions of glibc (bugs:#12).
* [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
* [c3270, wc3270] Made the help for file-transfer reflect the current
defaults. Added help for Keymap.
* [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
of the console window correctly.
* [pr3287, wpr3287] Fixed a problem with printer session start-up when both
a specific printer LU and an SSL tunnel (L:) are specified.
* [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
The semantics are the same as the x3270 action of the same name.
* [all] Made the parameter to ResumeScript optional, and relaxed the
restrictions on when PauseScript can be used, so it can now be used from
macros and command files read with the Source action.
* [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
file transfer dialog.
* [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.
OBS-URL: https://build.opensuse.org/request/show/329516
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
|
|
|
|
2017-01-02 09:52:32 +01:00
|
|
|
install -D -m 0644 %{SOURCE2} %{buildroot}%{_datadir}/applications/x3270.desktop
|
2016-02-09 11:35:39 +01:00
|
|
|
%suse_update_desktop_file x3270
|
|
|
|
|
|
|
|
%post
|
|
|
|
%desktop_database_post
|
|
|
|
%reconfigure_fonts_post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%desktop_database_postun
|
|
|
|
%reconfigure_fonts_postun
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
%reconfigure_fonts_posttrans
|
2007-01-16 00:41:45 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
# common files
|
2013-07-24 11:01:25 +02:00
|
|
|
%dir %{_sysconfdir}/x3270
|
2014-09-25 10:25:58 +02:00
|
|
|
%dir %{_docdir}/%{name}
|
|
|
|
%dir %{_docdir}/%{name}/*
|
2013-07-24 11:01:25 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/x3270/ibm_hosts
|
2017-01-02 09:52:32 +01:00
|
|
|
%{_mandir}/man5/ibm_hosts.5%{ext_man}
|
|
|
|
%{_mandir}/man1/x3270if.1%{ext_man}
|
|
|
|
%{_mandir}/man1/x3270-script.1%{ext_man}
|
2013-07-24 11:01:25 +02:00
|
|
|
%{_bindir}/x3270if
|
2007-01-16 00:41:45 +01:00
|
|
|
# x3270
|
2013-07-24 11:01:25 +02:00
|
|
|
%{_bindir}/x3270
|
2012-08-06 14:29:59 +02:00
|
|
|
%dir %{_miscfontsdir}
|
|
|
|
%{_miscfontsdir}/*
|
2017-01-02 09:52:32 +01:00
|
|
|
%{_mandir}/man1/x3270.1%{ext_man}
|
Accepting request 329516 from home:scarabeus_iv:branches:Base:System
- Version bump to 3.4:
* Recreated tarball and build approach so adapt our system
* Fixed a number of warnings found by the MacOS C compiler, which turned out
to be real issues.
* [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
like Ascii and Ebcdic.
* [all] Fixed an NVT-mode emulation problem.
* [all] Fixed a synchronization issue with scripts and file transfers.
* [c3270, wc3270] Fixed a crash when the Transfer action was called from a
script.
* [x3270] Fixed a crash when visible control characters are turned on in
3278 mode.
* [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
* [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
to get rid of compiler warnings with newer versions of glibc (bugs:#12).
* [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
* [c3270, wc3270] Made the help for file-transfer reflect the current
defaults. Added help for Keymap.
* [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
of the console window correctly.
* [pr3287, wpr3287] Fixed a problem with printer session start-up when both
a specific printer LU and an SSL tunnel (L:) are specified.
* [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
The semantics are the same as the x3270 action of the same name.
* [all] Made the parameter to ResumeScript optional, and relaxed the
restrictions on when PauseScript can be used, so it can now be used from
macros and command files read with the Source action.
* [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
file transfer dialog.
* [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.
OBS-URL: https://build.opensuse.org/request/show/329516
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
|
|
|
%doc %{_docdir}/%{name}/x3270/Examples
|
|
|
|
%doc %{_docdir}/%{name}/x3270/html
|
2014-09-25 10:25:58 +02:00
|
|
|
%doc %{_docdir}/%{name}/Playback
|
2016-02-09 11:35:39 +01:00
|
|
|
%{_datadir}/applications/x3270.desktop
|
2007-01-16 00:41:45 +01:00
|
|
|
# c3270
|
2013-07-24 11:01:25 +02:00
|
|
|
%{_bindir}/c3270
|
2017-01-02 09:52:32 +01:00
|
|
|
%{_mandir}/man1/c3270.1%{ext_man}
|
Accepting request 329516 from home:scarabeus_iv:branches:Base:System
- Version bump to 3.4:
* Recreated tarball and build approach so adapt our system
* Fixed a number of warnings found by the MacOS C compiler, which turned out
to be real issues.
* [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
like Ascii and Ebcdic.
* [all] Fixed an NVT-mode emulation problem.
* [all] Fixed a synchronization issue with scripts and file transfers.
* [c3270, wc3270] Fixed a crash when the Transfer action was called from a
script.
* [x3270] Fixed a crash when visible control characters are turned on in
3278 mode.
* [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
* [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
to get rid of compiler warnings with newer versions of glibc (bugs:#12).
* [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
* [c3270, wc3270] Made the help for file-transfer reflect the current
defaults. Added help for Keymap.
* [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
of the console window correctly.
* [pr3287, wpr3287] Fixed a problem with printer session start-up when both
a specific printer LU and an SSL tunnel (L:) are specified.
* [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
The semantics are the same as the x3270 action of the same name.
* [all] Made the parameter to ResumeScript optional, and relaxed the
restrictions on when PauseScript can be used, so it can now be used from
macros and command files read with the Source action.
* [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
file transfer dialog.
* [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.
OBS-URL: https://build.opensuse.org/request/show/329516
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
|
|
|
%doc %{_docdir}/%{name}/c3270/html
|
2007-01-16 00:41:45 +01:00
|
|
|
# pr3287
|
2013-07-24 11:01:25 +02:00
|
|
|
%{_bindir}/pr3287
|
2017-01-02 09:52:32 +01:00
|
|
|
%{_mandir}/man1/pr3287.1%{ext_man}
|
Accepting request 329516 from home:scarabeus_iv:branches:Base:System
- Version bump to 3.4:
* Recreated tarball and build approach so adapt our system
* Fixed a number of warnings found by the MacOS C compiler, which turned out
to be real issues.
* [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
like Ascii and Ebcdic.
* [all] Fixed an NVT-mode emulation problem.
* [all] Fixed a synchronization issue with scripts and file transfers.
* [c3270, wc3270] Fixed a crash when the Transfer action was called from a
script.
* [x3270] Fixed a crash when visible control characters are turned on in
3278 mode.
* [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
* [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
to get rid of compiler warnings with newer versions of glibc (bugs:#12).
* [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
* [c3270, wc3270] Made the help for file-transfer reflect the current
defaults. Added help for Keymap.
* [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
of the console window correctly.
* [pr3287, wpr3287] Fixed a problem with printer session start-up when both
a specific printer LU and an SSL tunnel (L:) are specified.
* [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
The semantics are the same as the x3270 action of the same name.
* [all] Made the parameter to ResumeScript optional, and relaxed the
restrictions on when PauseScript can be used, so it can now be used from
macros and command files read with the Source action.
* [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
file transfer dialog.
* [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.
OBS-URL: https://build.opensuse.org/request/show/329516
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
|
|
|
%doc %{_docdir}/%{name}/pr3287/html
|
2007-01-16 00:41:45 +01:00
|
|
|
# s3270
|
2013-07-24 11:01:25 +02:00
|
|
|
%{_bindir}/s3270
|
2017-01-02 09:52:32 +01:00
|
|
|
%{_mandir}/man1/s3270.1%{ext_man}
|
Accepting request 329516 from home:scarabeus_iv:branches:Base:System
- Version bump to 3.4:
* Recreated tarball and build approach so adapt our system
* Fixed a number of warnings found by the MacOS C compiler, which turned out
to be real issues.
* [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
like Ascii and Ebcdic.
* [all] Fixed an NVT-mode emulation problem.
* [all] Fixed a synchronization issue with scripts and file transfers.
* [c3270, wc3270] Fixed a crash when the Transfer action was called from a
script.
* [x3270] Fixed a crash when visible control characters are turned on in
3278 mode.
* [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
* [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
to get rid of compiler warnings with newer versions of glibc (bugs:#12).
* [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
* [c3270, wc3270] Made the help for file-transfer reflect the current
defaults. Added help for Keymap.
* [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
of the console window correctly.
* [pr3287, wpr3287] Fixed a problem with printer session start-up when both
a specific printer LU and an SSL tunnel (L:) are specified.
* [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
The semantics are the same as the x3270 action of the same name.
* [all] Made the parameter to ResumeScript optional, and relaxed the
restrictions on when PauseScript can be used, so it can now be used from
macros and command files read with the Source action.
* [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
file transfer dialog.
* [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.
OBS-URL: https://build.opensuse.org/request/show/329516
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
|
|
|
%doc %{_docdir}/%{name}/s3270/Examples
|
|
|
|
%doc %{_docdir}/%{name}/s3270/html
|
2007-01-16 00:41:45 +01:00
|
|
|
# tcl3270
|
2013-07-24 11:01:25 +02:00
|
|
|
%{_bindir}/tcl3270
|
2017-01-02 09:52:32 +01:00
|
|
|
%{_mandir}/man1/tcl3270.1%{ext_man}
|
Accepting request 329516 from home:scarabeus_iv:branches:Base:System
- Version bump to 3.4:
* Recreated tarball and build approach so adapt our system
* Fixed a number of warnings found by the MacOS C compiler, which turned out
to be real issues.
* [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
like Ascii and Ebcdic.
* [all] Fixed an NVT-mode emulation problem.
* [all] Fixed a synchronization issue with scripts and file transfers.
* [c3270, wc3270] Fixed a crash when the Transfer action was called from a
script.
* [x3270] Fixed a crash when visible control characters are turned on in
3278 mode.
* [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
* [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
to get rid of compiler warnings with newer versions of glibc (bugs:#12).
* [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
* [c3270, wc3270] Made the help for file-transfer reflect the current
defaults. Added help for Keymap.
* [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
of the console window correctly.
* [pr3287, wpr3287] Fixed a problem with printer session start-up when both
a specific printer LU and an SSL tunnel (L:) are specified.
* [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
The semantics are the same as the x3270 action of the same name.
* [all] Made the parameter to ResumeScript optional, and relaxed the
restrictions on when PauseScript can be used, so it can now be used from
macros and command files read with the Source action.
* [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
file transfer dialog.
* [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.
OBS-URL: https://build.opensuse.org/request/show/329516
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
|
|
|
%doc %{_docdir}/%{name}/tcl3270/Examples
|
|
|
|
%doc %{_docdir}/%{name}/tcl3270/html
|
2007-01-16 00:41:45 +01:00
|
|
|
# x026
|
2013-07-24 11:01:25 +02:00
|
|
|
%{_bindir}/x026
|
2017-01-02 09:52:32 +01:00
|
|
|
%{_mandir}/man1/x026.1x%{ext_man}
|
2007-01-16 00:41:45 +01:00
|
|
|
|
2007-03-29 01:01:56 +02:00
|
|
|
%changelog
|