Commit f8a4295bd55a7077c14bc2d2c6488289c62b1a78

Authored by Perry Werneck
1 parent ab0061ad
Exists in master and in 1 other branch develop

Updating windows packages.

win/x86_32/_service
@@ -9,11 +9,10 @@ @@ -9,11 +9,10 @@
9 </service> 9 </service>
10 10
11 <!-- https://github.com/openSUSE/obs-service-extract_file --> 11 <!-- https://github.com/openSUSE/obs-service-extract_file -->
12 - <!-- service name="extract_file"> 12 + <service name="extract_file">
13 <param name="archive">*.tar</param> 13 <param name="archive">*.tar</param>
14 - <param name="files">*/win/mingw32/libv3270.spec</param>  
15 - <param name="outfilename">mingw32-libv3270-5_2.spec</param>  
16 - </service --> 14 + <param name="files">*/win/x86_32/mingw32-libv3270.spec</param>
  15 + </service>
17 16
18 <service name="recompress"> 17 <service name="recompress">
19 <param name="file">*.tar</param> 18 <param name="file">*.tar</param>
win/x86_32/mingw32-libv3270.spec
@@ -78,6 +78,9 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ @@ -78,6 +78,9 @@ See more details at https://softwarepublico.gov.br/social/pw3270/
78 Summary: 3270 Virtual Terminal for GTK development files 78 Summary: 3270 Virtual Terminal for GTK development files
79 Group: Development/Libraries/C and C++ 79 Group: Development/Libraries/C and C++
80 80
  81 +Requires: %{name} = %{version}
  82 +Requires: mingw32(pkg:lib3270)
  83 +
81 %description devel 84 %description devel
82 85
83 3270 Virtual Terminal for GTK development files. 86 3270 Virtual Terminal for GTK development files.
@@ -91,7 +94,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ @@ -91,7 +94,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/
91 Summary: Glade catalog for the TN3270 terminal emulator library 94 Summary: Glade catalog for the TN3270 terminal emulator library
92 Group: Development/Libraries/C and C++ 95 Group: Development/Libraries/C and C++
93 96
94 -Requires: mingw32(pkg:lib3270) 97 +Requires: %{name}-devel = %{version}
95 Requires: glade 98 Requires: glade
96 99
97 %description -n mingw32-glade-catalog-v3270 100 %description -n mingw32-glade-catalog-v3270
@@ -126,19 +129,18 @@ make all @@ -126,19 +129,18 @@ make all
126 129
127 %install 130 %install
128 %{_mingw32_makeinstall} 131 %{_mingw32_makeinstall}
  132 +%_mingw32_find_lang libv3270 langfiles
129 133
130 %clean 134 %clean
131 rm -rf %{buildroot} 135 rm -rf %{buildroot}
132 136
133 #---[ Files ]--------------------------------------------------------------------------------------------------------- 137 #---[ Files ]---------------------------------------------------------------------------------------------------------
134 138
135 -%files 139 +%files -f langfiles
136 %defattr(-,root,root) 140 %defattr(-,root,root)
137 %doc AUTHORS LICENSE README.md 141 %doc AUTHORS LICENSE README.md
138 142
139 -%{_mingw32_libdir}/libv3270.dll  
140 -%{_mingw32_libdir}/libv3270.dll.%{MAJOR_VERSION}  
141 -%{_mingw32_libdir}/libv3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} 143 +%{_mingw32_bindir}/*.dll
142 144
143 %files devel 145 %files devel
144 %defattr(-,root,root) 146 %defattr(-,root,root)
@@ -154,6 +156,8 @@ rm -rf %{buildroot} @@ -154,6 +156,8 @@ rm -rf %{buildroot}
154 %dir %{_mingw32_datadir}/%{_product}/remap 156 %dir %{_mingw32_datadir}/%{_product}/remap
155 %{_mingw32_datadir}/%{_product}/remap/*.xml 157 %{_mingw32_datadir}/%{_product}/remap/*.xml
156 158
  159 +%{_mingw32_datadir}/%{_product}/def/*.def
  160 +
157 %files -n mingw32-glade-catalog-v3270 161 %files -n mingw32-glade-catalog-v3270
158 %defattr(-,root,root) 162 %defattr(-,root,root)
159 163
win/x86_64/_service
@@ -9,11 +9,10 @@ @@ -9,11 +9,10 @@
9 </service> 9 </service>
10 10
11 <!-- https://github.com/openSUSE/obs-service-extract_file --> 11 <!-- https://github.com/openSUSE/obs-service-extract_file -->
12 - <!-- service name="extract_file"> 12 + <service name="extract_file">
13 <param name="archive">*.tar</param> 13 <param name="archive">*.tar</param>
14 - <param name="files">*/win/mingw64/libv3270.spec</param>  
15 - <param name="outfilename">mingw64-libv3270-5_2.spec</param>  
16 - </service --> 14 + <param name="files">*/win/x86_64/mingw64-libv3270.spec</param>
  15 + </service>
