Commit cc5209be5dba354d4dd7cf6f43a765a50a11208d
1 parent
2cf85aa5
Exists in
master
Incluindo SPEC para empacotamento.
Showing
1 changed file
with
83 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,83 @@ |
1 | +Summary: C-Sharp API for pw3270/lib3270 | |
2 | +Name: pw3270-plugin-rexx | |
3 | +Version: 5.1 | |
4 | +Release: 0 | |
5 | +License: GPL-2.0 | |
6 | +Source: %{name}-%{version}.tar.bz2 | |
7 | +URL: https://portal.softwarepublico.gov.br/social/pw3270/ | |
8 | +Group: Development/Languages/Rexx | |
9 | + | |
10 | +BuildRoot: /var/tmp/%{name}-%{version} | |
11 | + | |
12 | +BuildRequires: ooRexx-devel | |
13 | +BuildRequires: autoconf >= 2.61 | |
14 | +BuildRequires: automake | |
15 | +BuildRequires: binutils | |
16 | +BuildRequires: coreutils | |
17 | +BuildRequires: gcc-c++ | |
18 | +BuildRequires: m4 | |
19 | +BuildRequires: pkgconfig | |
20 | +BuildRequires: pw3270-devel >= 5.1 | |
21 | + | |
22 | +Requires: pw3270 >= 5.1 | |
23 | +Requires: ooRexx-extension-tn3270 = %{version} | |
24 | + | |
25 | +%description | |
26 | + | |
27 | +ooRexx API for tn3270 acesss using pw3270 ou lib3270. | |
28 | + | |
29 | +%package -n ooRexx-extension-tn3270 | |
30 | + | |
31 | +Summary: Rexx class for 3270 access using pw3270/tn3270 | |
32 | +Group: Development/Languages/Other | |
33 | +Requires: lib3270 >= 5.1 | |
34 | +Requires: ooRexx >= 4.1 | |
35 | + | |
36 | +%description -n ooRexx-extension-tn3270 | |
37 | + | |
38 | +This package provides Rexx class and associated libraries | |
39 | +allowing rexx scripts to access tn3270e hosts. | |
40 | + | |
41 | + | |
42 | +%prep | |
43 | + | |
44 | +%setup | |
45 | + | |
46 | +export CFLAGS="$RPM_OPT_FLAGS" | |
47 | +export CXXFLAGS="$RPM_OPT_FLAGS" | |
48 | +export FFLAGS="$RPM_OPT_FLAGS" | |
49 | + | |
50 | +aclocal | |
51 | +autoconf | |
52 | +%configure | |
53 | + | |
54 | +# No dev packet | |
55 | +rm -f $RPM_BUILD_ROOT/%{_libdir}/librx3270.so | |
56 | + | |
57 | +%build | |
58 | +make clean | |
59 | +make Release | |
60 | + | |
61 | +%install | |
62 | +rm -rf $RPM_BUILD_ROOT | |
63 | + | |
64 | +%makeinstall | |
65 | + | |
66 | +%fdupes $RPM_BUILD_ROOT | |
67 | + | |
68 | +%clean | |
69 | +rm -rf $RPM_BUILD_ROOT | |
70 | + | |
71 | +%files | |
72 | +%defattr(-,root,root) | |
73 | +%{_libdir}/pw3270-plugins/prx3270.so | |
74 | +%{_datadir}/pw3270/ui/80rexx.xml | |
75 | + | |
76 | +%files -n ooRexx-extension-tn3270 | |
77 | +%{_libdir}/librx3270.* | |
78 | +%{_datadir}/ooRexx/rx3270.cls | |
79 | + | |
80 | + | |
81 | +%changelog | |
82 | + | |
83 | + | ... | ... |