Commit 975128fac1cb7e84111c14e6b983a0b42ef94f6d

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

Updating windows package.

win/mingw32/_service 0 → 100644
... ... @@ -0,0 +1,27 @@
  1 +<services>
  2 +
  3 + <!-- https://github.com/openSUSE/obs-service-tar_scm/blob/master/tar_scm.py -->
  4 + <service name="tar_scm">
  5 + <param name="changesgenerate">enable</param>
  6 + <param name="sslverify">disable</param>
  7 + <param name="versionformat">@PARENT_TAG@</param>
  8 + <param name="url">http://softwarepublico.gov.br/gitlab/pw3270/libv3270.git</param>
  9 + <param name="scm">git</param>
  10 + </service>
  11 +
  12 + <!-- https://github.com/openSUSE/obs-service-extract_file -->
  13 + <!-- service name="extract_file">
  14 + <param name="archive">*.tar</param>
  15 + <param name="files">*/win/mingw32/libv3270.spec</param>
  16 + <param name="outfilename">mingw32-libv3270-5_2.spec</param>
  17 + </service -->
  18 +
  19 + <service name="recompress">
  20 + <param name="file">*.tar</param>
  21 + <param name="compression">xz</param>
  22 + </service>
  23 +
  24 + <service name="set_version" />
  25 +
  26 +</services>
  27 +
... ...
win/mingw32/_service.xml
... ... @@ -1,29 +0,0 @@
1   -<services>
2   -
3   - <!-- https://github.com/openSUSE/obs-service-tar_scm/blob/master/tar_scm.py -->
4   - <service name="tar_scm">
5   - <param name="changesgenerate">enable</param>
6   - <param name="sslverify">disable</param>
7   - <param name="versionformat">%ct</param>
8   - <!-- param name="version">5.2</param -->
9   - <param name="url">http://softwarepublico.gov.br/gitlab/pw3270/libv3270.git</param>
10   - <param name="scm">git</param>
11   - <param name="filename">mingw32-libv3270-5_2</param>
12   - </service>
13   -
14   - <!-- https://github.com/openSUSE/obs-service-extract_file -->
15   - <service name="extract_file">
16   - <param name="archive">*.tar</param>
17   - <param name="files">*/win/mingw32-libv3270.spec</param>
18   - <param name="outfilename">mingw32-libv3270-5_2.spec</param>
19   - </service>
20   -
21   - <service name="recompress">
22   - <param name="file">*.tar</param>
23   - <param name="compression">xz</param>
24   - </service>
25   -
26   - <service name="set_version" />
27   -
28   -</services>
29   -
win/mingw32/libv3270.spec
... ... @@ -37,15 +37,15 @@ Version: 5.2
37 37 Release: 0
38 38 License: GPL-2.0
39 39  
40   -Source: %{name}-%{version}.tar.xz
  40 +Source: libv3270-%{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  
44   -Group: Development/Libraries/C and C++
45   -BuildRoot: /var/tmp/%{name}-%{version}
  44 +Group: Development/Libraries/C and C++
  45 +BuildRoot: /var/tmp/%{name}-%{version}
46 46  
47   -Provides: mingw32-libv3270
48   -Conflicts: otherproviders(mingw32-libv3270)
  47 +Provides: mingw32-libv3270
  48 +Conflicts: otherproviders(mingw32-libv3270)
49 49  
50 50 Provides: mingw32(lib:v3270)
51 51 Provides: mingw32(lib:v3270-%{_libvrs})
... ... @@ -119,7 +119,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/
119 119 #---[ Build & Install ]-----------------------------------------------------------------------------------------------
120 120  
121 121 %prep
122   -%setup
  122 +%setup -n libv3270-%{version}
123 123  
124 124 NOCONFIGURE=1 ./autogen.sh
125 125  
... ...
win/mingw64/_service 0 → 100644
... ... @@ -0,0 +1,26 @@
  1 +<services>
  2 +
  3 + <!-- https://github.com/openSUSE/obs-service-tar_scm/blob/master/tar_scm.py -->
  4 + <service name="tar_scm">
  5 + <param name="changesgenerate">enable</param>
  6 + <param name="sslverify">disable</param>
  7 + <param name="versionformat">@PARENT_TAG@</param>
  8 + <param name="url">http://softwarepublico.gov.br/gitlab/pw3270/libv3270.git</param>
  9 + <param name="scm">git</param>
  10 + </service>
  11 +
  12 + <!-- https://github.com/openSUSE/obs-service-extract_file -->
  13 + <!-- service name="extract_file">
  14 + <param name="archive">*.tar</param>
  15 + <param name="files">*/win/mingw64/libv3270.spec</param>
  16 + <param name="outfilename">mingw64-libv3270-5_2.spec</param>
  17 + </service -->
  18 +
  19 + <service name="recompress">
  20 + <param name="file">*.tar</param>
  21 + <param name="compression">xz</param>
  22 + </service>
  23 +
  24 + <service name="set_version" />
  25 +
  26 +</services>
... ...
win/mingw64/_service.xml
... ... @@ -1,28 +0,0 @@
1   -<services>
2   -
3   - <!-- https://github.com/openSUSE/obs-service-tar_scm/blob/master/tar_scm.py -->
4   - <service name="tar_scm">
5   - <param name="changesgenerate">enable</param>
6   - <param name="sslverify">disable</param>
7   - <param name="versionformat">%ct</param>
8   - <!-- param name="version">5.2</param -->
9   - <param name="url">http://softwarepublico.gov.br/gitlab/pw3270/libv3270.git</param>
10   - <param name="scm">git</param>
11   - <param name="filename">mingw64-libv3270-5_2</param>
12   - </service>
13   -
14   - <!-- https://github.com/openSUSE/obs-service-extract_file -->
15   - <service name="extract_file">
16   - <param name="archive">*.tar</param>
17   - <param name="files">*/win/mingw64-libv3270.spec</param>
18   - <param name="outfilename">mingw64-libv3270-5_2.spec</param>
19   - </service>
20   -
21   - <service name="recompress">
22   - <param name="file">*.tar</param>
23   - <param name="compression">xz</param>
24   - </service>
25   -
26   - <service name="set_version" />
27   -
28   -</services>
win/mingw64/libv3270.spec
... ... @@ -31,21 +31,21 @@
31 31  
32 32 #---[ Main package ]--------------------------------------------------------------------------------------------------
33 33  
34   -Summary: 3270 Virtual Terminal for GTK
  34 +Summary: 3270 Virtual Terminal for GTK
35 35 Name: mingw64-libv3270-%{_libvrs}
36 36 Version: 5.2
37 37 Release: 0
38 38 License: GPL-2.0
39 39  
40   -Source: %{name}-%{version}.tar.xz
  40 +Source: libv3270-%{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  
44   -Group: Development/Libraries/C and C++
45   -BuildRoot: /var/tmp/%{name}-%{version}
  44 +Group: Development/Libraries/C and C++
  45 +BuildRoot: /var/tmp/%{name}-%{version}
46 46  
47   -Provides: mingw64-libv3270
48   -Conflicts: otherproviders(mingw64-libv3270)
  47 +Provides: mingw64-libv3270
  48 +Conflicts: otherproviders(mingw64-libv3270)
49 49  
50 50 BuildRequires: autoconf
51 51 BuildRequires: automake
... ... @@ -116,7 +116,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/
116 116 #---[ Build & Install ]-----------------------------------------------------------------------------------------------
117 117  
118 118 %prep
119   -%setup
  119 +%setup -n libv3270-%{version}
120 120  
121 121 NOCONFIGURE=1 ./autogen.sh
122 122  
... ...