Commit acf296a75bb00d0249373fe830efa925bb3d706a

Authored by Perry Werneck
1 parent 2d3a5ac6

Adjustments for windows packaging.

win/mingw32/_service
... ... @@ -1,26 +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="versionformat">@PARENT_TAG@</param>
7   - <param name="url">https://github.com/PerryWerneck/lib3270.git</param>
8   - <param name="scm">git</param>
9   - </service>
10   -
11   - <!-- https://github.com/openSUSE/obs-service-extract_file -->
12   - <!-- service name="extract_file">
13   - <param name="archive">*.tar</param>
14   - <param name="files">*/win/mingw32/lib3270.spec</param>
15   - <param name="outfilename">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/mingw32-lib3270.spec
... ... @@ -1,139 +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: lib3270-%{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   -BuildRequires: autoconf
51   -BuildRequires: automake
52   -BuildRequires: gettext-tools
53   -
54   -BuildRequires: mingw32-cross-binutils
55   -BuildRequires: mingw32-cross-gcc
56   -BuildRequires: mingw32-cross-gcc-c++
57   -BuildRequires: mingw32-cross-pkg-config
58   -BuildRequires: mingw32-filesystem
59   -BuildRequires: mingw32-libopenssl-devel
60   -BuildRequires: mingw32-zlib-devel
61   -BuildRequires: mingw32(lib:iconv)
62   -BuildRequires: mingw32(lib:intl)
63   -
64   -%description
65   -
66   -TN3270 access library originally designed as part of the pw3270 application.
67   -
68   -See more details at https://softwarepublico.gov.br/social/pw3270/
69   -
70   -#---[ Development ]---------------------------------------------------------------------------------------------------
71   -
72   -%package devel
73   -
74   -Summary: TN3270 Access library development files
75   -Group: Development/Libraries/C and C++
76   -Requires: %{name} = %{version}
77   -
78   -Provides: mingw32-lib3270-devel = %{version}
79   -Conflicts: otherproviders(mingw32-lib3270-devel)
80   -
81   -%description devel
82   -
83   -TN3270 access library for C development files.
84   -
85   -Originally designed as part of the pw3270 application.
86   -
87   -See more details at https://softwarepublico.gov.br/social/pw3270/
88   -
89   -#---[ Build & Install ]-----------------------------------------------------------------------------------------------
90   -
91   -%prep
92   -%setup -n lib3270-%{version}
93   -
94   -NOCONFIGURE=1 ./autogen.sh
95   -
96   -%{_mingw32_configure} \
97   - --with-sdk-version=%{version}
98   -
99   -%build
100   -make clean
101   -make all
102   -
103   -%{_mingw32_strip} \
104   - --strip-all \
105   - .bin/Release/*.dll
106   -
107   -%install
108   -%{_mingw32_makeinstall}
109   -
110   -%clean
111   -rm -rf %{buildroot}
112   -
113   -#---[ Files ]---------------------------------------------------------------------------------------------------------
114   -
115   -%files
116   -%defattr(-,root,root)
117   -%doc AUTHORS LICENSE README.md
118   -
119   -%{_mingw32_libdir}/lib3270.dll
120   -%{_mingw32_libdir}/lib3270.dll.%{MAJOR_VERSION}
121   -%{_mingw32_libdir}/lib3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION}
122   -
123   -%dir %{_mingw32_datadir}/pw3270
124   -
125   -%files devel
126   -%defattr(-,root,root)
127   -
128   -%{_mingw32_includedir}/lib3270
129   -
130   -%{_mingw32_includedir}/*.h
131   -%{_mingw32_libdir}/pkgconfig/*.pc
132   -%{_mingw32_libdir}/*.a
133   -
134   -%dir %{_mingw32_datadir}/pw3270/pot
135   -%{_mingw32_datadir}/pw3270/pot/*.pot
136   -
137   -
138   -%changelog
139   -
win/mingw64/_service
... ... @@ -1,26 +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="versionformat">@PARENT_TAG@</param>
7   - <param name="url">https://github.com/PerryWerneck/lib3270.git</param>
8   - <param name="scm">git</param>
9   - </service>
10   -
11   - <!-- https://github.com/openSUSE/obs-service-extract_file -->
12   - <!--service name="extract_file">
13   - <param name="archive">*.tar</param>
14   - <param name="files">*/win/mingw64/lib3270.spec</param>
15   - <param name="outfilename">mingw64-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/mingw64/mingw64-lib3270.spec
... ... @@ -1,137 +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: lib3270-%{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   -BuildRequires: autoconf
51   -BuildRequires: automake
52   -BuildRequires: gettext-tools
53   -
54   -BuildRequires: mingw64-cross-binutils
55   -BuildRequires: mingw64-cross-gcc
56   -BuildRequires: mingw64-cross-gcc-c++
57   -BuildRequires: mingw64-cross-pkg-config
58   -BuildRequires: mingw64-filesystem
59   -BuildRequires: mingw64-libopenssl-devel
60   -BuildRequires: mingw64-zlib-devel
61   -BuildRequires: mingw64(lib:iconv)
62   -BuildRequires: mingw64(lib:intl)
63   -
64   -%description
65   -
66   -TN3270 access library originally designed as part of the pw3270 application.
67   -
68   -See more details at https://softwarepublico.gov.br/social/pw3270/
69   -
70   -#---[ Development ]---------------------------------------------------------------------------------------------------
71   -
72   -%package devel
73   -
74   -Summary: TN3270 Access library development files
75   -Group: Development/Libraries/C and C++
76   -Requires: %{name} = %{version}
77   -
78   -Provides: mingw64-lib3270-devel = %{version}
79   -Conflicts: otherproviders(mingw64-lib3270-devel)
80   -
81   -%description devel
82   -
83   -TN3270 access library for C development files.
84   -
85   -Originally designed as part of the pw3270 application.
86   -
87   -See more details at https://softwarepublico.gov.br/social/pw3270/
88   -
89   -#---[ Build & Install ]-----------------------------------------------------------------------------------------------
90   -
91   -%prep
92   -%setup -n lib3270-%{version}
93   -
94   -NOCONFIGURE=1 ./autogen.sh
95   -
96   -%{_mingw64_configure} \
97   - --with-sdk-version=%{version}
98   -
99   -%build
100   -make clean
101   -make all
102   -
103   -%{_mingw64_strip} \
104   - --strip-all \
105   - .bin/Release/*.dll
106   -
107   -%install
108   -%{_mingw64_makeinstall}
109   -
110   -%clean
111   -rm -rf %{buildroot}
112   -
113   -#---[ Files ]---------------------------------------------------------------------------------------------------------
114   -
115   -%files
116   -%defattr(-,root,root)
117   -%doc AUTHORS LICENSE README.md
118   -
119   -%{_mingw64_libdir}/lib3270.dll
120   -%{_mingw64_libdir}/lib3270.dll.%{MAJOR_VERSION}
121   -%{_mingw64_libdir}/lib3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION}
122   -
123   -%dir %{_mingw64_datadir}/pw3270
124   -
125   -%files devel
126   -%defattr(-,root,root)
127   -
128   -%{_mingw64_includedir}/lib3270
129   -
130   -%{_mingw64_includedir}/*.h
131   -%{_mingw64_libdir}/pkgconfig/*.pc
132   -%{_mingw64_libdir}/*.a
133   -
134   -%dir %{_mingw64_datadir}/pw3270/pot
135   -%{_mingw64_datadir}/pw3270/pot/*.pot
136   -
137   -%changelog
win/x86_32/_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="versionformat">@PARENT_TAG@</param>
  7 + <param name="url">https://github.com/PerryWerneck/lib3270.git</param>
  8 + <param name="scm">git</param>
  9 + </service>
  10 +
  11 + <!-- https://github.com/openSUSE/obs-service-extract_file -->
  12 + <!-- service name="extract_file">
  13 + <param name="archive">*.tar</param>
  14 + <param name="files">*/win/mingw32/lib3270.spec</param>
  15 + <param name="outfilename">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/x86_32/mingw32-lib3270.spec 0 → 100644
... ... @@ -0,0 +1,139 @@
  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: lib3270-%{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 +BuildRequires: autoconf
  51 +BuildRequires: automake
  52 +BuildRequires: gettext-tools
  53 +
  54 +BuildRequires: mingw32-cross-binutils
  55 +BuildRequires: mingw32-cross-gcc
  56 +BuildRequires: mingw32-cross-gcc-c++
  57 +BuildRequires: mingw32-cross-pkg-config
  58 +BuildRequires: mingw32-filesystem
  59 +BuildRequires: mingw32-libopenssl-devel
  60 +BuildRequires: mingw32-zlib-devel
  61 +BuildRequires: mingw32(lib:iconv)
  62 +BuildRequires: mingw32(lib:intl)
  63 +
  64 +%description
  65 +
  66 +TN3270 access library originally designed as part of the pw3270 application.
  67 +
  68 +See more details at https://softwarepublico.gov.br/social/pw3270/
  69 +
  70 +#---[ Development ]---------------------------------------------------------------------------------------------------
  71 +
  72 +%package devel
  73 +
  74 +Summary: TN3270 Access library development files
  75 +Group: Development/Libraries/C and C++
  76 +Requires: %{name} = %{version}
  77 +
  78 +Provides: mingw32-lib3270-devel = %{version}
  79 +Conflicts: otherproviders(mingw32-lib3270-devel)
  80 +
  81 +%description devel
  82 +
  83 +TN3270 access library for C development files.
  84 +
  85 +Originally designed as part of the pw3270 application.
  86 +
  87 +See more details at https://softwarepublico.gov.br/social/pw3270/
  88 +
  89 +#---[ Build & Install ]-----------------------------------------------------------------------------------------------
  90 +
  91 +%prep
  92 +%setup -n lib3270-%{version}
  93 +
  94 +NOCONFIGURE=1 ./autogen.sh
  95 +
  96 +%{_mingw32_configure} \
  97 + --with-sdk-version=%{version}
  98 +
  99 +%build
  100 +make clean
  101 +make all
  102 +
  103 +%{_mingw32_strip} \
  104 + --strip-all \
  105 + .bin/Release/*.dll
  106 +
  107 +%install
  108 +%{_mingw32_makeinstall}
  109 +
  110 +%clean
  111 +rm -rf %{buildroot}
  112 +
  113 +#---[ Files ]---------------------------------------------------------------------------------------------------------
  114 +
  115 +%files
  116 +%defattr(-,root,root)
  117 +%doc AUTHORS LICENSE README.md
  118 +
  119 +%{_mingw32_libdir}/lib3270.dll
  120 +%{_mingw32_libdir}/lib3270.dll.%{MAJOR_VERSION}
  121 +%{_mingw32_libdir}/lib3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION}
  122 +
  123 +%dir %{_mingw32_datadir}/pw3270
  124 +
  125 +%files devel
  126 +%defattr(-,root,root)
  127 +
  128 +%{_mingw32_includedir}/lib3270
  129 +
  130 +%{_mingw32_includedir}/*.h
  131 +%{_mingw32_libdir}/pkgconfig/*.pc
  132 +%{_mingw32_libdir}/*.a
  133 +
  134 +%dir %{_mingw32_datadir}/pw3270/pot
  135 +%{_mingw32_datadir}/pw3270/pot/*.pot
  136 +
  137 +
  138 +%changelog
  139 +
... ...
win/x86_64/_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="versionformat">@PARENT_TAG@</param>
  7 + <param name="url">https://github.com/PerryWerneck/lib3270.git</param>
  8 + <param name="scm">git</param>
  9 + </service>
  10 +
  11 + <!-- https://github.com/openSUSE/obs-service-extract_file -->
  12 + <!--service name="extract_file">
  13 + <param name="archive">*.tar</param>
  14 + <param name="files">*/win/mingw64/lib3270.spec</param>
  15 + <param name="outfilename">mingw64-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/x86_64/mingw64-lib3270.spec 0 → 100644
... ... @@ -0,0 +1,137 @@
  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: lib3270-%{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 +BuildRequires: autoconf
  51 +BuildRequires: automake
  52 +BuildRequires: gettext-tools
  53 +
  54 +BuildRequires: mingw64-cross-binutils
  55 +BuildRequires: mingw64-cross-gcc
  56 +BuildRequires: mingw64-cross-gcc-c++
  57 +BuildRequires: mingw64-cross-pkg-config
  58 +BuildRequires: mingw64-filesystem
  59 +BuildRequires: mingw64-libopenssl-devel
  60 +BuildRequires: mingw64-zlib-devel
  61 +BuildRequires: mingw64(lib:iconv)
  62 +BuildRequires: mingw64(lib:intl)
  63 +
  64 +%description
  65 +
  66 +TN3270 access library originally designed as part of the pw3270 application.
  67 +
  68 +See more details at https://softwarepublico.gov.br/social/pw3270/
  69 +
  70 +#---[ Development ]---------------------------------------------------------------------------------------------------
  71 +
  72 +%package devel
  73 +
  74 +Summary: TN3270 Access library development files
  75 +Group: Development/Libraries/C and C++
  76 +Requires: %{name} = %{version}
  77 +
  78 +Provides: mingw64-lib3270-devel = %{version}
  79 +Conflicts: otherproviders(mingw64-lib3270-devel)
  80 +
  81 +%description devel
  82 +
  83 +TN3270 access library for C development files.
  84 +
  85 +Originally designed as part of the pw3270 application.
  86 +
  87 +See more details at https://softwarepublico.gov.br/social/pw3270/
  88 +
  89 +#---[ Build & Install ]-----------------------------------------------------------------------------------------------
  90 +
  91 +%prep
  92 +%setup -n lib3270-%{version}
  93 +
  94 +NOCONFIGURE=1 ./autogen.sh
  95 +
  96 +%{_mingw64_configure} \
  97 + --with-sdk-version=%{version}
  98 +
  99 +%build
  100 +make clean
  101 +make all
  102 +
  103 +%{_mingw64_strip} \
  104 + --strip-all \
  105 + .bin/Release/*.dll
  106 +
  107 +%install
  108 +%{_mingw64_makeinstall}
  109 +
  110 +%clean
  111 +rm -rf %{buildroot}
  112 +
  113 +#---[ Files ]---------------------------------------------------------------------------------------------------------
  114 +
  115 +%files
  116 +%defattr(-,root,root)
  117 +%doc AUTHORS LICENSE README.md
  118 +
  119 +%{_mingw64_libdir}/lib3270.dll
  120 +%{_mingw64_libdir}/lib3270.dll.%{MAJOR_VERSION}
  121 +%{_mingw64_libdir}/lib3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION}
  122 +
  123 +%dir %{_mingw64_datadir}/pw3270
  124 +
  125 +%files devel
  126 +%defattr(-,root,root)
  127 +
  128 +%{_mingw64_includedir}/lib3270
  129 +
  130 +%{_mingw64_includedir}/*.h
  131 +%{_mingw64_libdir}/pkgconfig/*.pc
  132 +%{_mingw64_libdir}/*.a
  133 +
  134 +%dir %{_mingw64_datadir}/pw3270/pot
  135 +%{_mingw64_datadir}/pw3270/pot/*.pot
  136 +
  137 +%changelog
... ...