diff --git a/README.md b/README.md index f271fa6..27e251d 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,11 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ Installation repositories ========================= -The latest version packaged for many linux distributions can be found in SuSE Build Service (https://build.opensuse.org/project/show/home:PerryWerneck:pw3270) - - -Requirements -============ + You can find instalation repositories in SuSE Build Service: + * Linux (Many distributions): https://build.opensuse.org/project/show/home:PerryWerneck:pw3270 + * Windows 32 bits: https://build.opensuse.org/project/show/home:PerryWerneck:mingw32 + * Windows 64 bits: https://build.opensuse.org/project/show/home:PerryWerneck:mingw64 Building for Linux ================== @@ -22,3 +21,4 @@ Building for Linux Cross-compiling for Windows =========================== + diff --git a/rpm/lib3270.spec b/rpm/lib3270.spec index 5fc14b4..12e091f 100644 --- a/rpm/lib3270.spec +++ b/rpm/lib3270.spec @@ -95,6 +95,9 @@ Requires: lib3270++%{_libvrs} = %{version} Provides: lib3270-devel = %{version} Conflicts: otherproviders(lib3270-devel) +Provides: lib3270_%{MAJOR_VERSION}_%{MINOR_VERSION}-devel +Conflicts: otherproviders(lib3270_%{MAJOR_VERSION}_%{MINOR_VERSION}-devel) + %description devel TN3270 access library for C/C++ development files. diff --git a/win/mingw32-lib3270.spec b/win/mingw32-lib3270.spec index f47e90e..597748b 100644 --- a/win/mingw32-lib3270.spec +++ b/win/mingw32-lib3270.spec @@ -44,11 +44,8 @@ Url: https://portal.softwarepublico.gov.br/social/pw3270/ Group: Development/Libraries/C and C++ BuildRoot: /var/tmp/%{name}-%{version} -Provides: mingw32-lib3270_%{MAJOR_VERSION}_%{MINOR_VERSION} -Conflicts: otherproviders(mingw32-lib3270_%{MAJOR_VERSION}_%{MINOR_VERSION}) - Provides: mingw32(lib:3270) = %{version} -Provides: mingw32(lib:3270_%{MAJOR_VERSION}_%{MINOR_VERSION}) = %{version} +Provides: mingw32(lib:3270-%{_libvrs}) = %{version} BuildRequires: autoconf BuildRequires: automake diff --git a/win/mingw32-service.xml b/win/mingw32-service.xml index df4f1c8..ab7e390 100644 --- a/win/mingw32-service.xml +++ b/win/mingw32-service.xml @@ -12,11 +12,11 @@ - + *.tar diff --git a/win/mingw64-lib3270.spec b/win/mingw64-lib3270.spec index ab2ce10..95d1a5a 100644 --- a/win/mingw64-lib3270.spec +++ b/win/mingw64-lib3270.spec @@ -1,5 +1,5 @@ # -# spec file for package mingw32-lib3279 +# spec file for package mingw64-lib3279 # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (C) <2008> @@ -31,24 +31,21 @@ #---[ Main package ]-------------------------------------------------------------------------------------------------- -Summary: TN3270 Access library +Summary: TN3270 Access library Name: mingw64-lib3270-%{_libvrs} Version: 5.2 Release: 0 License: GPL-2.0 -Source: %{name}-%{version}.tar.xz +Source: %{name}-%{version}.tar.xz -Url: https://portal.softwarepublico.gov.br/social/pw3270/ +Url: https://portal.softwarepublico.gov.br/social/pw3270/ -Group: Development/Libraries/C and C++ -BuildRoot: /var/tmp/%{name}-%{version} - -Provides: mingw64-lib3270_%{MAJOR_VERSION}_%{MINOR_VERSION} -Conflicts: otherproviders(mingw64-lib3270_%{MAJOR_VERSION}_%{MINOR_VERSION}) +Group: Development/Libraries/C and C++ +BuildRoot: /var/tmp/%{name}-%{version} -Provides: mingw64(lib:3270) = %{version} -Provides: mingw64(lib:3270_%{MAJOR_VERSION}_%{MINOR_VERSION}) = %{version} +Provides: mingw64(lib:3270) = %{version} +Provides: mingw64(lib:3270-%{_libvrs}) = %{version} BuildRequires: autoconf BuildRequires: automake diff --git a/win/mingw64-service.xml b/win/mingw64-service.xml index 8781cc1..d486dbb 100644 --- a/win/mingw64-service.xml +++ b/win/mingw64-service.xml @@ -12,11 +12,11 @@ - + *.tar @@ -26,3 +26,4 @@ + -- libgit2 0.21.2