Commit aa3026c773fc0c0f7cc5ecbaf0224d9fec93380a
1 parent
a57b456c
Exists in
master
and in
5 other branches
Updating readme and package.
Showing
2 changed files
with
23 additions
and
3 deletions
Show diff stats
README.md
... | ... | @@ -24,6 +24,25 @@ Building for Linux |
24 | 24 | ================== |
25 | 25 | |
26 | 26 | |
27 | + | |
27 | 28 | Cross-compiling for Windows |
28 | 29 | =========================== |
29 | 30 | |
31 | +1. First install the MinGW Repositories to your SuSE version from: | |
32 | + | |
33 | + * 32 bits: https://build.opensuse.org/project/show/windows:mingw:win32 | |
34 | + * 64 bits: https://build.opensuse.org/project/show/windows:mingw:win64 | |
35 | + | |
36 | +2. Get pw3270 sources from git | |
37 | + | |
38 | + * git clone http://softwarepublico.gov.br/gitlab/pw3270/principal.git ./pw3270 | |
39 | + | |
40 | +3. Install cross compilers | |
41 | + | |
42 | + * ./pw3270/win/install-cross.sh --all | |
43 | + | |
44 | +4. Build pw3270 windows installers | |
45 | + | |
46 | + * cd pw3270/ && ./win/pack.sh | |
47 | + | |
48 | + | ... | ... |
rpm/pw3270.spec
... | ... | @@ -345,7 +345,6 @@ rm %{buildroot}/%{_datadir}/pw3270/ui/*rexx*.xml |
345 | 345 | %{_libdir}/pkgconfig/lib3270.pc |
346 | 346 | %{_libdir}/lib3270.so |
347 | 347 | %{_libdir}/lib3270.a |
348 | -%{_datadir}/pw3270/locale | |
349 | 348 | |
350 | 349 | %{_libdir}/lib3270++.a |
351 | 350 | %{_libdir}/lib3270++.so |
... | ... | @@ -355,18 +354,20 @@ rm %{buildroot}/%{_datadir}/pw3270/ui/*rexx*.xml |
355 | 354 | %files devel |
356 | 355 | %defattr(-,root,root) |
357 | 356 | |
357 | +%{_datadir}/pw3270/locale | |
358 | + | |
358 | 359 | %{_includedir}/pw3270.h |
359 | 360 | %{_includedir}/v3270.h |
360 | 361 | |
361 | 362 | %{_includedir}/pw3270 |
362 | -%{_includedir}/libv3270 | |
363 | +%{_includedir}/v3270 | |
363 | 364 | |
364 | 365 | %{_libdir}/libv3270.a |
365 | 366 | %{_libdir}/libv3270.so |
366 | 367 | %{_libdir}/libpw3270.so |
367 | 368 | |
368 | 369 | %{_libdir}/pkgconfig/pw3270.pc |
369 | -%{_libdir}/pkgconfig/libv3270.pc | |
370 | +%{_libdir}/pkgconfig/v3270.pc | |
370 | 371 | |
371 | 372 | %{_datadir}/pw3270/ui/98trace.xml |
372 | 373 | %{_datadir}/pw3270/ui/99debug.xml | ... | ... |