Commit 87b94e0677459d23e7ce3260f6687a58bd04c8d5
1 parent
2bbbd251
Exists in
master
and in
3 other branches
Updating package build and guide.
Showing
6 changed files
with
22 additions
and
24 deletions
Show diff stats
README.md
| @@ -8,12 +8,11 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | @@ -8,12 +8,11 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | ||
| 8 | Installation repositories | 8 | Installation repositories |
| 9 | ========================= | 9 | ========================= |
| 10 | 10 | ||
| 11 | -The latest version packaged for many linux distributions can be found in SuSE Build Service (https://build.opensuse.org/project/show/home:PerryWerneck:pw3270) | ||
| 12 | - | ||
| 13 | - | ||
| 14 | -Requirements | ||
| 15 | -============ | 11 | + You can find instalation repositories in SuSE Build Service: |
| 16 | 12 | ||
| 13 | + * Linux (Many distributions): https://build.opensuse.org/project/show/home:PerryWerneck:pw3270 | ||
| 14 | + * Windows 32 bits: https://build.opensuse.org/project/show/home:PerryWerneck:mingw32 | ||
| 15 | + * Windows 64 bits: https://build.opensuse.org/project/show/home:PerryWerneck:mingw64 | ||
| 17 | 16 | ||
| 18 | Building for Linux | 17 | Building for Linux |
| 19 | ================== | 18 | ================== |
| @@ -22,3 +21,4 @@ Building for Linux | @@ -22,3 +21,4 @@ Building for Linux | ||
| 22 | Cross-compiling for Windows | 21 | Cross-compiling for Windows |
| 23 | =========================== | 22 | =========================== |
| 24 | 23 | ||
| 24 | + |
rpm/lib3270.spec
| @@ -95,6 +95,9 @@ Requires: lib3270++%{_libvrs} = %{version} | @@ -95,6 +95,9 @@ Requires: lib3270++%{_libvrs} = %{version} | ||
| 95 | Provides: lib3270-devel = %{version} | 95 | Provides: lib3270-devel = %{version} |
| 96 | Conflicts: otherproviders(lib3270-devel) | 96 | Conflicts: otherproviders(lib3270-devel) |
| 97 | 97 | ||
| 98 | +Provides: lib3270_%{MAJOR_VERSION}_%{MINOR_VERSION}-devel | ||
| 99 | +Conflicts: otherproviders(lib3270_%{MAJOR_VERSION}_%{MINOR_VERSION}-devel) | ||
| 100 | + | ||
| 98 | %description devel | 101 | %description devel |
| 99 | 102 | ||
| 100 | TN3270 access library for C/C++ development files. | 103 | TN3270 access library for C/C++ development files. |
win/mingw32-lib3270.spec
| @@ -44,11 +44,8 @@ Url: https://portal.softwarepublico.gov.br/social/pw3270/ | @@ -44,11 +44,8 @@ Url: https://portal.softwarepublico.gov.br/social/pw3270/ | ||
| 44 | Group: Development/Libraries/C and C++ | 44 | Group: Development/Libraries/C and C++ |
| 45 | BuildRoot: /var/tmp/%{name}-%{version} | 45 | BuildRoot: /var/tmp/%{name}-%{version} |
| 46 | 46 | ||
| 47 | -Provides: mingw32-lib3270_%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 48 | -Conflicts: otherproviders(mingw32-lib3270_%{MAJOR_VERSION}_%{MINOR_VERSION}) | ||
| 49 | - | ||
| 50 | Provides: mingw32(lib:3270) = %{version} | 47 | Provides: mingw32(lib:3270) = %{version} |
| 51 | -Provides: mingw32(lib:3270_%{MAJOR_VERSION}_%{MINOR_VERSION}) = %{version} | 48 | +Provides: mingw32(lib:3270-%{_libvrs}) = %{version} |
| 52 | 49 | ||
| 53 | BuildRequires: autoconf | 50 | BuildRequires: autoconf |
| 54 | BuildRequires: automake | 51 | BuildRequires: automake |
win/mingw32-service.xml
| @@ -12,11 +12,11 @@ | @@ -12,11 +12,11 @@ | ||
| 12 | </service> | 12 | </service> |
| 13 | 13 | ||
| 14 | <!-- https://github.com/openSUSE/obs-service-extract_file --> | 14 | <!-- https://github.com/openSUSE/obs-service-extract_file --> |
| 15 | - <service name="extract_file"> | 15 | + <!-- service name="extract_file"> |
| 16 | <param name="archive">*.tar</param> | 16 | <param name="archive">*.tar</param> |
| 17 | <param name="files">*/win/mingw32-lib3270.spec</param> | 17 | <param name="files">*/win/mingw32-lib3270.spec</param> |
| 18 | <param name="outfilename">mingw32-lib3270-5_2.spec</param> | 18 | <param name="outfilename">mingw32-lib3270-5_2.spec</param> |
| 19 | - </service> | 19 | + </service --> |
| 20 | 20 | ||
| 21 | <service name="recompress"> | 21 | <service name="recompress"> |
| 22 | <param name="file">*.tar</param> | 22 | <param name="file">*.tar</param> |
win/mingw64-lib3270.spec
| 1 | # | 1 | # |
| 2 | -# spec file for package mingw32-lib3279 | 2 | +# spec file for package mingw64-lib3279 |
| 3 | # | 3 | # |
| 4 | # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. | 4 | # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. |
| 5 | # Copyright (C) <2008> <Banco do Brasil S.A.> | 5 | # Copyright (C) <2008> <Banco do Brasil S.A.> |
| @@ -31,24 +31,21 @@ | @@ -31,24 +31,21 @@ | ||
| 31 | 31 | ||
| 32 | #---[ Main package ]-------------------------------------------------------------------------------------------------- | 32 | #---[ Main package ]-------------------------------------------------------------------------------------------------- |
| 33 | 33 | ||
| 34 | -Summary: TN3270 Access library | 34 | +Summary: TN3270 Access library |
| 35 | Name: mingw64-lib3270-%{_libvrs} | 35 | Name: mingw64-lib3270-%{_libvrs} |
| 36 | Version: 5.2 | 36 | Version: 5.2 |
| 37 | Release: 0 | 37 | Release: 0 |
| 38 | License: GPL-2.0 | 38 | License: GPL-2.0 |
| 39 | 39 | ||
| 40 | -Source: %{name}-%{version}.tar.xz | 40 | +Source: %{name}-%{version}.tar.xz |
| 41 | 41 | ||
| 42 | -Url: https://portal.softwarepublico.gov.br/social/pw3270/ | 42 | +Url: https://portal.softwarepublico.gov.br/social/pw3270/ |
| 43 | 43 | ||
| 44 | -Group: Development/Libraries/C and C++ | ||
| 45 | -BuildRoot: /var/tmp/%{name}-%{version} | ||
| 46 | - | ||
| 47 | -Provides: mingw64-lib3270_%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 48 | -Conflicts: otherproviders(mingw64-lib3270_%{MAJOR_VERSION}_%{MINOR_VERSION}) | 44 | +Group: Development/Libraries/C and C++ |
| 45 | +BuildRoot: /var/tmp/%{name}-%{version} | ||
| 49 | 46 | ||
| 50 | -Provides: mingw64(lib:3270) = %{version} | ||
| 51 | -Provides: mingw64(lib:3270_%{MAJOR_VERSION}_%{MINOR_VERSION}) = %{version} | 47 | +Provides: mingw64(lib:3270) = %{version} |
| 48 | +Provides: mingw64(lib:3270-%{_libvrs}) = %{version} | ||
| 52 | 49 | ||
| 53 | BuildRequires: autoconf | 50 | BuildRequires: autoconf |
| 54 | BuildRequires: automake | 51 | BuildRequires: automake |
win/mingw64-service.xml
| @@ -12,11 +12,11 @@ | @@ -12,11 +12,11 @@ | ||
| 12 | </service> | 12 | </service> |
| 13 | 13 | ||
| 14 | <!-- https://github.com/openSUSE/obs-service-extract_file --> | 14 | <!-- https://github.com/openSUSE/obs-service-extract_file --> |
| 15 | - <service name="extract_file"> | 15 | + <!-- service name="extract_file"> |
| 16 | <param name="archive">*.tar</param> | 16 | <param name="archive">*.tar</param> |
| 17 | <param name="files">*/win/mingw64-lib3270.spec</param> | 17 | <param name="files">*/win/mingw64-lib3270.spec</param> |
| 18 | <param name="outfilename">mingw64-lib3270-5_2.spec</param> | 18 | <param name="outfilename">mingw64-lib3270-5_2.spec</param> |
| 19 | - </service> | 19 | + </service --> |
| 20 | 20 | ||
| 21 | <service name="recompress"> | 21 | <service name="recompress"> |
| 22 | <param name="file">*.tar</param> | 22 | <param name="file">*.tar</param> |
| @@ -26,3 +26,4 @@ | @@ -26,3 +26,4 @@ | ||
| 26 | <service name="set_version" /> | 26 | <service name="set_version" /> |
| 27 | 27 | ||
| 28 | </services> | 28 | </services> |
| 29 | + |