Commit f7ba0208910dff77a4304d915ea994253ca4fcad
1 parent
e733664f
Exists in
master
and in
1 other branch
Updating windows packages.
Showing
6 changed files
with
361 additions
and
360 deletions
Show diff stats
win/mingw32/_service
... | ... | @@ -5,7 +5,7 @@ |
5 | 5 | <param name="changesgenerate">enable</param> |
6 | 6 | <param name="sslverify">disable</param> |
7 | 7 | <param name="versionformat">@PARENT_TAG@</param> |
8 | - <param name="url">http://softwarepublico.gov.br/gitlab/pw3270/libv3270.git</param> | |
8 | + <param name="url">https://github.com/PerryWerneck/libv3270.git</param> | |
9 | 9 | <param name="scm">git</param> |
10 | 10 | </service> |
11 | 11 | |
... | ... | @@ -13,7 +13,7 @@ |
13 | 13 | <!-- service name="extract_file"> |
14 | 14 | <param name="archive">*.tar</param> |
15 | 15 | <param name="files">*/win/mingw32/libv3270.spec</param> |
16 | - <param name="outfilename">mingw32-libv3270-5_2.spec</param> | |
16 | + <param name="outfilename">mingw32-libv3270.spec</param> | |
17 | 17 | </service --> |
18 | 18 | |
19 | 19 | <service name="recompress"> | ... | ... |
win/mingw32/libv3270.spec
... | ... | @@ -1,180 +0,0 @@ |
1 | -# | |
2 | -# spec file for package mingw32-libv3270 | |
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 %{_mingw32_strip} | |
25 | -%define __objdump %{_mingw32_objdump} | |
26 | -%define _use_internal_dependency_generator 0 | |
27 | -%define __find_requires %{_mingw32_findrequires} | |
28 | -%define __find_provides %{_mingw32_findprovides} | |
29 | -%define __os_install_post %{_mingw32_debug_install_post} \ | |
30 | - %{_mingw32_install_post} | |
31 | - | |
32 | -#---[ Main package ]-------------------------------------------------------------------------------------------------- | |
33 | - | |
34 | -Summary: 3270 Virtual Terminal for GTK | |
35 | -Name: mingw32-libv3270-%{_libvrs} | |
36 | -Version: 5.2 | |
37 | -Release: 0 | |
38 | -License: GPL-2.0 | |
39 | - | |
40 | -Source: libv3270-%{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-libv3270 | |
48 | -Conflicts: otherproviders(mingw32-libv3270) | |
49 | - | |
50 | -Provides: mingw32(lib:v3270) | |
51 | -Provides: mingw32(lib:v3270-%{_libvrs}) | |
52 | - | |
53 | -BuildRequires: autoconf | |
54 | -BuildRequires: automake | |
55 | -BuildRequires: gettext-tools | |
56 | -BuildRequires: pkgconfig(glib-2.0) | |
57 | - | |
58 | -BuildRequires: mingw32-cross-binutils | |
59 | -BuildRequires: mingw32-cross-gcc | |
60 | -BuildRequires: mingw32-cross-gcc-c++ | |
61 | -BuildRequires: mingw32-cross-pkg-config | |
62 | -BuildRequires: mingw32-filesystem | |
63 | -BuildRequires: mingw32-libopenssl-devel | |
64 | -BuildRequires: mingw32-zlib-devel | |
65 | - | |
66 | -BuildRequires: mingw32(pkg:gtk+-win32-3.0) | |
67 | -BuildRequires: mingw32(lib:iconv) | |
68 | -BuildRequires: mingw32(lib:intl) | |
69 | - | |
70 | -BuildRequires: mingw32-lib3270-%{_libvrs}-devel | |
71 | - | |
72 | -%description | |
73 | - | |
74 | -TN3270 GTK Virtual terminal Widget originally designed as part of the pw3270 application. | |
75 | - | |
76 | -See more details at https://softwarepublico.gov.br/social/pw3270/ | |
77 | - | |
78 | -#---[ Development ]--------------------------------------------------------------------------------------------------- | |
79 | - | |
80 | -%package devel | |
81 | - | |
82 | -Summary: 3270 Virtual Terminal for GTK development files | |
83 | -Group: Development/Libraries/C and C++ | |
84 | - | |
85 | -Requires: %{name} = %{version} | |
86 | -Requires: mingw32-lib3270-%{_libvrs}-devel | |
87 | - | |
88 | -Provides: mingw32-libv3270-devel = %{version} | |
89 | -Conflicts: otherproviders(mingw32-libv3270-devel) | |
90 | - | |
91 | -%description devel | |
92 | - | |
93 | -3270 Virtual Terminal for GTK development files. | |
94 | - | |
95 | -Originally designed as part of the pw3270 application. | |
96 | - | |
97 | -See more details at https://softwarepublico.gov.br/social/pw3270/ | |
98 | - | |
99 | -%package -n mingw32-glade-catalog-v3270 | |
100 | - | |
101 | -Summary: Glade catalog for the TN3270 terminal emulator library | |
102 | -Group: Development/Libraries/C and C++ | |
103 | - | |
104 | -Requires: libv3270-devel = %{version} | |
105 | -Requires: glade | |
106 | - | |
107 | -%description -n mingw32-glade-catalog-v3270 | |
108 | - | |
109 | -3270 Virtual Terminal for GTK development files. | |
110 | - | |
111 | -Originally designed as part of the pw3270 application. | |
112 | - | |
113 | -This package provides a catalog for Glade, to allow the use of V3270 | |
114 | -widgets in Glade. | |
115 | - | |
116 | -See more details at https://softwarepublico.gov.br/social/pw3270/ | |
117 | - | |
118 | - | |
119 | -#---[ Build & Install ]----------------------------------------------------------------------------------------------- | |
120 | - | |
121 | -%prep | |
122 | -%setup -n libv3270-%{version} | |
123 | - | |
124 | -NOCONFIGURE=1 ./autogen.sh | |
125 | - | |
126 | -%{_mingw32_configure} \ | |
127 | - --with-sdk-version=%{version} | |
128 | - | |
129 | -%build | |
130 | -make clean | |
131 | -make all | |
132 | - | |
133 | -%{_mingw32_strip} \ | |
134 | - --strip-all \ | |
135 | - .bin/Release/*.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | |
136 | - | |
137 | -%install | |
138 | -%{_mingw32_makeinstall} | |
139 | - | |
140 | -%clean | |
141 | -rm -rf %{buildroot} | |
142 | - | |
143 | -#---[ Files ]--------------------------------------------------------------------------------------------------------- | |
144 | - | |
145 | -%files | |
146 | -%defattr(-,root,root) | |
147 | -%doc AUTHORS LICENSE README.md | |
148 | - | |
149 | -%{_mingw32_libdir}/libv3270.dll | |
150 | -%{_mingw32_libdir}/libv3270.dll.%{MAJOR_VERSION} | |
151 | -%{_mingw32_libdir}/libv3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | |
152 | - | |
153 | -%files devel | |
154 | -%defattr(-,root,root) | |
155 | -%{_mingw32_includedir}/v3270 | |
156 | -%{_mingw32_includedir}/v3270.h | |
157 | - | |
158 | -%{_mingw32_libdir}/pkgconfig/*.pc | |
159 | -%{_mingw32_libdir}/*.a | |
160 | - | |
161 | -%{_mingw32_datadir}/pw3270/pot/*.pot | |
162 | - | |
163 | -%files -n mingw32-glade-catalog-v3270 | |
164 | -%defattr(-,root,root) | |
165 | - | |
166 | -%dir %{_mingw32_datadir}/glade | |
167 | -%dir %{_mingw32_datadir}/glade/catalogs | |
168 | -%{_mingw32_datadir}/glade/catalogs/v3270.xml | |
169 | - | |
170 | -%dir %{_mingw32_datadir}/glade/pixmaps | |
171 | -%dir %{_mingw32_datadir}/glade/pixmaps/hicolor | |
172 | -%dir %{_mingw32_datadir}/glade/pixmaps/hicolor/16x16 | |
173 | -%dir %{_mingw32_datadir}/glade/pixmaps/hicolor/22x22 | |
174 | -%dir %{_mingw32_datadir}/glade/pixmaps/hicolor/16x16/actions | |
175 | -%dir %{_mingw32_datadir}/glade/pixmaps/hicolor/22x22/actions | |
176 | -%{_mingw32_datadir}/glade/pixmaps/hicolor/16x16/actions/widget-v3270-terminal.png | |
177 | -%{_mingw32_datadir}/glade/pixmaps/hicolor/22x22/actions/widget-v3270-terminal.png | |
178 | - | |
179 | -%changelog | |
180 | - |
... | ... | @@ -0,0 +1,180 @@ |
1 | +# | |
2 | +# spec file for package mingw32-libv3270 | |
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 %{_mingw32_strip} | |
25 | +%define __objdump %{_mingw32_objdump} | |
26 | +%define _use_internal_dependency_generator 0 | |
27 | +%define __find_requires %{_mingw32_findrequires} | |
28 | +%define __find_provides %{_mingw32_findprovides} | |
29 | +%define __os_install_post %{_mingw32_debug_install_post} \ | |
30 | + %{_mingw32_install_post} | |
31 | + | |
32 | +#---[ Main package ]-------------------------------------------------------------------------------------------------- | |
33 | + | |
34 | +Summary: 3270 Virtual Terminal for GTK | |
35 | +Name: mingw32-libv3270-%{_libvrs} | |
36 | +Version: 5.2 | |
37 | +Release: 0 | |
38 | +License: GPL-2.0 | |
39 | + | |
40 | +Source: libv3270-%{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-libv3270 | |
48 | +Conflicts: otherproviders(mingw32-libv3270) | |
49 | + | |
50 | +Provides: mingw32(lib:v3270) | |
51 | +Provides: mingw32(lib:v3270-%{_libvrs}) | |
52 | + | |
53 | +BuildRequires: autoconf | |
54 | +BuildRequires: automake | |
55 | +BuildRequires: gettext-tools | |
56 | +BuildRequires: pkgconfig(glib-2.0) | |
57 | + | |
58 | +BuildRequires: mingw32-cross-binutils | |
59 | +BuildRequires: mingw32-cross-gcc | |
60 | +BuildRequires: mingw32-cross-gcc-c++ | |
61 | +BuildRequires: mingw32-cross-pkg-config | |
62 | +BuildRequires: mingw32-filesystem | |
63 | +BuildRequires: mingw32-libopenssl-devel | |
64 | +BuildRequires: mingw32-zlib-devel | |
65 | + | |
66 | +BuildRequires: mingw32(pkg:gtk+-win32-3.0) | |
67 | +BuildRequires: mingw32(lib:iconv) | |
68 | +BuildRequires: mingw32(lib:intl) | |
69 | + | |
70 | +BuildRequires: mingw32-lib3270-devel = %{MAJOR_VERSION}.%{MINOR_VERSION} | |
71 | + | |
72 | +%description | |
73 | + | |
74 | +TN3270 GTK Virtual terminal Widget originally designed as part of the pw3270 application. | |
75 | + | |
76 | +See more details at https://softwarepublico.gov.br/social/pw3270/ | |
77 | + | |
78 | +#---[ Development ]--------------------------------------------------------------------------------------------------- | |
79 | + | |
80 | +%package devel | |
81 | + | |
82 | +Summary: 3270 Virtual Terminal for GTK development files | |
83 | +Group: Development/Libraries/C and C++ | |
84 | + | |
85 | +Requires: %{name} = %{version} | |
86 | +Requires: mingw32-lib3270-%{_libvrs}-devel | |
87 | + | |
88 | +Provides: mingw32-libv3270-devel = %{version} | |
89 | +Conflicts: otherproviders(mingw32-libv3270-devel) | |
90 | + | |
91 | +%description devel | |
92 | + | |
93 | +3270 Virtual Terminal for GTK development files. | |
94 | + | |
95 | +Originally designed as part of the pw3270 application. | |
96 | + | |
97 | +See more details at https://softwarepublico.gov.br/social/pw3270/ | |
98 | + | |
99 | +%package -n mingw32-glade-catalog-v3270 | |
100 | + | |
101 | +Summary: Glade catalog for the TN3270 terminal emulator library | |
102 | +Group: Development/Libraries/C and C++ | |
103 | + | |
104 | +Requires: libv3270-devel = %{version} | |
105 | +Requires: glade | |
106 | + | |
107 | +%description -n mingw32-glade-catalog-v3270 | |
108 | + | |
109 | +3270 Virtual Terminal for GTK development files. | |
110 | + | |
111 | +Originally designed as part of the pw3270 application. | |
112 | + | |
113 | +This package provides a catalog for Glade, to allow the use of V3270 | |
114 | +widgets in Glade. | |
115 | + | |
116 | +See more details at https://softwarepublico.gov.br/social/pw3270/ | |
117 | + | |
118 | + | |
119 | +#---[ Build & Install ]----------------------------------------------------------------------------------------------- | |
120 | + | |
121 | +%prep | |
122 | +%setup -n libv3270-%{version} | |
123 | + | |
124 | +NOCONFIGURE=1 ./autogen.sh | |
125 | + | |
126 | +%{_mingw32_configure} \ | |
127 | + --with-sdk-version=%{version} | |
128 | + | |
129 | +%build | |
130 | +make clean | |
131 | +make all | |
132 | + | |
133 | +%{_mingw32_strip} \ | |
134 | + --strip-all \ | |
135 | + .bin/Release/*.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | |
136 | + | |
137 | +%install | |
138 | +%{_mingw32_makeinstall} | |
139 | + | |
140 | +%clean | |
141 | +rm -rf %{buildroot} | |
142 | + | |
143 | +#---[ Files ]--------------------------------------------------------------------------------------------------------- | |
144 | + | |
145 | +%files | |
146 | +%defattr(-,root,root) | |
147 | +%doc AUTHORS LICENSE README.md | |
148 | + | |
149 | +%{_mingw32_libdir}/libv3270.dll | |
150 | +%{_mingw32_libdir}/libv3270.dll.%{MAJOR_VERSION} | |
151 | +%{_mingw32_libdir}/libv3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | |
152 | + | |
153 | +%files devel | |
154 | +%defattr(-,root,root) | |
155 | +%{_mingw32_includedir}/v3270 | |
156 | +%{_mingw32_includedir}/v3270.h | |
157 | + | |
158 | +%{_mingw32_libdir}/pkgconfig/*.pc | |
159 | +%{_mingw32_libdir}/*.a | |
160 | + | |
161 | +%{_mingw32_datadir}/pw3270/pot/*.pot | |
162 | + | |
163 | +%files -n mingw32-glade-catalog-v3270 | |
164 | +%defattr(-,root,root) | |
165 | + | |
166 | +%dir %{_mingw32_datadir}/glade | |
167 | +%dir %{_mingw32_datadir}/glade/catalogs | |
168 | +%{_mingw32_datadir}/glade/catalogs/v3270.xml | |
169 | + | |
170 | +%dir %{_mingw32_datadir}/glade/pixmaps | |
171 | +%dir %{_mingw32_datadir}/glade/pixmaps/hicolor | |
172 | +%dir %{_mingw32_datadir}/glade/pixmaps/hicolor/16x16 | |
173 | +%dir %{_mingw32_datadir}/glade/pixmaps/hicolor/22x22 | |
174 | +%dir %{_mingw32_datadir}/glade/pixmaps/hicolor/16x16/actions | |
175 | +%dir %{_mingw32_datadir}/glade/pixmaps/hicolor/22x22/actions | |
176 | +%{_mingw32_datadir}/glade/pixmaps/hicolor/16x16/actions/widget-v3270-terminal.png | |
177 | +%{_mingw32_datadir}/glade/pixmaps/hicolor/22x22/actions/widget-v3270-terminal.png | |
178 | + | |
179 | +%changelog | |
180 | + | ... | ... |
win/mingw64/_service
... | ... | @@ -5,7 +5,7 @@ |
5 | 5 | <param name="changesgenerate">enable</param> |
6 | 6 | <param name="sslverify">disable</param> |
7 | 7 | <param name="versionformat">@PARENT_TAG@</param> |
8 | - <param name="url">http://softwarepublico.gov.br/gitlab/pw3270/libv3270.git</param> | |
8 | + <param name="url">https://github.com/PerryWerneck/libv3270.git</param> | |
9 | 9 | <param name="scm">git</param> |
10 | 10 | </service> |
11 | 11 | |
... | ... | @@ -13,7 +13,7 @@ |
13 | 13 | <!-- service name="extract_file"> |
14 | 14 | <param name="archive">*.tar</param> |
15 | 15 | <param name="files">*/win/mingw64/libv3270.spec</param> |
16 | - <param name="outfilename">mingw64-libv3270-5_2.spec</param> | |
16 | + <param name="outfilename">mingw64-libv3270.spec</param> | |
17 | 17 | </service --> |
18 | 18 | |
19 | 19 | <service name="recompress"> |
... | ... | @@ -24,3 +24,4 @@ |
24 | 24 | <service name="set_version" /> |
25 | 25 | |
26 | 26 | </services> |
27 | + | ... | ... |
win/mingw64/libv3270.spec
... | ... | @@ -1,176 +0,0 @@ |
1 | -# | |
2 | -# spec file for package mingw64-libv3270 | |
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: 3270 Virtual Terminal for GTK | |
35 | -Name: mingw64-libv3270-%{_libvrs} | |
36 | -Version: 5.2 | |
37 | -Release: 0 | |
38 | -License: GPL-2.0 | |
39 | - | |
40 | -Source: libv3270-%{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: mingw64-libv3270 | |
48 | -Conflicts: otherproviders(mingw64-libv3270) | |
49 | - | |
50 | -BuildRequires: autoconf | |
51 | -BuildRequires: automake | |
52 | -BuildRequires: gettext-tools | |
53 | -BuildRequires: pkgconfig(glib-2.0) | |
54 | - | |
55 | -BuildRequires: mingw64-cross-binutils | |
56 | -BuildRequires: mingw64-cross-gcc | |
57 | -BuildRequires: mingw64-cross-gcc-c++ | |
58 | -BuildRequires: mingw64-cross-pkg-config | |
59 | -BuildRequires: mingw64-filesystem | |
60 | -BuildRequires: mingw64-libopenssl-devel | |
61 | -BuildRequires: mingw64-zlib-devel | |
62 | - | |
63 | -BuildRequires: mingw64(pkg:gtk+-win32-3.0) | |
64 | -BuildRequires: mingw64(lib:iconv) | |
65 | -BuildRequires: mingw64(lib:intl) | |
66 | - | |
67 | -BuildRequires: mingw64-lib3270-%{_libvrs}-devel | |
68 | - | |
69 | -%description | |
70 | - | |
71 | -TN3270 GTK Virtual terminal Widget originally designed as part of the pw3270 application. | |
72 | - | |
73 | -See more details at https://softwarepublico.gov.br/social/pw3270/ | |
74 | - | |
75 | -#---[ Development ]--------------------------------------------------------------------------------------------------- | |
76 | - | |
77 | -%package devel | |
78 | - | |
79 | -Summary: 3270 Virtual Terminal for GTK development files | |
80 | -Group: Development/Libraries/C and C++ | |
81 | - | |
82 | -Requires: %{name} = %{version} | |
83 | -Requires: mingw64-lib3270-%{_libvrs}-devel | |
84 | - | |
85 | -Provides: mingw64-libv3270-devel = %{version} | |
86 | -Conflicts: otherproviders(mingw64-libv3270-devel) | |
87 | - | |
88 | -%description devel | |
89 | - | |
90 | -3270 Virtual Terminal for GTK development files. | |
91 | - | |
92 | -Originally designed as part of the pw3270 application. | |
93 | - | |
94 | -See more details at https://softwarepublico.gov.br/social/pw3270/ | |
95 | - | |
96 | -%package -n mingw64-glade-catalog-v3270 | |
97 | - | |
98 | -Summary: Glade catalog for the TN3270 terminal emulator library | |
99 | -Group: Development/Libraries/C and C++ | |
100 | - | |
101 | -Requires: libv3270-devel = %{version} | |
102 | -Requires: glade | |
103 | - | |
104 | -%description -n mingw64-glade-catalog-v3270 | |
105 | - | |
106 | -3270 Virtual Terminal for GTK development files. | |
107 | - | |
108 | -Originally designed as part of the pw3270 application. | |
109 | - | |
110 | -This package provides a catalog for Glade, to allow the use of V3270 | |
111 | -widgets in Glade. | |
112 | - | |
113 | -See more details at https://softwarepublico.gov.br/social/pw3270/ | |
114 | - | |
115 | - | |
116 | -#---[ Build & Install ]----------------------------------------------------------------------------------------------- | |
117 | - | |
118 | -%prep | |
119 | -%setup -n libv3270-%{version} | |
120 | - | |
121 | -NOCONFIGURE=1 ./autogen.sh | |
122 | - | |
123 | -%{_mingw64_configure} \ | |
124 | - --with-sdk-version=%{version} | |
125 | - | |
126 | -%build | |
127 | -make clean | |
128 | -make all | |
129 | - | |
130 | -%{_mingw64_strip} \ | |
131 | - --strip-all \ | |
132 | - .bin/Release/*.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | |
133 | - | |
134 | -%install | |
135 | -%{_mingw64_makeinstall} | |
136 | - | |
137 | -%clean | |
138 | -rm -rf %{buildroot} | |
139 | - | |
140 | -#---[ Files ]--------------------------------------------------------------------------------------------------------- | |
141 | - | |
142 | -%files | |
143 | -%defattr(-,root,root) | |
144 | -%doc AUTHORS LICENSE README.md | |
145 | - | |
146 | -%{_mingw64_libdir}/libv3270.dll | |
147 | -%{_mingw64_libdir}/libv3270.dll.%{MAJOR_VERSION} | |
148 | -%{_mingw64_libdir}/libv3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | |
149 | - | |
150 | -%files devel | |
151 | -%defattr(-,root,root) | |
152 | -%{_mingw64_includedir}/v3270 | |
153 | -%{_mingw64_includedir}/v3270.h | |
154 | - | |
155 | -%{_mingw64_libdir}/pkgconfig/*.pc | |
156 | -%{_mingw64_libdir}/*.a | |
157 | -%{_mingw64_datadir}/pw3270/pot/*.pot | |
158 | - | |
159 | -%files -n mingw64-glade-catalog-v3270 | |
160 | -%defattr(-,root,root) | |
161 | - | |
162 | -%dir %{_mingw64_datadir}/glade | |
163 | -%dir %{_mingw64_datadir}/glade/catalogs | |
164 | -%{_mingw64_datadir}/glade/catalogs/v3270.xml | |
165 | - | |
166 | -%dir %{_mingw64_datadir}/glade/pixmaps | |
167 | -%dir %{_mingw64_datadir}/glade/pixmaps/hicolor | |
168 | -%dir %{_mingw64_datadir}/glade/pixmaps/hicolor/16x16 | |
169 | -%dir %{_mingw64_datadir}/glade/pixmaps/hicolor/22x22 | |
170 | -%dir %{_mingw64_datadir}/glade/pixmaps/hicolor/16x16/actions | |
171 | -%dir %{_mingw64_datadir}/glade/pixmaps/hicolor/22x22/actions | |
172 | -%{_mingw64_datadir}/glade/pixmaps/hicolor/16x16/actions/widget-v3270-terminal.png | |
173 | -%{_mingw64_datadir}/glade/pixmaps/hicolor/22x22/actions/widget-v3270-terminal.png | |
174 | - | |
175 | -%changelog | |
176 | - |
... | ... | @@ -0,0 +1,176 @@ |
1 | +# | |
2 | +# spec file for package mingw64-libv3270 | |
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: 3270 Virtual Terminal for GTK | |
35 | +Name: mingw64-libv3270-%{_libvrs} | |
36 | +Version: 5.2 | |
37 | +Release: 0 | |
38 | +License: GPL-2.0 | |
39 | + | |
40 | +Source: libv3270-%{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: mingw64-libv3270 | |
48 | +Conflicts: otherproviders(mingw64-libv3270) | |
49 | + | |
50 | +BuildRequires: autoconf | |
51 | +BuildRequires: automake | |
52 | +BuildRequires: gettext-tools | |
53 | +BuildRequires: pkgconfig(glib-2.0) | |
54 | + | |
55 | +BuildRequires: mingw64-cross-binutils | |
56 | +BuildRequires: mingw64-cross-gcc | |
57 | +BuildRequires: mingw64-cross-gcc-c++ | |
58 | +BuildRequires: mingw64-cross-pkg-config | |
59 | +BuildRequires: mingw64-filesystem | |
60 | +BuildRequires: mingw64-libopenssl-devel | |
61 | +BuildRequires: mingw64-zlib-devel | |
62 | + | |
63 | +BuildRequires: mingw64(pkg:gtk+-win32-3.0) | |
64 | +BuildRequires: mingw64(lib:iconv) | |
65 | +BuildRequires: mingw64(lib:intl) | |
66 | + | |
67 | +BuildRequires: mingw64-lib3270-%{_libvrs}-devel | |
68 | + | |
69 | +%description | |
70 | + | |
71 | +TN3270 GTK Virtual terminal Widget originally designed as part of the pw3270 application. | |
72 | + | |
73 | +See more details at https://softwarepublico.gov.br/social/pw3270/ | |
74 | + | |
75 | +#---[ Development ]--------------------------------------------------------------------------------------------------- | |
76 | + | |
77 | +%package devel | |
78 | + | |
79 | +Summary: 3270 Virtual Terminal for GTK development files | |
80 | +Group: Development/Libraries/C and C++ | |
81 | + | |
82 | +Requires: %{name} = %{version} | |
83 | +Requires: mingw64-lib3270-%{_libvrs}-devel | |
84 | + | |
85 | +Provides: mingw64-libv3270-devel = %{version} | |
86 | +Conflicts: otherproviders(mingw64-libv3270-devel) | |
87 | + | |
88 | +%description devel | |
89 | + | |
90 | +3270 Virtual Terminal for GTK development files. | |
91 | + | |
92 | +Originally designed as part of the pw3270 application. | |
93 | + | |
94 | +See more details at https://softwarepublico.gov.br/social/pw3270/ | |
95 | + | |
96 | +%package -n mingw64-glade-catalog-v3270 | |
97 | + | |
98 | +Summary: Glade catalog for the TN3270 terminal emulator library | |
99 | +Group: Development/Libraries/C and C++ | |
100 | + | |
101 | +Requires: libv3270-devel = %{version} | |
102 | +Requires: glade | |
103 | + | |
104 | +%description -n mingw64-glade-catalog-v3270 | |
105 | + | |
106 | +3270 Virtual Terminal for GTK development files. | |
107 | + | |
108 | +Originally designed as part of the pw3270 application. | |
109 | + | |
110 | +This package provides a catalog for Glade, to allow the use of V3270 | |
111 | +widgets in Glade. | |
112 | + | |
113 | +See more details at https://softwarepublico.gov.br/social/pw3270/ | |
114 | + | |
115 | + | |
116 | +#---[ Build & Install ]----------------------------------------------------------------------------------------------- | |
117 | + | |
118 | +%prep | |
119 | +%setup -n libv3270-%{version} | |
120 | + | |
121 | +NOCONFIGURE=1 ./autogen.sh | |
122 | + | |
123 | +%{_mingw64_configure} \ | |
124 | + --with-sdk-version=%{version} | |
125 | + | |
126 | +%build | |
127 | +make clean | |
128 | +make all | |
129 | + | |
130 | +%{_mingw64_strip} \ | |
131 | + --strip-all \ | |
132 | + .bin/Release/*.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | |
133 | + | |
134 | +%install | |
135 | +%{_mingw64_makeinstall} | |
136 | + | |
137 | +%clean | |
138 | +rm -rf %{buildroot} | |
139 | + | |
140 | +#---[ Files ]--------------------------------------------------------------------------------------------------------- | |
141 | + | |
142 | +%files | |
143 | +%defattr(-,root,root) | |
144 | +%doc AUTHORS LICENSE README.md | |
145 | + | |
146 | +%{_mingw64_libdir}/libv3270.dll | |
147 | +%{_mingw64_libdir}/libv3270.dll.%{MAJOR_VERSION} | |
148 | +%{_mingw64_libdir}/libv3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | |
149 | + | |
150 | +%files devel | |
151 | +%defattr(-,root,root) | |
152 | +%{_mingw64_includedir}/v3270 | |
153 | +%{_mingw64_includedir}/v3270.h | |
154 | + | |
155 | +%{_mingw64_libdir}/pkgconfig/*.pc | |
156 | +%{_mingw64_libdir}/*.a | |
157 | +%{_mingw64_datadir}/pw3270/pot/*.pot | |
158 | + | |
159 | +%files -n mingw64-glade-catalog-v3270 | |
160 | +%defattr(-,root,root) | |
161 | + | |
162 | +%dir %{_mingw64_datadir}/glade | |
163 | +%dir %{_mingw64_datadir}/glade/catalogs | |
164 | +%{_mingw64_datadir}/glade/catalogs/v3270.xml | |
165 | + | |
166 | +%dir %{_mingw64_datadir}/glade/pixmaps | |
167 | +%dir %{_mingw64_datadir}/glade/pixmaps/hicolor | |
168 | +%dir %{_mingw64_datadir}/glade/pixmaps/hicolor/16x16 | |
169 | +%dir %{_mingw64_datadir}/glade/pixmaps/hicolor/22x22 | |
170 | +%dir %{_mingw64_datadir}/glade/pixmaps/hicolor/16x16/actions | |
171 | +%dir %{_mingw64_datadir}/glade/pixmaps/hicolor/22x22/actions | |
172 | +%{_mingw64_datadir}/glade/pixmaps/hicolor/16x16/actions/widget-v3270-terminal.png | |
173 | +%{_mingw64_datadir}/glade/pixmaps/hicolor/22x22/actions/widget-v3270-terminal.png | |
174 | + | |
175 | +%changelog | |
176 | + | ... | ... |