Commit b1e6131d660ffa9190b0b966ae26c6a5a5d590c9

Authored by Perry Werneck
1 parent 8717dba1

Updating windows packages.

win/mingw32-lib3270.spec
... ... @@ -1,140 +0,0 @@
1   -#
2   -# spec file for package mingw32-lib3279
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: TN3270 Access library
35   -Name: mingw32-lib3270-%{_libvrs}
36   -Version: 5.2
37   -Release: 0
38   -License: GPL-2.0
39   -
40   -Source: %{name}-%{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(lib:3270) = %{version}
48   -Provides: mingw32(lib:3270-%{_libvrs}) = %{version}
49   -
50   -Provides: mingw32(lib:3270++) = %{version}
51   -Provides: mingw32(lib:3270++%{_libvrs}) = %{version}
52   -
53   -BuildRequires: autoconf
54   -BuildRequires: automake
55   -BuildRequires: gettext-tools
56   -
57   -BuildRequires: mingw32-cross-binutils
58   -BuildRequires: mingw32-cross-gcc
59   -BuildRequires: mingw32-cross-gcc-c++
60   -BuildRequires: mingw32-cross-pkg-config
61   -BuildRequires: mingw32-filesystem
62   -BuildRequires: mingw32-libopenssl-devel
63   -BuildRequires: mingw32-zlib-devel
64   -BuildRequires: mingw32(lib:iconv)
65   -BuildRequires: mingw32(lib:intl)
66   -
67   -%description
68   -
69   -TN3270 access library originally designed as part of the pw3270 application.
70   -
71   -See more details at https://softwarepublico.gov.br/social/pw3270/
72   -
73   -#---[ Development ]---------------------------------------------------------------------------------------------------
74   -
75   -%package devel
76   -
77   -Summary: TN3270 Access library development files
78   -Group: Development/Libraries/C and C++
79   -Requires: %{name} = %{version}
80   -
81   -Provides: mingw32-lib3270-devel = %{version}
82   -Conflicts: otherproviders(mingw32-lib3270-devel)
83   -
84   -%description devel
85   -
86   -TN3270 access library for C development files.
87   -
88   -Originally designed as part of the pw3270 application.
89   -
90   -See more details at https://softwarepublico.gov.br/social/pw3270/
91   -
92   -#---[ Build & Install ]-----------------------------------------------------------------------------------------------
93   -
94   -%prep
95   -%setup
96   -
97   -NOCONFIGURE=1 ./autogen.sh
98   -
99   -%{_mingw32_configure} \
100   - --with-sdk-version=%{version}
101   -
102   -%build
103   -make clean
104   -make all
105   -
106   -%{_mingw32_strip} \
107   - --strip-all \
108   - .bin/Release/*.dll
109   -
110   -%install
111   -%{_mingw32_makeinstall}
112   -
113   -%clean
114   -rm -rf %{buildroot}
115   -
116   -#---[ Files ]---------------------------------------------------------------------------------------------------------
117   -
118   -%files
119   -%defattr(-,root,root)
120   -%doc AUTHORS LICENSE README.md
121   -
122   -%{_mingw32_libdir}/lib3270.dll
123   -%{_mingw32_libdir}/lib3270.dll.%{MAJOR_VERSION}
124   -%{_mingw32_libdir}/lib3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION}
125   -
126   -%{_mingw32_libdir}/lib3270++.dll
127   -%{_mingw32_libdir}/lib3270++.dll.%{MAJOR_VERSION}
128   -%{_mingw32_libdir}/lib3270++.dll.%{MAJOR_VERSION}.%{MINOR_VERSION}
129   -
130   -%files devel
131   -%defattr(-,root,root)
132   -
133   -%{_mingw32_includedir}/lib3270
134   -
135   -%{_mingw32_includedir}/*.h
136   -%{_mingw32_libdir}/pkgconfig/*.pc
137   -%{_mingw32_libdir}/*.a
138   -
139   -%changelog
140   -
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/lib3270.git</param>
10   - <param name="scm">git</param>
11   - <param name="filename">mingw32-lib3270-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-lib3270.spec</param>
18   - <param name="outfilename">mingw32-lib3270-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/_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/lib3270.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-lib3270.spec</param>
  16 + </service -->
  17 +
  18 + <service name="recompress">
  19 + <param name="file">*.tar</param>
  20 + <param name="compression">xz</param>
  21 + </service>
  22 +
  23 + <service name="set_version" />
  24 +
  25 +</services>
  26 +
... ...
win/mingw32/lib3270.spec 0 → 100644
... ... @@ -0,0 +1,140 @@
  1 +#
  2 +# spec file for package mingw32-lib3279
  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: TN3270 Access library
  35 +Name: mingw32-lib3270-%{_libvrs}
  36 +Version: 5.2
  37 +Release: 0
  38 +License: GPL-2.0
  39 +
  40 +Source: %{name}-%{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(lib:3270) = %{version}
  48 +Provides: mingw32(lib:3270-%{_libvrs}) = %{version}
  49 +
  50 +Provides: mingw32(lib:3270++) = %{version}
  51 +Provides: mingw32(lib:3270++%{_libvrs}) = %{version}
  52 +
  53 +BuildRequires: autoconf
  54 +BuildRequires: automake
  55 +BuildRequires: gettext-tools
  56 +
  57 +BuildRequires: mingw32-cross-binutils
  58 +BuildRequires: mingw32-cross-gcc
  59 +BuildRequires: mingw32-cross-gcc-c++
  60 +BuildRequires: mingw32-cross-pkg-config
  61 +BuildRequires: mingw32-filesystem
  62 +BuildRequires: mingw32-libopenssl-devel
  63 +BuildRequires: mingw32-zlib-devel
  64 +BuildRequires: mingw32(lib:iconv)
  65 +BuildRequires: mingw32(lib:intl)
  66 +
  67 +%description
  68 +
  69 +TN3270 access library originally designed as part of the pw3270 application.
  70 +
  71 +See more details at https://softwarepublico.gov.br/social/pw3270/
  72 +
  73 +#---[ Development ]---------------------------------------------------------------------------------------------------
  74 +
  75 +%package devel
  76 +
  77 +Summary: TN3270 Access library development files
  78 +Group: Development/Libraries/C and C++
  79 +Requires: %{name} = %{version}
  80 +
  81 +Provides: mingw32-lib3270-devel = %{version}
  82 +Conflicts: otherproviders(mingw32-lib3270-devel)
  83 +
  84 +%description devel
  85 +
  86 +TN3270 access library for C development files.
  87 +
  88 +Originally designed as part of the pw3270 application.
  89 +
  90 +See more details at https://softwarepublico.gov.br/social/pw3270/
  91 +
  92 +#---[ Build & Install ]-----------------------------------------------------------------------------------------------
  93 +
  94 +%prep
  95 +%setup
  96 +
  97 +NOCONFIGURE=1 ./autogen.sh
  98 +
  99 +%{_mingw32_configure} \
  100 + --with-sdk-version=%{version}
  101 +
  102 +%build
  103 +make clean
  104 +make all
  105 +
  106 +%{_mingw32_strip} \
  107 + --strip-all \
  108 + .bin/Release/*.dll
  109 +
  110 +%install
  111 +%{_mingw32_makeinstall}
  112 +
  113 +%clean
  114 +rm -rf %{buildroot}
  115 +
  116 +#---[ Files ]---------------------------------------------------------------------------------------------------------
  117 +
  118 +%files
  119 +%defattr(-,root,root)
  120 +%doc AUTHORS LICENSE README.md
  121 +
  122 +%{_mingw32_libdir}/lib3270.dll
  123 +%{_mingw32_libdir}/lib3270.dll.%{MAJOR_VERSION}
  124 +%{_mingw32_libdir}/lib3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION}
  125 +
  126 +%{_mingw32_libdir}/lib3270++.dll
  127 +%{_mingw32_libdir}/lib3270++.dll.%{MAJOR_VERSION}
  128 +%{_mingw32_libdir}/lib3270++.dll.%{MAJOR_VERSION}.%{MINOR_VERSION}
  129 +
  130 +%files devel
  131 +%defattr(-,root,root)
  132 +
  133 +%{_mingw32_includedir}/lib3270
  134 +
  135 +%{_mingw32_includedir}/*.h
  136 +%{_mingw32_libdir}/pkgconfig/*.pc
  137 +%{_mingw32_libdir}/*.a
  138 +
  139 +%changelog
  140 +
... ...
win/mingw64-lib3270.spec
... ... @@ -1,139 +0,0 @@
1   -#
2   -# spec file for package mingw64-lib3279
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: TN3270 Access library
35   -Name: mingw64-lib3270-%{_libvrs}
36   -Version: 5.2
37   -Release: 0
38   -License: GPL-2.0
39   -
40   -Source: %{name}-%{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(lib:3270) = %{version}
48   -Provides: mingw64(lib:3270-%{_libvrs}) = %{version}
49   -
50   -Provides: mingw64(lib:3270++) = %{version}
51   -Provides: mingw64(lib:3270++%{_libvrs}) = %{version}
52   -
53   -BuildRequires: autoconf
54   -BuildRequires: automake
55   -BuildRequires: gettext-tools
56   -
57   -BuildRequires: mingw64-cross-binutils
58   -BuildRequires: mingw64-cross-gcc
59   -BuildRequires: mingw64-cross-gcc-c++
60   -BuildRequires: mingw64-cross-pkg-config
61   -BuildRequires: mingw64-filesystem
62   -BuildRequires: mingw64-libopenssl-devel
63   -BuildRequires: mingw64-zlib-devel
64   -BuildRequires: mingw64(lib:iconv)
65   -BuildRequires: mingw64(lib:intl)
66   -
67   -%description
68   -
69   -TN3270 access library originally designed as part of the pw3270 application.
70   -
71   -See more details at https://softwarepublico.gov.br/social/pw3270/
72   -
73   -#---[ Development ]---------------------------------------------------------------------------------------------------
74   -
75   -%package devel
76   -
77   -Summary: TN3270 Access library development files
78   -Group: Development/Libraries/C and C++
79   -Requires: %{name} = %{version}
80   -
81   -Provides: mingw64-lib3270-devel = %{version}
82   -Conflicts: otherproviders(mingw64-lib3270-devel)
83   -
84   -%description devel
85   -
86   -TN3270 access library for C development files.
87   -
88   -Originally designed as part of the pw3270 application.
89   -
90   -See more details at https://softwarepublico.gov.br/social/pw3270/
91   -
92   -#---[ Build & Install ]-----------------------------------------------------------------------------------------------
93   -
94   -%prep
95   -%setup
96   -
97   -NOCONFIGURE=1 ./autogen.sh
98   -
99   -%{_mingw64_configure} \
100   - --with-sdk-version=%{version}
101   -
102   -%build
103   -make clean
104   -make all
105   -
106   -%{_mingw64_strip} \
107   - --strip-all \
108   - .bin/Release/*.dll
109   -
110   -%install
111   -%{_mingw64_makeinstall}
112   -
113   -%clean
114   -rm -rf %{buildroot}
115   -
116   -#---[ Files ]---------------------------------------------------------------------------------------------------------
117   -
118   -%files
119   -%defattr(-,root,root)
120   -%doc AUTHORS LICENSE README.md
121   -
122   -%{_mingw64_libdir}/lib3270.dll
123   -%{_mingw64_libdir}/lib3270.dll.%{MAJOR_VERSION}
124   -%{_mingw64_libdir}/lib3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION}
125   -
126   -%{_mingw64_libdir}/lib3270++.dll
127   -%{_mingw64_libdir}/lib3270++.dll.%{MAJOR_VERSION}
128   -%{_mingw64_libdir}/lib3270++.dll.%{MAJOR_VERSION}.%{MINOR_VERSION}
129   -
130   -%files devel
131   -%defattr(-,root,root)
132   -
133   -%{_mingw64_includedir}/lib3270
134   -
135   -%{_mingw64_includedir}/*.h
136   -%{_mingw64_libdir}/pkgconfig/*.pc
137   -%{_mingw64_libdir}/*.a
138   -
139   -%changelog
win/mingw64-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/lib3270.git</param>
10   - <param name="scm">git</param>
11   - <param name="filename">mingw64-lib3270-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-lib3270.spec</param>
18   - <param name="outfilename">mingw64-lib3270-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/mingw64/_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/lib3270.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-lib3270.spec</param>
  16 + <param name="outfilename">mingw64-lib3270.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/mingw64/lib3270.spec 0 → 100644
... ... @@ -0,0 +1,139 @@
  1 +#
  2 +# spec file for package mingw64-lib3279
  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: TN3270 Access library
  35 +Name: mingw64-lib3270-%{_libvrs}
  36 +Version: 5.2
  37 +Release: 0
  38 +License: GPL-2.0
  39 +
  40 +Source: %{name}-%{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(lib:3270) = %{version}
  48 +Provides: mingw64(lib:3270-%{_libvrs}) = %{version}
  49 +
  50 +Provides: mingw64(lib:3270++) = %{version}
  51 +Provides: mingw64(lib:3270++%{_libvrs}) = %{version}
  52 +
  53 +BuildRequires: autoconf
  54 +BuildRequires: automake
  55 +BuildRequires: gettext-tools
  56 +
  57 +BuildRequires: mingw64-cross-binutils
  58 +BuildRequires: mingw64-cross-gcc
  59 +BuildRequires: mingw64-cross-gcc-c++
  60 +BuildRequires: mingw64-cross-pkg-config
  61 +BuildRequires: mingw64-filesystem
  62 +BuildRequires: mingw64-libopenssl-devel
  63 +BuildRequires: mingw64-zlib-devel
  64 +BuildRequires: mingw64(lib:iconv)
  65 +BuildRequires: mingw64(lib:intl)
  66 +
  67 +%description
  68 +
  69 +TN3270 access library originally designed as part of the pw3270 application.
  70 +
  71 +See more details at https://softwarepublico.gov.br/social/pw3270/
  72 +
  73 +#---[ Development ]---------------------------------------------------------------------------------------------------
  74 +
  75 +%package devel
  76 +
  77 +Summary: TN3270 Access library development files
  78 +Group: Development/Libraries/C and C++
  79 +Requires: %{name} = %{version}
  80 +
  81 +Provides: mingw64-lib3270-devel = %{version}
  82 +Conflicts: otherproviders(mingw64-lib3270-devel)
  83 +
  84 +%description devel
  85 +
  86 +TN3270 access library for C development files.
  87 +
  88 +Originally designed as part of the pw3270 application.
  89 +
  90 +See more details at https://softwarepublico.gov.br/social/pw3270/
  91 +
  92 +#---[ Build & Install ]-----------------------------------------------------------------------------------------------
  93 +
  94 +%prep
  95 +%setup
  96 +
  97 +NOCONFIGURE=1 ./autogen.sh
  98 +
  99 +%{_mingw64_configure} \
  100 + --with-sdk-version=%{version}
  101 +
  102 +%build
  103 +make clean
  104 +make all
  105 +
  106 +%{_mingw64_strip} \
  107 + --strip-all \
  108 + .bin/Release/*.dll
  109 +
  110 +%install
  111 +%{_mingw64_makeinstall}
  112 +
  113 +%clean
  114 +rm -rf %{buildroot}
  115 +
  116 +#---[ Files ]---------------------------------------------------------------------------------------------------------
  117 +
  118 +%files
  119 +%defattr(-,root,root)
  120 +%doc AUTHORS LICENSE README.md
  121 +
  122 +%{_mingw64_libdir}/lib3270.dll
  123 +%{_mingw64_libdir}/lib3270.dll.%{MAJOR_VERSION}
  124 +%{_mingw64_libdir}/lib3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION}
  125 +
  126 +%{_mingw64_libdir}/lib3270++.dll
  127 +%{_mingw64_libdir}/lib3270++.dll.%{MAJOR_VERSION}
  128 +%{_mingw64_libdir}/lib3270++.dll.%{MAJOR_VERSION}.%{MINOR_VERSION}
  129 +
  130 +%files devel
  131 +%defattr(-,root,root)
  132 +
  133 +%{_mingw64_includedir}/lib3270
  134 +
  135 +%{_mingw64_includedir}/*.h
  136 +%{_mingw64_libdir}/pkgconfig/*.pc
  137 +%{_mingw64_libdir}/*.a
  138 +
  139 +%changelog
... ...