Commit 649883fcd1123d22284a80b7b24b1c27d374a111

Authored by Perry Werneck
1 parent 74dfd195

Updating windows packages.

win/x86_32/mingw32-lib3270.spec
1 # 1 #
2 -# spec file for package mingw32-lib3279 2 +# spec file for package mingw32-lib3270
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.>
@@ -16,11 +16,6 @@ @@ -16,11 +16,6 @@
16 # Please submit bugfixes or comments via http://bugs.opensuse.org/ 16 # Please submit bugfixes or comments via http://bugs.opensuse.org/
17 # 17 #
18 18
19 -%define MAJOR_VERSION 5  
20 -%define MINOR_VERSION 2  
21 -  
22 -%define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION}  
23 -  
24 %define __strip %{_mingw32_strip} 19 %define __strip %{_mingw32_strip}
25 %define __objdump %{_mingw32_objdump} 20 %define __objdump %{_mingw32_objdump}
26 %define _use_internal_dependency_generator 0 21 %define _use_internal_dependency_generator 0
@@ -32,10 +27,15 @@ @@ -32,10 +27,15 @@
32 #---[ Main package ]-------------------------------------------------------------------------------------------------- 27 #---[ Main package ]--------------------------------------------------------------------------------------------------
33 28
34 Summary: TN3270 Access library 29 Summary: TN3270 Access library
35 -Name: mingw32-lib3270-%{_libvrs}  
36 -Version: 5.2  
37 -Release: 0  
38 -License: GPL-2.0 30 +Name: mingw32-lib3270
  31 +Version: 5.2
  32 +
  33 +%define MAJOR_VERSION %(echo %{version} | cut -d. -f1)
  34 +%define MINOR_VERSION %(echo %{version} | cut -d. -f2)
  35 +%define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION}
  36 +
  37 +Release: 0
  38 +License: GPL-2.0
39 39
40 Source: lib3270-%{version}.tar.xz 40 Source: lib3270-%{version}.tar.xz
41 41
@@ -45,7 +45,6 @@ Group: Development/Libraries/C and C++ @@ -45,7 +45,6 @@ Group: Development/Libraries/C and C++
45 BuildRoot: /var/tmp/%{name}-%{version} 45 BuildRoot: /var/tmp/%{name}-%{version}
46 46
47 Provides: mingw32(lib:3270) = %{version} 47 Provides: mingw32(lib:3270) = %{version}
48 -Provides: mingw32(lib:3270-%{_libvrs}) = %{version}  
49 48
50 BuildRequires: autoconf 49 BuildRequires: autoconf
51 BuildRequires: automake 50 BuildRequires: automake
@@ -75,9 +74,6 @@ Summary: TN3270 Access library development files @@ -75,9 +74,6 @@ Summary: TN3270 Access library development files
75 Group: Development/Libraries/C and C++ 74 Group: Development/Libraries/C and C++
76 Requires: %{name} = %{version} 75 Requires: %{name} = %{version}
77 76
78 -Provides: mingw32-lib3270-devel = %{version}  
79 -Conflicts: otherproviders(mingw32-lib3270-devel)  
80 -  
81 %description devel 77 %description devel
82 78
83 TN3270 access library for C development files. 79 TN3270 access library for C development files.
@@ -93,8 +89,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ @@ -93,8 +89,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/
93 89
94 NOCONFIGURE=1 ./autogen.sh 90 NOCONFIGURE=1 ./autogen.sh
95 91
96 -%{_mingw32_configure} \  
97 - --with-sdk-version=%{version} 92 +%{_mingw32_configure}
98 93
99 %build 94 %build
100 make clean 95 make clean
win/x86_64/mingw64-lib3270.spec
@@ -16,11 +16,6 @@ @@ -16,11 +16,6 @@
16 # Please submit bugfixes or comments via http://bugs.opensuse.org/ 16 # Please submit bugfixes or comments via http://bugs.opensuse.org/
17 # 17 #
18 18
19 -%define MAJOR_VERSION 5  
20 -%define MINOR_VERSION 2  
21 -  
22 -%define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION}  
23 -  
24 %define __strip %{_mingw64_strip} 19 %define __strip %{_mingw64_strip}
25 %define __objdump %{_mingw64_objdump} 20 %define __objdump %{_mingw64_objdump}
26 %define _use_internal_dependency_generator 0 21 %define _use_internal_dependency_generator 0
@@ -32,8 +27,14 @@ @@ -32,8 +27,14 @@
32 #---[ Main package ]-------------------------------------------------------------------------------------------------- 27 #---[ Main package ]--------------------------------------------------------------------------------------------------
33 28
34 Summary: TN3270 Access library 29 Summary: TN3270 Access library
35 -Name: mingw64-lib3270-%{_libvrs} 30 +Name: mingw64-lib3270
36 Version: 5.2 31 Version: 5.2
  32 +
  33 +%define MAJOR_VERSION %(echo %{version} | cut -d. -f1)
  34 +%define MINOR_VERSION %(echo %{version} | cut -d. -f2)
  35 +%define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION}
  36 +
  37 +
37 Release: 0 38 Release: 0
38 License: GPL-2.0 39 License: GPL-2.0
39 40