python-tn3270.spec
996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Summary: Python bindings for lib3270/pw3270
Name: python-tn3270
Version: 5.2
Release: 0
License: GPL-2.0
Source: %{name}-%{version}.tar.xz
URL: https://github.com/PerryWerneck/python-tn3270
Group: Development/Libraries/Python
BuildRoot: /var/tmp/%{name}-%{version}
BuildRequires: autoconf >= 2.61
BuildRequires: automake
BuildRequires: binutils
BuildRequires: coreutils
BuildRequires: gcc-c++
BuildRequires: m4
BuildRequires: pkgconfig
BuildRequires: fdupes
BuildRequires: pkgconfig(ipc3270)
BuildRequires: python
BuildRequires: pkgconfig(python3)
Requires: python
%description
This is an extension allowing tn3270 acess for python applications
using lib3270 directly or ipc calls to an enabled pw3270 window.
%prep
%setup
NOCONFIGURE=1 \
./autogen.sh
%configure \
--with-python-sitelib=%{python3_sitelib}
%build
make clean
make Release
%install
%make_install
%fdupes %{buildroot}
%clean
%files
%defattr(-,root,root)
%{python3_sitelib}/tn3270.so
%changelog