Commit 43146242fb9edc7a6da0e2bd4861dc28d8be8812
1 parent
6746dffa
Exists in
master
and in
1 other branch
Updating windows package.
Showing
2 changed files
with
100 additions
and
107 deletions
Show diff stats
win/x86_32/mingw32-libipc3270.spec
| 1 | # | 1 | # |
| 2 | -# spec file for packages mingw32-libipc3270 | 2 | +# spec file for package mingw32-%{_libname} |
| 3 | # | 3 | # |
| 4 | # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. | 4 | # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. |
| 5 | # Copyright (C) <2008> <Banco do Brasil S.A.> | 5 | # Copyright (C) <2008> <Banco do Brasil S.A.> |
| @@ -16,6 +16,8 @@ | @@ -16,6 +16,8 @@ | ||
| 16 | # Please submit bugfixes or comments via http://bugs.opensuse.org/ | 16 | # Please submit bugfixes or comments via http://bugs.opensuse.org/ |
| 17 | # | 17 | # |
| 18 | 18 | ||
| 19 | +%define _libname libipc3270 | ||
| 20 | + | ||
| 19 | %define __strip %{_mingw32_strip} | 21 | %define __strip %{_mingw32_strip} |
| 20 | %define __objdump %{_mingw32_objdump} | 22 | %define __objdump %{_mingw32_objdump} |
| 21 | %define _use_internal_dependency_generator 0 | 23 | %define _use_internal_dependency_generator 0 |
| @@ -23,34 +25,32 @@ | @@ -23,34 +25,32 @@ | ||
| 23 | %define __find_provides %{_mingw32_findprovides} | 25 | %define __find_provides %{_mingw32_findprovides} |
| 24 | %define __os_install_post %{_mingw32_debug_install_post} \ | 26 | %define __os_install_post %{_mingw32_debug_install_post} \ |
| 25 | %{_mingw32_install_post} | 27 | %{_mingw32_install_post} |
| 28 | + | ||
| 29 | +#---[ Package header ]------------------------------------------------------------------------------------------------ | ||
| 26 | 30 | ||
| 27 | -#---[ Main package ]-------------------------------------------------------------------------------------------------- | ||
| 28 | - | ||
| 29 | -Name: mingw32-libipc3270 | ||
| 30 | -Summary: lib3270/pw3270 IPC client library. | ||
| 31 | -Version: 5.2 | ||
| 32 | -Release: 0 | ||
| 33 | -License: LGPL-3.0 | ||
| 34 | -Source: libipc3270-%{version}.tar.xz | 31 | +Summary: lib3270/pw3270 IPC client library for 32 bits Windows |
| 32 | +Name: mingw32-%{_libname} | ||
| 33 | +Version: 5.2 | ||
| 34 | +Release: 0 | ||
| 35 | +License: LGPL-3.0 | ||
| 35 | 36 | ||
| 36 | -Url: https://github.com/PerryWerneck/libipc3270.git | 37 | +Source: %{_libname}-%{version}.tar.xz |
| 38 | +URL: https://github.com/PerryWerneck/%{_libname} | ||
| 37 | 39 | ||
| 38 | -Group: Development/Libraries/C and C++ | 40 | +Group: System/Libraries |
| 41 | +BuildRoot: /var/tmp/%{name}-%{version} | ||
| 39 | 42 | ||
| 40 | -BuildRequires: autoconf >= 2.61 | ||
| 41 | -BuildRequires: automake | ||
| 42 | -BuildRequires: binutils | ||
| 43 | -BuildRequires: coreutils | ||
| 44 | -BuildRequires: gcc-c++ | ||
| 45 | -BuildRequires: gettext-devel | ||
| 46 | -BuildRequires: m4 | 43 | +BuildRequires: autoconf >= 2.61 |
| 44 | +BuildRequires: automake | ||
| 45 | +BuildRequires: gettext-devel | ||
| 46 | +BuildRequires: xz | ||
| 47 | +BuildRequires: fdupes | ||
| 47 | 48 | ||
| 48 | BuildRequires: mingw32-cross-binutils | 49 | BuildRequires: mingw32-cross-binutils |
| 49 | BuildRequires: mingw32-cross-gcc | 50 | BuildRequires: mingw32-cross-gcc |
| 50 | BuildRequires: mingw32-cross-gcc-c++ | 51 | BuildRequires: mingw32-cross-gcc-c++ |
| 51 | BuildRequires: mingw32-cross-pkg-config | 52 | BuildRequires: mingw32-cross-pkg-config |
| 52 | BuildRequires: mingw32-filesystem | 53 | BuildRequires: mingw32-filesystem |
| 53 | -BuildRequires: mingw32-zlib-devel | ||
| 54 | BuildRequires: mingw32(lib:iconv) | 54 | BuildRequires: mingw32(lib:iconv) |
| 55 | BuildRequires: mingw32(lib:intl) | 55 | BuildRequires: mingw32(lib:intl) |
| 56 | 56 | ||
| @@ -59,12 +59,11 @@ BuildRequires: mingw32(pkg:lib3270) | @@ -59,12 +59,11 @@ BuildRequires: mingw32(pkg:lib3270) | ||
| 59 | BuildRequires: mingw32(pkg:libv3270) | 59 | BuildRequires: mingw32(pkg:libv3270) |
| 60 | 60 | ||
| 61 | %description | 61 | %description |
| 62 | - | ||
| 63 | IPC client library for lib3270/pw3270. | 62 | IPC client library for lib3270/pw3270. |
| 64 | 63 | ||
| 65 | Designed as framework for language bindings. | 64 | Designed as framework for language bindings. |
| 66 | 65 | ||
| 67 | -See more details at https://softwarepublico.gov.br/social/pw3270/ | 66 | +For more details, see https://softwarepublico.gov.br/social/pw3270/ . |
| 68 | 67 | ||
| 69 | #---[ Library ]------------------------------------------------------------------------------------------------------- | 68 | #---[ Library ]------------------------------------------------------------------------------------------------------- |
| 70 | 69 | ||
| @@ -74,29 +73,26 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | @@ -74,29 +73,26 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | ||
| 74 | %define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} | 73 | %define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} |
| 75 | 74 | ||
| 76 | %package -n %{name}-%{_libvrs} | 75 | %package -n %{name}-%{_libvrs} |
| 77 | -Summary: IPC Library for pw3270 | ||
| 78 | -Group: Development/Libraries/C and C++ | ||
| 79 | -Provides: mingw32(lib:ipc3270) | 76 | +Summary: TN3270 Access library |
| 77 | +Group: Development/Libraries/C and C++ | ||
| 80 | 78 | ||
| 81 | %description -n %{name}-%{_libvrs} | 79 | %description -n %{name}-%{_libvrs} |
| 82 | - | ||
| 83 | IPC client library for lib3270/pw3270. | 80 | IPC client library for lib3270/pw3270. |
| 84 | 81 | ||
| 85 | Designed as framework for language bindings. | 82 | Designed as framework for language bindings. |
| 86 | 83 | ||
| 87 | -See more details at https://softwarepublico.gov.br/social/pw3270/ | 84 | +For more details, see https://softwarepublico.gov.br/social/pw3270/ . |
| 88 | 85 | ||
| 89 | #---[ Development ]--------------------------------------------------------------------------------------------------- | 86 | #---[ Development ]--------------------------------------------------------------------------------------------------- |
| 90 | 87 | ||
| 91 | %package devel | 88 | %package devel |
| 92 | -Summary: Development files for %{name} | ||
| 93 | -Requires: mingw32(pkg:lib3270) | ||
| 94 | - | ||
| 95 | -%description devel | ||
| 96 | 89 | ||
| 97 | -Development files for lib3270/pw3270 IPC client library. | 90 | +Summary: TN3270 Access library development files |
| 91 | +Group: Development/Libraries/C and C++ | ||
| 92 | +Requires: %{name}-%{_libvrs} = %{version} | ||
| 98 | 93 | ||
| 99 | -Designed as a support tool for language bindings. | 94 | +%description devel |
| 95 | +Header files for the ipc3270 library. | ||
| 100 | 96 | ||
| 101 | #---[ Plugin module for pw3270 main application ]---------------------------------------------------------------------- | 97 | #---[ Plugin module for pw3270 main application ]---------------------------------------------------------------------- |
| 102 | 98 | ||
| @@ -106,32 +102,31 @@ Requires: mingw32-%{_product} >= 5.2 | @@ -106,32 +102,31 @@ Requires: mingw32-%{_product} >= 5.2 | ||
| 106 | 102 | ||
| 107 | %description -n mingw32-%{_product}-plugin-ipc | 103 | %description -n mingw32-%{_product}-plugin-ipc |
| 108 | 104 | ||
| 109 | -PW3270 plugin exporting D-Bus objects for every tn3270 session. | 105 | +PW3270 plugin exporting D-Bus objects to be used by the ipc3270 client library. |
| 110 | 106 | ||
| 111 | See more details at https://softwarepublico.gov.br/social/pw3270/ | 107 | See more details at https://softwarepublico.gov.br/social/pw3270/ |
| 112 | 108 | ||
| 113 | #---[ Build & Install ]----------------------------------------------------------------------------------------------- | 109 | #---[ Build & Install ]----------------------------------------------------------------------------------------------- |
| 114 | 110 | ||
| 115 | %prep | 111 | %prep |
| 116 | -%setup -n libipc3270-%{version} | 112 | +%setup -n %{_libname}-%{version} |
| 117 | 113 | ||
| 118 | NOCONFIGURE=1 \ | 114 | NOCONFIGURE=1 \ |
| 119 | ./autogen.sh | 115 | ./autogen.sh |
| 120 | 116 | ||
| 121 | -%{_mingw32_configure} \ | ||
| 122 | - --enable-static | 117 | +%{_mingw32_configure} |
| 123 | 118 | ||
| 124 | %build | 119 | %build |
| 125 | -make all | 120 | +make all %{?_smp_mflags} |
| 126 | 121 | ||
| 127 | %{_mingw32_strip} \ | 122 | %{_mingw32_strip} \ |
| 128 | --strip-all \ | 123 | --strip-all \ |
| 129 | - .bin/Release/*.dll | 124 | + .bin/Release/*.dll |
| 130 | 125 | ||
| 131 | -%install | ||
| 132 | -rm -rf $RPM_BUILD_ROOT | ||
| 133 | 126 | ||
| 134 | -%makeinstall | 127 | +%install |
| 128 | +%{_mingw32_makeinstall} | ||
| 129 | +%fdupes %{buildroot} | ||
| 135 | 130 | ||
| 136 | %files -n %{name}-%{_libvrs} | 131 | %files -n %{name}-%{_libvrs} |
| 137 | %defattr(-,root,root) | 132 | %defattr(-,root,root) |
| @@ -139,26 +134,28 @@ rm -rf $RPM_BUILD_ROOT | @@ -139,26 +134,28 @@ rm -rf $RPM_BUILD_ROOT | ||
| 139 | %doc AUTHORS README.md | 134 | %doc AUTHORS README.md |
| 140 | %license LICENSE | 135 | %license LICENSE |
| 141 | 136 | ||
| 142 | -%{_mingw32_libdir}/libipc3270.dll | ||
| 143 | -%{_mingw32_libdir}/libipc3270.dll.%{MAJOR_VERSION} | ||
| 144 | -%{_mingw32_libdir}/libipc3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | 137 | +%dir %{_mingw32_datadir}/%{_product} |
| 145 | 138 | ||
| 146 | -%files -n mingw32-%{_product}-plugin-ipc | ||
| 147 | -%defattr(-,root,root) | ||
| 148 | - | ||
| 149 | -%dir %{_mingw32_libdir}/%{_product}-plugins | ||
| 150 | -%{_mingw32_libdir}/%{_product}-plugins/ipcserver.dll | 139 | +%{_mingw32_bindir}/*.dll |
| 151 | 140 | ||
| 152 | %files devel | 141 | %files devel |
| 153 | %defattr(-,root,root) | 142 | %defattr(-,root,root) |
| 143 | + | ||
| 144 | +%{_mingw32_libdir}/*.a | ||
| 145 | + | ||
| 154 | %{_mingw32_includedir}/lib3270/ipc.h | 146 | %{_mingw32_includedir}/lib3270/ipc.h |
| 155 | -%dir %{_mingw32_includedir}/lib3270/ipc | ||
| 156 | -%{_mingw32_includedir}/lib3270/ipc/*.h | 147 | +%{_mingw32_includedir}/lib3270/ipc |
| 148 | + | ||
| 157 | %{_mingw32_libdir}/pkgconfig/*.pc | 149 | %{_mingw32_libdir}/pkgconfig/*.pc |
| 158 | -%{_mingw32_libdir}/*.a | ||
| 159 | -%{_mingw32_libdir}/*.lib | ||
| 160 | 150 | ||
| 151 | +%dir %{_mingw32_datadir}/%{_product}/def | ||
| 161 | %{_mingw32_datadir}/%{_product}/def/*.def | 152 | %{_mingw32_datadir}/%{_product}/def/*.def |
| 162 | 153 | ||
| 154 | +%files -n mingw32-%{_product}-plugin-ipc | ||
| 155 | +%defattr(-,root,root) | ||
| 156 | + | ||
| 157 | +%dir %{_mingw32_libdir}/%{_product}-plugins | ||
| 158 | +%{_mingw32_libdir}/%{_product}-plugins/ipcserver.dll | ||
| 159 | + | ||
| 163 | %changelog | 160 | %changelog |
| 164 | 161 |
win/x86_64/mingw64-libipc3270.spec
| 1 | # | 1 | # |
| 2 | -# spec file for packages mingw64-libipc3270 | 2 | +# spec file for package mingw64-%{_libname} |
| 3 | # | 3 | # |
| 4 | # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. | 4 | # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. |
| 5 | # Copyright (C) <2008> <Banco do Brasil S.A.> | 5 | # Copyright (C) <2008> <Banco do Brasil S.A.> |
| @@ -16,6 +16,8 @@ | @@ -16,6 +16,8 @@ | ||
| 16 | # Please submit bugfixes or comments via http://bugs.opensuse.org/ | 16 | # Please submit bugfixes or comments via http://bugs.opensuse.org/ |
| 17 | # | 17 | # |
| 18 | 18 | ||
| 19 | +%define _libname libipc3270 | ||
| 20 | + | ||
| 19 | %define __strip %{_mingw64_strip} | 21 | %define __strip %{_mingw64_strip} |
| 20 | %define __objdump %{_mingw64_objdump} | 22 | %define __objdump %{_mingw64_objdump} |
| 21 | %define _use_internal_dependency_generator 0 | 23 | %define _use_internal_dependency_generator 0 |
| @@ -23,34 +25,32 @@ | @@ -23,34 +25,32 @@ | ||
| 23 | %define __find_provides %{_mingw64_findprovides} | 25 | %define __find_provides %{_mingw64_findprovides} |
| 24 | %define __os_install_post %{_mingw64_debug_install_post} \ | 26 | %define __os_install_post %{_mingw64_debug_install_post} \ |
| 25 | %{_mingw64_install_post} | 27 | %{_mingw64_install_post} |
| 28 | + | ||
| 29 | +#---[ Package header ]------------------------------------------------------------------------------------------------ | ||
| 26 | 30 | ||
| 27 | -#---[ Main package ]-------------------------------------------------------------------------------------------------- | ||
| 28 | - | ||
| 29 | -Name: mingw64-libipc3270 | ||
| 30 | -Summary: lib3270/pw3270 IPC client library. | ||
| 31 | -Version: 5.2 | ||
| 32 | -Release: 0 | ||
| 33 | -License: LGPL-3.0 | ||
| 34 | -Source: libipc3270-%{version}.tar.xz | 31 | +Summary: lib3270/pw3270 IPC client library for 64 bits Windows |
| 32 | +Name: mingw64-%{_libname} | ||
| 33 | +Version: 5.2 | ||
| 34 | +Release: 0 | ||
| 35 | +License: LGPL-3.0 | ||
| 35 | 36 | ||
| 36 | -Url: https://github.com/PerryWerneck/libipc3270.git | 37 | +Source: %{_libname}-%{version}.tar.xz |
| 38 | +URL: https://github.com/PerryWerneck/%{_libname} | ||
| 37 | 39 | ||
| 38 | -Group: Development/Libraries/C and C++ | 40 | +Group: System/Libraries |
| 41 | +BuildRoot: /var/tmp/%{name}-%{version} | ||
| 39 | 42 | ||
| 40 | -BuildRequires: autoconf >= 2.61 | ||
| 41 | -BuildRequires: automake | ||
| 42 | -BuildRequires: binutils | ||
| 43 | -BuildRequires: coreutils | ||
| 44 | -BuildRequires: gcc-c++ | ||
| 45 | -BuildRequires: gettext-devel | ||
| 46 | -BuildRequires: m4 | 43 | +BuildRequires: autoconf >= 2.61 |
| 44 | +BuildRequires: automake | ||
| 45 | +BuildRequires: gettext-devel | ||
| 46 | +BuildRequires: xz | ||
| 47 | +BuildRequires: fdupes | ||
| 47 | 48 | ||
| 48 | BuildRequires: mingw64-cross-binutils | 49 | BuildRequires: mingw64-cross-binutils |
| 49 | BuildRequires: mingw64-cross-gcc | 50 | BuildRequires: mingw64-cross-gcc |
| 50 | BuildRequires: mingw64-cross-gcc-c++ | 51 | BuildRequires: mingw64-cross-gcc-c++ |
| 51 | BuildRequires: mingw64-cross-pkg-config | 52 | BuildRequires: mingw64-cross-pkg-config |
| 52 | BuildRequires: mingw64-filesystem | 53 | BuildRequires: mingw64-filesystem |
| 53 | -BuildRequires: mingw64-zlib-devel | ||
| 54 | BuildRequires: mingw64(lib:iconv) | 54 | BuildRequires: mingw64(lib:iconv) |
| 55 | BuildRequires: mingw64(lib:intl) | 55 | BuildRequires: mingw64(lib:intl) |
| 56 | 56 | ||
| @@ -59,12 +59,11 @@ BuildRequires: mingw64(pkg:lib3270) | @@ -59,12 +59,11 @@ BuildRequires: mingw64(pkg:lib3270) | ||
| 59 | BuildRequires: mingw64(pkg:libv3270) | 59 | BuildRequires: mingw64(pkg:libv3270) |
| 60 | 60 | ||
| 61 | %description | 61 | %description |
| 62 | - | ||
| 63 | IPC client library for lib3270/pw3270. | 62 | IPC client library for lib3270/pw3270. |
| 64 | 63 | ||
| 65 | Designed as framework for language bindings. | 64 | Designed as framework for language bindings. |
| 66 | 65 | ||
| 67 | -See more details at https://softwarepublico.gov.br/social/pw3270/ | 66 | +For more details, see https://softwarepublico.gov.br/social/pw3270/ . |
| 68 | 67 | ||
| 69 | #---[ Library ]------------------------------------------------------------------------------------------------------- | 68 | #---[ Library ]------------------------------------------------------------------------------------------------------- |
| 70 | 69 | ||
| @@ -74,30 +73,26 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | @@ -74,30 +73,26 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | ||
| 74 | %define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} | 73 | %define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} |
| 75 | 74 | ||
| 76 | %package -n %{name}-%{_libvrs} | 75 | %package -n %{name}-%{_libvrs} |
| 77 | -Summary: IPC Library for pw3270 | ||
| 78 | -Group: Development/Libraries/C and C++ | ||
| 79 | -Provides: mingw64(lib:ipc3270) | ||
| 80 | - | 76 | +Summary: TN3270 Access library |
| 77 | +Group: Development/Libraries/C and C++ | ||
| 81 | 78 | ||
| 82 | %description -n %{name}-%{_libvrs} | 79 | %description -n %{name}-%{_libvrs} |
| 83 | - | ||
| 84 | IPC client library for lib3270/pw3270. | 80 | IPC client library for lib3270/pw3270. |
| 85 | 81 | ||
| 86 | Designed as framework for language bindings. | 82 | Designed as framework for language bindings. |
| 87 | 83 | ||
| 88 | -See more details at https://softwarepublico.gov.br/social/pw3270/ | 84 | +For more details, see https://softwarepublico.gov.br/social/pw3270/ . |
| 89 | 85 | ||
| 90 | #---[ Development ]--------------------------------------------------------------------------------------------------- | 86 | #---[ Development ]--------------------------------------------------------------------------------------------------- |
| 91 | 87 | ||
| 92 | %package devel | 88 | %package devel |
| 93 | -Summary: Development files for %{name} | ||
| 94 | -Requires: mingw64(pkg:lib3270) | ||
| 95 | 89 | ||
| 96 | -%description devel | ||
| 97 | - | ||
| 98 | -Development files for lib3270/pw3270 IPC client library. | 90 | +Summary: TN3270 Access library development files |
| 91 | +Group: Development/Libraries/C and C++ | ||
| 92 | +Requires: %{name}-%{_libvrs} = %{version} | ||
| 99 | 93 | ||
| 100 | -Designed as a support tool for language bindings. | 94 | +%description devel |
| 95 | +Header files for the ipc3270 library. | ||
| 101 | 96 | ||
| 102 | #---[ Plugin module for pw3270 main application ]---------------------------------------------------------------------- | 97 | #---[ Plugin module for pw3270 main application ]---------------------------------------------------------------------- |
| 103 | 98 | ||
| @@ -107,32 +102,31 @@ Requires: mingw64-%{_product} >= 5.2 | @@ -107,32 +102,31 @@ Requires: mingw64-%{_product} >= 5.2 | ||
| 107 | 102 | ||
| 108 | %description -n mingw64-%{_product}-plugin-ipc | 103 | %description -n mingw64-%{_product}-plugin-ipc |
| 109 | 104 | ||
| 110 | -PW3270 plugin exporting D-Bus objects for every tn3270 session. | 105 | +PW3270 plugin exporting D-Bus objects to be used by the ipc3270 client library. |
| 111 | 106 | ||
| 112 | See more details at https://softwarepublico.gov.br/social/pw3270/ | 107 | See more details at https://softwarepublico.gov.br/social/pw3270/ |
| 113 | 108 | ||
| 114 | #---[ Build & Install ]----------------------------------------------------------------------------------------------- | 109 | #---[ Build & Install ]----------------------------------------------------------------------------------------------- |
| 115 | 110 | ||
| 116 | %prep | 111 | %prep |
| 117 | -%setup -n libipc3270-%{version} | 112 | +%setup -n %{_libname}-%{version} |
| 118 | 113 | ||
| 119 | NOCONFIGURE=1 \ | 114 | NOCONFIGURE=1 \ |
| 120 | ./autogen.sh | 115 | ./autogen.sh |
| 121 | 116 | ||
| 122 | -%{_mingw64_configure} \ | ||
| 123 | - --enable-static | 117 | +%{_mingw64_configure} |
| 124 | 118 | ||
| 125 | %build | 119 | %build |
| 126 | -make all | 120 | +make all %{?_smp_mflags} |
| 127 | 121 | ||
| 128 | %{_mingw64_strip} \ | 122 | %{_mingw64_strip} \ |
| 129 | --strip-all \ | 123 | --strip-all \ |
| 130 | - .bin/Release/*.dll | 124 | + .bin/Release/*.dll |
| 131 | 125 | ||
| 132 | -%install | ||
| 133 | -rm -rf $RPM_BUILD_ROOT | ||
| 134 | 126 | ||
| 135 | -%makeinstall | 127 | +%install |
| 128 | +%{_mingw64_makeinstall} | ||
| 129 | +%fdupes %{buildroot} | ||
| 136 | 130 | ||
| 137 | %files -n %{name}-%{_libvrs} | 131 | %files -n %{name}-%{_libvrs} |
| 138 | %defattr(-,root,root) | 132 | %defattr(-,root,root) |
| @@ -140,26 +134,28 @@ rm -rf $RPM_BUILD_ROOT | @@ -140,26 +134,28 @@ rm -rf $RPM_BUILD_ROOT | ||
| 140 | %doc AUTHORS README.md | 134 | %doc AUTHORS README.md |
| 141 | %license LICENSE | 135 | %license LICENSE |
| 142 | 136 | ||
| 143 | -%{_mingw64_libdir}/libipc3270.dll | ||
| 144 | -%{_mingw64_libdir}/libipc3270.dll.%{MAJOR_VERSION} | ||
| 145 | -%{_mingw64_libdir}/libipc3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | ||
| 146 | - | ||
| 147 | -%files -n mingw64-%{_product}-plugin-ipc | ||
| 148 | -%defattr(-,root,root) | 137 | +%dir %{_mingw64_datadir}/%{_product} |
| 149 | 138 | ||
| 150 | -%dir %{_mingw64_libdir}/%{_product}-plugins | ||
| 151 | -%{_mingw64_libdir}/%{_product}-plugins/ipcserver.dll | 139 | +%{_mingw64_bindir}/*.dll |
| 152 | 140 | ||
| 153 | %files devel | 141 | %files devel |
| 154 | %defattr(-,root,root) | 142 | %defattr(-,root,root) |
| 143 | + | ||
| 144 | +%{_mingw64_libdir}/*.a | ||
| 145 | + | ||
| 155 | %{_mingw64_includedir}/lib3270/ipc.h | 146 | %{_mingw64_includedir}/lib3270/ipc.h |
| 156 | -%dir %{_mingw64_includedir}/lib3270/ipc | ||
| 157 | -%{_mingw64_includedir}/lib3270/ipc/*.h | 147 | +%{_mingw64_includedir}/lib3270/ipc |
| 148 | + | ||
| 158 | %{_mingw64_libdir}/pkgconfig/*.pc | 149 | %{_mingw64_libdir}/pkgconfig/*.pc |
| 159 | -%{_mingw64_libdir}/*.a | ||
| 160 | -%{_mingw64_libdir}/*.lib | ||
| 161 | 150 | ||
| 151 | +%dir %{_mingw64_datadir}/%{_product}/def | ||
| 162 | %{_mingw64_datadir}/%{_product}/def/*.def | 152 | %{_mingw64_datadir}/%{_product}/def/*.def |
| 163 | 153 | ||
| 154 | +%files -n mingw64-%{_product}-plugin-ipc | ||
| 155 | +%defattr(-,root,root) | ||
| 156 | + | ||
| 157 | +%dir %{_mingw64_libdir}/%{_product}-plugins | ||
| 158 | +%{_mingw64_libdir}/%{_product}-plugins/ipcserver.dll | ||
| 159 | + | ||
| 164 | %changelog | 160 | %changelog |
| 165 | 161 |