Commit b0b00222b9fe55937cfdcefc4f4ebc8ce90e01dc
1 parent
3706656d
Exists in
master
and in
3 other branches
Fixing windows 64 package.
Showing
2 changed files
with
135 additions
and
135 deletions
Show diff stats
win/mingw64-lib3270-5_2.spec
... | ... | @@ -1,135 +0,0 @@ |
1 | -# | |
2 | -# spec file for package mingw32-lib3279 | |
3 | -# | |
4 | -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. | |
5 | -# Copyright (C) <2008> <Banco do Brasil S.A.> | |
6 | -# | |
7 | -# All modifications and additions to the file contributed by third parties | |
8 | -# remain the property of their copyright owners, unless otherwise agreed | |
9 | -# upon. The license for this file, and modifications and additions to the | |
10 | -# file, is the same license as for the pristine package itself (unless the | |
11 | -# license for the pristine package is not an Open Source License, in which | |
12 | -# case the license is the MIT License). An "Open Source License" is a | |
13 | -# license that conforms to the Open Source Definition (Version 1.9) | |
14 | -# published by the Open Source Initiative. | |
15 | - | |
16 | -# Please submit bugfixes or comments via http://bugs.opensuse.org/ | |
17 | -# | |
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} | |
25 | -%define __objdump %{_mingw64_objdump} | |
26 | -%define _use_internal_dependency_generator 0 | |
27 | -%define __find_requires %{_mingw64_findrequires} | |
28 | -%define __find_provides %{_mingw64_findprovides} | |
29 | -%define __os_install_post %{_mingw64_debug_install_post} \ | |
30 | - %{_mingw64_install_post} | |
31 | - | |
32 | -#---[ Main package ]-------------------------------------------------------------------------------------------------- | |
33 | - | |
34 | -Summary: TN3270 Access library | |
35 | -Name: mingw64-lib3270-%{_libvrs} | |
36 | -Version: 5.2 | |
37 | -Release: 0 | |
38 | -License: GPL-2.0 | |
39 | - | |
40 | -Source: %{name}-%{version}.tar.xz | |
41 | - | |
42 | -Url: https://portal.softwarepublico.gov.br/social/pw3270/ | |
43 | - | |
44 | -Group: Development/Libraries/C and C++ | |
45 | -BuildRoot: /var/tmp/%{name}-%{version} | |
46 | - | |
47 | -Provides: mingw32-lib3270_%{MAJOR_VERSION}_%{MINOR_VERSION} | |
48 | -Conflicts: otherproviders(mingw32-lib3270_%{MAJOR_VERSION}_%{MINOR_VERSION}) | |
49 | - | |
50 | -Provides: mingw64(lib:3270) = %{version} | |
51 | -Provides: mingw64(lib:3270_%{MAJOR_VERSION}_%{MINOR_VERSION}) = %{version} | |
52 | - | |
53 | -BuildRequires: autoconf | |
54 | -BuildRequires: automake | |
55 | -BuildRequires: gettext-tools | |
56 | - | |
57 | -BuildRequires: mingw64-cross-binutils | |
58 | -BuildRequires: mingw64-cross-gcc | |
59 | -BuildRequires: mingw64-cross-gcc-c++ | |
60 | -BuildRequires: mingw64-cross-pkg-config | |
61 | -BuildRequires: mingw64-filesystem | |
62 | -BuildRequires: mingw64-libopenssl-devel | |
63 | -BuildRequires: mingw64-zlib-devel | |
64 | - | |
65 | -#BuildRequires: mingw64(pkg:gtk+-win32-3.0) | |
66 | - | |
67 | -%description | |
68 | - | |
69 | -TN3270 access library originally designed as part of the pw3270 application. | |
70 | - | |
71 | -See more details at https://softwarepublico.gov.br/social/pw3270/ | |
72 | - | |
73 | -#---[ Development ]--------------------------------------------------------------------------------------------------- | |
74 | - | |
75 | -%package devel | |
76 | - | |
77 | -Summary: TN3270 Access library development files | |
78 | -Group: Development/Libraries/C and C++ | |
79 | -Requires: %{name} = %{version} | |
80 | - | |
81 | -Provides: lib3270-devel = %{version} | |
82 | -Conflicts: otherproviders(lib3270-devel) | |
83 | - | |
84 | -%description devel | |
85 | - | |
86 | -TN3270 access library for C development files. | |
87 | - | |
88 | -Originally designed as part of the pw3270 application. | |
89 | - | |
90 | -See more details at https://softwarepublico.gov.br/social/pw3270/ | |
91 | - | |
92 | -#---[ Build & Install ]----------------------------------------------------------------------------------------------- | |
93 | - | |
94 | -%prep | |
95 | -%setup | |
96 | - | |
97 | -NOCONFIGURE=1 ./autogen.sh | |
98 | - | |
99 | -%{_mingw64_configure} \ | |
100 | - --with-sdk-version=%{version} | |
101 | - | |
102 | -%build | |
103 | -make clean | |
104 | -make all | |
105 | - | |
106 | -%{_mingw64_strip} \ | |
107 | - --strip-all \ | |
108 | - .bin/lib3270/Release/*.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | |
109 | - | |
110 | -%install | |
111 | -%{_mingw64_makeinstall} | |
112 | - | |
113 | -%clean | |
114 | -rm -rf %{buildroot} | |
115 | - | |
116 | -#---[ Files ]--------------------------------------------------------------------------------------------------------- | |
117 | - | |
118 | -%files | |
119 | -%defattr(-,root,root) | |
120 | -%doc AUTHORS LICENSE README.md | |
121 | - | |
122 | -%{_mingw64_libdir}/lib3270.dll | |
123 | -%{_mingw64_libdir}/lib3270.dll.%{MAJOR_VERSION} | |
124 | -%{_mingw64_libdir}/lib3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | |
125 | - | |
126 | -%files devel | |
127 | -%defattr(-,root,root) | |
128 | -%{_mingw64_includedir}/lib3270 | |
129 | -%{_mingw64_includedir}/lib3270.h | |
130 | -%{_mingw64_libdir}/pkgconfig/lib3270.pc | |
131 | - | |
132 | -%{_mingw64_libdir}/lib3270.a | |
133 | - | |
134 | -%changelog | |
135 | - |
... | ... | @@ -0,0 +1,135 @@ |
1 | +# | |
2 | +# spec file for package mingw32-lib3279 | |
3 | +# | |
4 | +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. | |
5 | +# Copyright (C) <2008> <Banco do Brasil S.A.> | |
6 | +# | |
7 | +# All modifications and additions to the file contributed by third parties | |
8 | +# remain the property of their copyright owners, unless otherwise agreed | |
9 | +# upon. The license for this file, and modifications and additions to the | |
10 | +# file, is the same license as for the pristine package itself (unless the | |
11 | +# license for the pristine package is not an Open Source License, in which | |
12 | +# case the license is the MIT License). An "Open Source License" is a | |
13 | +# license that conforms to the Open Source Definition (Version 1.9) | |
14 | +# published by the Open Source Initiative. | |
15 | + | |
16 | +# Please submit bugfixes or comments via http://bugs.opensuse.org/ | |
17 | +# | |
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} | |
25 | +%define __objdump %{_mingw64_objdump} | |
26 | +%define _use_internal_dependency_generator 0 | |
27 | +%define __find_requires %{_mingw64_findrequires} | |
28 | +%define __find_provides %{_mingw64_findprovides} | |
29 | +%define __os_install_post %{_mingw64_debug_install_post} \ | |
30 | + %{_mingw64_install_post} | |
31 | + | |
32 | +#---[ Main package ]-------------------------------------------------------------------------------------------------- | |
33 | + | |
34 | +Summary: TN3270 Access library | |
35 | +Name: mingw64-lib3270-%{_libvrs} | |
36 | +Version: 5.2 | |
37 | +Release: 0 | |
38 | +License: GPL-2.0 | |
39 | + | |
40 | +Source: %{name}-%{version}.tar.xz | |
41 | + | |
42 | +Url: https://portal.softwarepublico.gov.br/social/pw3270/ | |
43 | + | |
44 | +Group: Development/Libraries/C and C++ | |
45 | +BuildRoot: /var/tmp/%{name}-%{version} | |
46 | + | |
47 | +Provides: mingw32-lib3270_%{MAJOR_VERSION}_%{MINOR_VERSION} | |
48 | +Conflicts: otherproviders(mingw32-lib3270_%{MAJOR_VERSION}_%{MINOR_VERSION}) | |
49 | + | |
50 | +Provides: mingw64(lib:3270) = %{version} | |
51 | +Provides: mingw64(lib:3270_%{MAJOR_VERSION}_%{MINOR_VERSION}) = %{version} | |
52 | + | |
53 | +BuildRequires: autoconf | |
54 | +BuildRequires: automake | |
55 | +BuildRequires: gettext-tools | |
56 | + | |
57 | +BuildRequires: mingw64-cross-binutils | |
58 | +BuildRequires: mingw64-cross-gcc | |
59 | +BuildRequires: mingw64-cross-gcc-c++ | |
60 | +BuildRequires: mingw64-cross-pkg-config | |
61 | +BuildRequires: mingw64-filesystem | |
62 | +BuildRequires: mingw64-libopenssl-devel | |
63 | +BuildRequires: mingw64-zlib-devel | |
64 | + | |
65 | +#BuildRequires: mingw64(pkg:gtk+-win32-3.0) | |
66 | + | |
67 | +%description | |
68 | + | |
69 | +TN3270 access library originally designed as part of the pw3270 application. | |
70 | + | |
71 | +See more details at https://softwarepublico.gov.br/social/pw3270/ | |
72 | + | |
73 | +#---[ Development ]--------------------------------------------------------------------------------------------------- | |
74 | + | |
75 | +%package devel | |
76 | + | |
77 | +Summary: TN3270 Access library development files | |
78 | +Group: Development/Libraries/C and C++ | |
79 | +Requires: %{name} = %{version} | |
80 | + | |
81 | +Provides: lib3270-devel = %{version} | |
82 | +Conflicts: otherproviders(lib3270-devel) | |
83 | + | |
84 | +%description devel | |
85 | + | |
86 | +TN3270 access library for C development files. | |
87 | + | |
88 | +Originally designed as part of the pw3270 application. | |
89 | + | |
90 | +See more details at https://softwarepublico.gov.br/social/pw3270/ | |
91 | + | |
92 | +#---[ Build & Install ]----------------------------------------------------------------------------------------------- | |
93 | + | |
94 | +%prep | |
95 | +%setup | |
96 | + | |
97 | +NOCONFIGURE=1 ./autogen.sh | |
98 | + | |
99 | +%{_mingw64_configure} \ | |
100 | + --with-sdk-version=%{version} | |
101 | + | |
102 | +%build | |
103 | +make clean | |
104 | +make all | |
105 | + | |
106 | +%{_mingw64_strip} \ | |
107 | + --strip-all \ | |
108 | + .bin/lib3270/Release/*.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | |
109 | + | |
110 | +%install | |
111 | +%{_mingw64_makeinstall} | |
112 | + | |
113 | +%clean | |
114 | +rm -rf %{buildroot} | |
115 | + | |
116 | +#---[ Files ]--------------------------------------------------------------------------------------------------------- | |
117 | + | |
118 | +%files | |
119 | +%defattr(-,root,root) | |
120 | +%doc AUTHORS LICENSE README.md | |
121 | + | |
122 | +%{_mingw64_libdir}/lib3270.dll | |
123 | +%{_mingw64_libdir}/lib3270.dll.%{MAJOR_VERSION} | |
124 | +%{_mingw64_libdir}/lib3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | |
125 | + | |
126 | +%files devel | |
127 | +%defattr(-,root,root) | |
128 | +%{_mingw64_includedir}/lib3270 | |
129 | +%{_mingw64_includedir}/lib3270.h | |
130 | +%{_mingw64_libdir}/pkgconfig/lib3270.pc | |
131 | + | |
132 | +%{_mingw64_libdir}/lib3270.a | |
133 | + | |
134 | +%changelog | |
135 | + | ... | ... |