17 16
18 <service name="recompress"> 17 <service name="recompress">
19 <param name="file">*.tar</param> 18 <param name="file">*.tar</param>
win/x86_64/mingw64-libv3270.spec
@@ -28,16 +28,16 @@ @@ -28,16 +28,16 @@
28 #---[ Main package ]-------------------------------------------------------------------------------------------------- 28 #---[ Main package ]--------------------------------------------------------------------------------------------------
29 29
30 Summary: 3270 Virtual Terminal for GTK 30 Summary: 3270 Virtual Terminal for GTK
31 -Name: mingw64-libv3270  
32 -Version: 5.2 31 +Name: mingw64-libv3270
  32 +Version: 5.2
33 33
34 %define MAJOR_VERSION %(echo %{version} | cut -d. -f1) 34 %define MAJOR_VERSION %(echo %{version} | cut -d. -f1)
35 %define MINOR_VERSION %(echo %{version} | cut -d. -f2) 35 %define MINOR_VERSION %(echo %{version} | cut -d. -f2)
36 %define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} 36 %define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION}
37 %define _product %(x86_64-w64-mingw32-pkg-config --variable=product_name lib3270) 37 %define _product %(x86_64-w64-mingw32-pkg-config --variable=product_name lib3270)
38 38
39 -Release: 0  
40 -License: GPL-2.0 39 +Release: 0
  40 +License: GPL-2.0
41 41
42 Source: libv3270-%{version}.tar.xz 42 Source: libv3270-%{version}.tar.xz
43 43
@@ -94,7 +94,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ @@ -94,7 +94,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/
94 Summary: Glade catalog for the TN3270 terminal emulator library 94 Summary: Glade catalog for the TN3270 terminal emulator library
95 Group: Development/Libraries/C and C++ 95 Group: Development/Libraries/C and C++
96 96
97 -Requires: libv3270-devel = %{version} 97 +Requires: %{name}-devel = %{version}
98 Requires: glade 98 Requires: glade
99 99
100 %description -n mingw64-glade-catalog-v3270 100 %description -n mingw64-glade-catalog-v3270
@@ -129,19 +129,18 @@ make all @@ -129,19 +129,18 @@ make all
129 129
130 %install 130 %install
131 %{_mingw64_makeinstall} 131 %{_mingw64_makeinstall}
  132 +%_mingw64_find_lang libv3270 langfiles
132 133
133 %clean 134 %clean
134 rm -rf %{buildroot} 135 rm -rf %{buildroot}
135 136
136 #---[ Files ]--------------------------------------------------------------------------------------------------------- 137 #---[ Files ]---------------------------------------------------------------------------------------------------------
137 138
138 -%files 139 +%files -f langfiles
139 %defattr(-,root,root) 140 %defattr(-,root,root)
140 %doc AUTHORS LICENSE README.md 141 %doc AUTHORS LICENSE README.md
141 142
142 -%{_mingw64_libdir}/libv3270.dll  
143 -%{_mingw64_libdir}/libv3270.dll.%{MAJOR_VERSION}  
144 -%{_mingw64_libdir}/libv3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} 143 +%{_mingw64_bindir}/*.dll
145 144
146 %files devel 145 %files devel
147 %defattr(-,root,root) 146 %defattr(-,root,root)
@@ -150,12 +149,15 @@ rm -rf %{buildroot} @@ -150,12 +149,15 @@ rm -rf %{buildroot}
150 149
151 %{_mingw64_libdir}/pkgconfig/*.pc 150 %{_mingw64_libdir}/pkgconfig/*.pc
152 %{_mingw64_libdir}/*.a 151 %{_mingw64_libdir}/*.a
  152 +
153 %{_mingw64_datadir}/%{_product}/pot/*.pot 153 %{_mingw64_datadir}/%{_product}/pot/*.pot
154 %{_mingw64_datadir}/%{_product}/colors.conf 154 %{_mingw64_datadir}/%{_product}/colors.conf
155 155
156 %dir %{_mingw64_datadir}/%{_product}/remap 156 %dir %{_mingw64_datadir}/%{_product}/remap
157 %{_mingw64_datadir}/%{_product}/remap/*.xml 157 %{_mingw64_datadir}/%{_product}/remap/*.xml
158 158
  159 +%{_mingw64_datadir}/%{_product}/def/*.def
  160 +
159 %files -n mingw64-glade-catalog-v3270 161 %files -n mingw64-glade-catalog-v3270
160 %defattr(-,root,root) 162 %defattr(-,root,root)
161 163