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 | 12 | <!-- https://github.com/openSUSE/obs-service-extract_file --> |
13 | 13 | <!-- service name="extract_file"> |
14 | 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 | 16 | </service --> |
17 | 17 | |
18 | 18 | <service name="recompress"> | ... | ... |
win/mingw32/lib3270.spec
... | ... | @@ -37,7 +37,7 @@ Version: 5.2 |
37 | 37 | Release: 0 |
38 | 38 | License: GPL-2.0 |
39 | 39 | |
40 | -Source: %{name}-%{version}.tar.xz | |
40 | +Source: lib3270-%{version}.tar.xz | |
41 | 41 | |
42 | 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 | 92 | #---[ Build & Install ]----------------------------------------------------------------------------------------------- |
93 | 93 | |
94 | 94 | %prep |
95 | -%setup | |
95 | +%setup -n lib3270-%{version} | |
96 | 96 | |
97 | 97 | NOCONFIGURE=1 ./autogen.sh |
98 | 98 | |
... | ... | @@ -127,6 +127,8 @@ rm -rf %{buildroot} |
127 | 127 | %{_mingw32_libdir}/lib3270++.dll.%{MAJOR_VERSION} |
128 | 128 | %{_mingw32_libdir}/lib3270++.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} |
129 | 129 | |
130 | +%dir %{_mingw32_datadir}/pw3270 | |
131 | + | |
130 | 132 | %files devel |
131 | 133 | %defattr(-,root,root) |
132 | 134 | |
... | ... | @@ -136,5 +138,9 @@ rm -rf %{buildroot} |
136 | 138 | %{_mingw32_libdir}/pkgconfig/*.pc |
137 | 139 | %{_mingw32_libdir}/*.a |
138 | 140 | |
141 | +%dir %{_mingw32_datadir}/pw3270/pot | |
142 | +%{_mingw32_datadir}/pw3270/pot/*.pot | |
143 | + | |
144 | + | |
139 | 145 | %changelog |
140 | 146 | ... | ... |
win/mingw64/_service
... | ... | @@ -12,7 +12,7 @@ |
12 | 12 | <!-- https://github.com/openSUSE/obs-service-extract_file --> |
13 | 13 | <!-- service name="extract_file"> |
14 | 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 | 16 | <param name="outfilename">mingw64-lib3270.spec</param> |
17 | 17 | </service --> |
18 | 18 | ... | ... |
win/mingw64/lib3270.spec
... | ... | @@ -32,12 +32,12 @@ |
32 | 32 | #---[ Main package ]-------------------------------------------------------------------------------------------------- |
33 | 33 | |
34 | 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 | 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 | 92 | #---[ Build & Install ]----------------------------------------------------------------------------------------------- |
93 | 93 | |
94 | 94 | %prep |
95 | -%setup | |
95 | +%setup -n lib3270-%{version} | |
96 | 96 | |
97 | 97 | NOCONFIGURE=1 ./autogen.sh |
98 | 98 | |
... | ... | @@ -127,6 +127,8 @@ rm -rf %{buildroot} |
127 | 127 | %{_mingw64_libdir}/lib3270++.dll.%{MAJOR_VERSION} |
128 | 128 | %{_mingw64_libdir}/lib3270++.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} |
129 | 129 | |
130 | +%dir %{_mingw64_datadir}/pw3270 | |
131 | + | |
130 | 132 | %files devel |
131 | 133 | %defattr(-,root,root) |
132 | 134 | |
... | ... | @@ -136,4 +138,7 @@ rm -rf %{buildroot} |
136 | 138 | %{_mingw64_libdir}/pkgconfig/*.pc |
137 | 139 | %{_mingw64_libdir}/*.a |
138 | 140 | |
141 | +%dir %{_mingw64_datadir}/pw3270/pot | |
142 | +%{_mingw64_datadir}/pw3270/pot/*.pot | |
143 | + | |
139 | 144 | %changelog | ... | ... |