Commit 120f863e361b1402e3508a26733b0db41b8245d5
1 parent
b1e6131d
Exists in
master
and in
3 other branches
Updating windows package.
Showing
4 changed files
with
21 additions
and
10 deletions
Show diff stats
win/mingw32/_service
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | <!-- https://github.com/openSUSE/obs-service-extract_file --> | 12 | <!-- https://github.com/openSUSE/obs-service-extract_file --> |
13 | <!-- service name="extract_file"> | 13 | <!-- service name="extract_file"> |
14 | <param name="archive">*.tar</param> | 14 | <param name="archive">*.tar</param> |
15 | - <param name="files">*/win/mingw32-lib3270.spec</param> | 15 | + <param name="files">*/win/mingw32/lib3270.spec</param> |
16 | </service --> | 16 | </service --> |
17 | 17 | ||
18 | <service name="recompress"> | 18 | <service name="recompress"> |
win/mingw32/lib3270.spec
@@ -37,7 +37,7 @@ Version: 5.2 | @@ -37,7 +37,7 @@ Version: 5.2 | ||
37 | Release: 0 | 37 | Release: 0 |
38 | License: GPL-2.0 | 38 | License: GPL-2.0 |
39 | 39 | ||
40 | -Source: %{name}-%{version}.tar.xz | 40 | +Source: lib3270-%{version}.tar.xz |
41 | 41 | ||
42 | Url: https://portal.softwarepublico.gov.br/social/pw3270/ | 42 | Url: https://portal.softwarepublico.gov.br/social/pw3270/ |
43 | 43 | ||
@@ -92,7 +92,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | @@ -92,7 +92,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | ||
92 | #---[ Build & Install ]----------------------------------------------------------------------------------------------- | 92 | #---[ Build & Install ]----------------------------------------------------------------------------------------------- |
93 | 93 | ||
94 | %prep | 94 | %prep |
95 | -%setup | 95 | +%setup -n lib3270-%{version} |
96 | 96 | ||
97 | NOCONFIGURE=1 ./autogen.sh | 97 | NOCONFIGURE=1 ./autogen.sh |
98 | 98 | ||
@@ -127,6 +127,8 @@ rm -rf %{buildroot} | @@ -127,6 +127,8 @@ rm -rf %{buildroot} | ||
127 | %{_mingw32_libdir}/lib3270++.dll.%{MAJOR_VERSION} | 127 | %{_mingw32_libdir}/lib3270++.dll.%{MAJOR_VERSION} |
128 | %{_mingw32_libdir}/lib3270++.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | 128 | %{_mingw32_libdir}/lib3270++.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} |
129 | 129 | ||
130 | +%dir %{_mingw32_datadir}/pw3270 | ||
131 | + | ||
130 | %files devel | 132 | %files devel |
131 | %defattr(-,root,root) | 133 | %defattr(-,root,root) |
132 | 134 | ||
@@ -136,5 +138,9 @@ rm -rf %{buildroot} | @@ -136,5 +138,9 @@ rm -rf %{buildroot} | ||
136 | %{_mingw32_libdir}/pkgconfig/*.pc | 138 | %{_mingw32_libdir}/pkgconfig/*.pc |
137 | %{_mingw32_libdir}/*.a | 139 | %{_mingw32_libdir}/*.a |
138 | 140 | ||
141 | +%dir %{_mingw32_datadir}/pw3270/pot | ||
142 | +%{_mingw32_datadir}/pw3270/pot/*.pot | ||
143 | + | ||
144 | + | ||
139 | %changelog | 145 | %changelog |
140 | 146 |
win/mingw64/_service
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | <!-- https://github.com/openSUSE/obs-service-extract_file --> | 12 | <!-- https://github.com/openSUSE/obs-service-extract_file --> |
13 | <!-- service name="extract_file"> | 13 | <!-- service name="extract_file"> |
14 | <param name="archive">*.tar</param> | 14 | <param name="archive">*.tar</param> |
15 | - <param name="files">*/win/mingw64-lib3270.spec</param> | 15 | + <param name="files">*/win/mingw64/lib3270.spec</param> |
16 | <param name="outfilename">mingw64-lib3270.spec</param> | 16 | <param name="outfilename">mingw64-lib3270.spec</param> |
17 | </service --> | 17 | </service --> |
18 | 18 |
win/mingw64/lib3270.spec
@@ -32,12 +32,12 @@ | @@ -32,12 +32,12 @@ | ||
32 | #---[ Main package ]-------------------------------------------------------------------------------------------------- | 32 | #---[ Main package ]-------------------------------------------------------------------------------------------------- |
33 | 33 | ||
34 | Summary: TN3270 Access library | 34 | Summary: TN3270 Access library |
35 | -Name: mingw64-lib3270-%{_libvrs} | ||
36 | -Version: 5.2 | ||
37 | -Release: 0 | ||
38 | -License: GPL-2.0 | 35 | +Name: mingw64-lib3270-%{_libvrs} |
36 | +Version: 5.2 | ||
37 | +Release: 0 | ||
38 | +License: GPL-2.0 | ||
39 | 39 | ||
40 | -Source: %{name}-%{version}.tar.xz | 40 | +Source: lib3270-%{version}.tar.xz |
41 | 41 | ||
42 | Url: https://portal.softwarepublico.gov.br/social/pw3270/ | 42 | Url: https://portal.softwarepublico.gov.br/social/pw3270/ |
43 | 43 | ||
@@ -92,7 +92,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | @@ -92,7 +92,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | ||
92 | #---[ Build & Install ]----------------------------------------------------------------------------------------------- | 92 | #---[ Build & Install ]----------------------------------------------------------------------------------------------- |
93 | 93 | ||
94 | %prep | 94 | %prep |
95 | -%setup | 95 | +%setup -n lib3270-%{version} |
96 | 96 | ||
97 | NOCONFIGURE=1 ./autogen.sh | 97 | NOCONFIGURE=1 ./autogen.sh |
98 | 98 | ||
@@ -127,6 +127,8 @@ rm -rf %{buildroot} | @@ -127,6 +127,8 @@ rm -rf %{buildroot} | ||
127 | %{_mingw64_libdir}/lib3270++.dll.%{MAJOR_VERSION} | 127 | %{_mingw64_libdir}/lib3270++.dll.%{MAJOR_VERSION} |
128 | %{_mingw64_libdir}/lib3270++.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | 128 | %{_mingw64_libdir}/lib3270++.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} |
129 | 129 | ||
130 | +%dir %{_mingw64_datadir}/pw3270 | ||
131 | + | ||
130 | %files devel | 132 | %files devel |
131 | %defattr(-,root,root) | 133 | %defattr(-,root,root) |
132 | 134 | ||
@@ -136,4 +138,7 @@ rm -rf %{buildroot} | @@ -136,4 +138,7 @@ rm -rf %{buildroot} | ||
136 | %{_mingw64_libdir}/pkgconfig/*.pc | 138 | %{_mingw64_libdir}/pkgconfig/*.pc |
137 | %{_mingw64_libdir}/*.a | 139 | %{_mingw64_libdir}/*.a |
138 | 140 | ||
141 | +%dir %{_mingw64_datadir}/pw3270/pot | ||
142 | +%{_mingw64_datadir}/pw3270/pot/*.pot | ||
143 | + | ||
139 | %changelog | 144 | %changelog |