Commit cf929544a890fb7928a22d60b22a3c75dd66eb9d
1 parent
b72c2222
Exists in
master
and in
1 other branch
Renaming windows control files.
Showing
8 changed files
with
361 additions
and
361 deletions
Show diff stats
win/mingw32/_service
| @@ -1,26 +0,0 @@ | @@ -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="changesauthor">perry.werneck@gmail.com</param> | ||
| 7 | - <!-- param name="sslverify">disable</param --> | ||
| 8 | - <param name="versionformat">@PARENT_TAG@</param> | ||
| 9 | - <param name="url">https://github.com/PerryWerneck/pw3270-plugin-ipc.git</param> | ||
| 10 | - <param name="scm">git</param> | ||
| 11 | - </service> | ||
| 12 | - | ||
| 13 | - <!-- https://github.com/openSUSE/obs-service-extract_file --> | ||
| 14 | - <!-- service name="extract_file"> | ||
| 15 | - <param name="archive">*.tar</param> | ||
| 16 | - <param name="files">*/rpm/*.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/mingw32/mingw32-pw3270-plugin-ipc.spec
| @@ -1,154 +0,0 @@ | @@ -1,154 +0,0 @@ | ||
| 1 | -# | ||
| 2 | -# spec file for packages mingw32-pw3270-plugin-ipc | ||
| 3 | -# | ||
| 4 | -# Copyright (c) 2015 SUSE LINUX 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 __strip %{_mingw32_strip} | ||
| 20 | -%define __objdump %{_mingw32_objdump} | ||
| 21 | -%define _use_internal_dependency_generator 0 | ||
| 22 | -%define __find_requires %{_mingw32_findrequires} | ||
| 23 | -%define __find_provides %{_mingw32_findprovides} | ||
| 24 | -%define __os_install_post %{_mingw32_debug_install_post} \ | ||
| 25 | - %{_mingw32_install_post} | ||
| 26 | - | ||
| 27 | -#---[ Main package ]-------------------------------------------------------------------------------------------------- | ||
| 28 | - | ||
| 29 | -Summary: D-Bus based IPC plugin for pw3270 | ||
| 30 | -Name: mingw32-pw3270-plugin-ipc | ||
| 31 | -Version: 5.2 | ||
| 32 | - | ||
| 33 | -%define MAJOR_VERSION %(echo %{version} | cut -d. -f1) | ||
| 34 | -%define MINOR_VERSION %(echo %{version} | cut -d. -f2) | ||
| 35 | -%define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 36 | -%define _product %(i686-w64-mingw32-pkg-config --variable=product_name lib3270) | ||
| 37 | - | ||
| 38 | -Release: 0 | ||
| 39 | -License: LGPL-3.0 | ||
| 40 | -Source: pw3270-plugin-ipc-%{version}.tar.xz | ||
| 41 | - | ||
| 42 | -Url: https://portal.softwarepublico.gov.br/social/pw3270/ | ||
| 43 | - | ||
| 44 | -Group: System/X11/Terminals | ||
| 45 | -BuildRoot: /var/tmp/%{name}-%{version} | ||
| 46 | - | ||
| 47 | -Provides: mingw32-lib3270-ipc-service | ||
| 48 | -Conflicts: otherproviders(mingw32-lib3270-ipc-service) | ||
| 49 | - | ||
| 50 | -BuildRequires: autoconf >= 2.61 | ||
| 51 | -BuildRequires: automake | ||
| 52 | -BuildRequires: binutils | ||
| 53 | -BuildRequires: coreutils | ||
| 54 | -BuildRequires: gcc-c++ | ||
| 55 | -BuildRequires: gettext-devel | ||
| 56 | -BuildRequires: m4 | ||
| 57 | - | ||
| 58 | -BuildRequires: mingw32-cross-binutils | ||
| 59 | -BuildRequires: mingw32-cross-gcc | ||
| 60 | -BuildRequires: mingw32-cross-gcc-c++ | ||
| 61 | -BuildRequires: mingw32-cross-pkg-config | ||
| 62 | -BuildRequires: mingw32-filesystem | ||
| 63 | -BuildRequires: mingw32-zlib-devel | ||
| 64 | -BuildRequires: mingw32(lib:iconv) | ||
| 65 | -BuildRequires: mingw32(lib:intl) | ||
| 66 | - | ||
| 67 | -BuildRequires: mingw32(pkg:gtk+-win32-3.0) | ||
| 68 | -BuildRequires: mingw32(pkg:lib3270) | ||
| 69 | -BuildRequires: mingw32(pkg:libv3270) | ||
| 70 | - | ||
| 71 | -%description | ||
| 72 | - | ||
| 73 | -PW3270 IPC plugin. | ||
| 74 | - | ||
| 75 | -See more details at https://softwarepublico.gov.br/social/pw3270/ | ||
| 76 | - | ||
| 77 | -#---[ IPC Library Package ]------------------------------------------------------------------------------------------- | ||
| 78 | - | ||
| 79 | -%package -n mingw32-libipc3270-%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 80 | -Summary: IPC Library for pw3270 | ||
| 81 | - | ||
| 82 | -Recommends: mingw32-lib3270-ipc-service | ||
| 83 | -Provides: mingw32(lib:ipc3270) | ||
| 84 | - | ||
| 85 | -%description -n mingw32-libipc3270-%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 86 | - | ||
| 87 | -IPC client library for lib3270/pw3270. | ||
| 88 | - | ||
| 89 | -Designed as a support tool for language bindings. | ||
| 90 | - | ||
| 91 | -%package -n mingw32-libipc3270-devel | ||
| 92 | -Summary: Development files for ipc3270 | ||
| 93 | -Requires: libipc3270-%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 94 | -Requires: pkgconfig(lib3270) | ||
| 95 | - | ||
| 96 | -%description -n mingw32-libipc3270-devel | ||
| 97 | - | ||
| 98 | -Development files for lib3270/pw3270 IPC client library. | ||
| 99 | - | ||
| 100 | -Designed as a support tool for language bindings. | ||
| 101 | - | ||
| 102 | - | ||
| 103 | -#---[ Build & Install ]----------------------------------------------------------------------------------------------- | ||
| 104 | - | ||
| 105 | -%prep | ||
| 106 | -%setup -n pw3270-plugin-ipc-%{version} | ||
| 107 | - | ||
| 108 | -NOCONFIGURE=1 ./autogen.sh | ||
| 109 | - | ||
| 110 | -%{_mingw32_configure} | ||
| 111 | - | ||
| 112 | -%build | ||
| 113 | -make clean | ||
| 114 | -make all | ||
| 115 | - | ||
| 116 | -%{_mingw32_strip} \ | ||
| 117 | - --strip-all \ | ||
| 118 | - .bin/Release/*.dll | ||
| 119 | - | ||
| 120 | -%install | ||
| 121 | -rm -rf $RPM_BUILD_ROOT | ||
| 122 | - | ||
| 123 | -%makeinstall | ||
| 124 | - | ||
| 125 | -%files | ||
| 126 | -%defattr(-,root,root) | ||
| 127 | - | ||
| 128 | -# https://en.opensuse.org/openSUSE:Packaging_for_Leap#RPM_Distro_Version_Macros | ||
| 129 | -%if 0%{?sle_version} > 120200 | ||
| 130 | -%doc AUTHORS README.md | ||
| 131 | -%license LICENSE | ||
| 132 | -%else | ||
| 133 | -%doc AUTHORS README.md LICENSE | ||
| 134 | -%endif | ||
| 135 | - | ||
| 136 | -%dir %{_mingw32_libdir}/%{_product}-plugins | ||
| 137 | -%{_mingw32_libdir}/%{_product}-plugins/ipcserver.dll | ||
| 138 | - | ||
| 139 | -%files -n mingw32-libipc3270-%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 140 | -%defattr(-,root,root) | ||
| 141 | -%{_mingw32_libdir}/libipc3270.dll | ||
| 142 | -%{_mingw32_libdir}/libipc3270.dll.%{MAJOR_VERSION} | ||
| 143 | -%{_mingw32_libdir}/libipc3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | ||
| 144 | - | ||
| 145 | -%files -n mingw32-libipc3270-devel | ||
| 146 | -%defattr(-,root,root) | ||
| 147 | -%{_mingw32_includedir}/lib3270/ipc.h | ||
| 148 | -%dir %{_mingw32_includedir}/lib3270/ipc | ||
| 149 | -%{_mingw32_includedir}/lib3270/ipc/*.h | ||
| 150 | -%{_mingw32_libdir}/*.a | ||
| 151 | -%{_mingw32_libdir}/pkgconfig/*.pc | ||
| 152 | - | ||
| 153 | -%changelog | ||
| 154 | - |
win/mingw64/_service
| @@ -1,26 +0,0 @@ | @@ -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="changesauthor">perry.werneck@gmail.com</param> | ||
| 7 | - <!-- param name="sslverify">disable</param --> | ||
| 8 | - <param name="versionformat">@PARENT_TAG@</param> | ||
| 9 | - <param name="url">https://github.com/PerryWerneck/pw3270-plugin-ipc.git</param> | ||
| 10 | - <param name="scm">git</param> | ||
| 11 | - </service> | ||
| 12 | - | ||
| 13 | - <!-- https://github.com/openSUSE/obs-service-extract_file --> | ||
| 14 | - <!-- service name="extract_file"> | ||
| 15 | - <param name="archive">*.tar</param> | ||
| 16 | - <param name="files">*/rpm/*.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/mingw64-pw3270-plugin-ipc.spec
| @@ -1,155 +0,0 @@ | @@ -1,155 +0,0 @@ | ||
| 1 | -# | ||
| 2 | -# spec file for packages mingw64-pw3270-plugin-ipc | ||
| 3 | -# | ||
| 4 | -# Copyright (c) 2015 SUSE LINUX 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 __strip %{_mingw64_strip} | ||
| 20 | -%define __objdump %{_mingw64_objdump} | ||
| 21 | -%define _use_internal_dependency_generator 0 | ||
| 22 | -%define __find_requires %{_mingw64_findrequires} | ||
| 23 | -%define __find_provides %{_mingw64_findprovides} | ||
| 24 | -%define __os_install_post %{_mingw64_debug_install_post} \ | ||
| 25 | - %{_mingw64_install_post} | ||
| 26 | - | ||
| 27 | -#---[ Main package ]-------------------------------------------------------------------------------------------------- | ||
| 28 | - | ||
| 29 | -Summary: D-Bus based IPC plugin for pw3270 | ||
| 30 | -Name: mingw64-pw3270-plugin-ipc | ||
| 31 | -Version: 5.2 | ||
| 32 | - | ||
| 33 | -%define MAJOR_VERSION %(echo %{version} | cut -d. -f1) | ||
| 34 | -%define MINOR_VERSION %(echo %{version} | cut -d. -f2) | ||
| 35 | -%define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 36 | -%define _product %(x86_64-w64-mingw32-pkg-config --variable=product_name lib3270) | ||
| 37 | - | ||
| 38 | - | ||
| 39 | -Release: 0 | ||
| 40 | -License: LGPL-3.0 | ||
| 41 | -Source: pw3270-plugin-ipc-%{version}.tar.xz | ||
| 42 | - | ||
| 43 | -Url: https://portal.softwarepublico.gov.br/social/pw3270/ | ||
| 44 | - | ||
| 45 | -Group: System/X11/Terminals | ||
| 46 | -BuildRoot: /var/tmp/%{name}-%{version} | ||
| 47 | - | ||
| 48 | -Provides: mingw64-lib3270-ipc-service | ||
| 49 | -Conflicts: otherproviders(mingw64-lib3270-ipc-service) | ||
| 50 | - | ||
| 51 | -BuildRequires: autoconf >= 2.61 | ||
| 52 | -BuildRequires: automake | ||
| 53 | -BuildRequires: binutils | ||
| 54 | -BuildRequires: coreutils | ||
| 55 | -BuildRequires: gcc-c++ | ||
| 56 | -BuildRequires: gettext-devel | ||
| 57 | -BuildRequires: m4 | ||
| 58 | - | ||
| 59 | -BuildRequires: mingw64-cross-binutils | ||
| 60 | -BuildRequires: mingw64-cross-gcc | ||
| 61 | -BuildRequires: mingw64-cross-gcc-c++ | ||
| 62 | -BuildRequires: mingw64-cross-pkg-config | ||
| 63 | -BuildRequires: mingw64-filesystem | ||
| 64 | -BuildRequires: mingw64-zlib-devel | ||
| 65 | -BuildRequires: mingw64(lib:iconv) | ||
| 66 | -BuildRequires: mingw64(lib:intl) | ||
| 67 | - | ||
| 68 | -BuildRequires: mingw64(pkg:gtk+-win32-3.0) | ||
| 69 | -BuildRequires: mingw64(pkg:lib3270) | ||
| 70 | -BuildRequires: mingw64(pkg:libv3270) | ||
| 71 | - | ||
| 72 | -%description | ||
| 73 | - | ||
| 74 | -PW3270 IPC plugin. | ||
| 75 | - | ||
| 76 | -See more details at https://softwarepublico.gov.br/social/pw3270/ | ||
| 77 | - | ||
| 78 | -#---[ IPC Library Package ]------------------------------------------------------------------------------------------- | ||
| 79 | - | ||
| 80 | -%package -n mingw64-libipc3270-%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 81 | -Summary: IPC Library for pw3270 | ||
| 82 | - | ||
| 83 | -Recommends: mingw64-lib3270-ipc-service | ||
| 84 | -Provides: mingw64(lib:ipc3270) | ||
| 85 | - | ||
| 86 | -%description -n mingw64-libipc3270-%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 87 | - | ||
| 88 | -IPC client library for lib3270/pw3270. | ||
| 89 | - | ||
| 90 | -Designed as a support tool for language bindings. | ||
| 91 | - | ||
| 92 | -%package -n mingw64-libipc3270-devel | ||
| 93 | -Summary: Development files for ipc3270 | ||
| 94 | -Requires: libipc3270-%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 95 | -Requires: pkgconfig(lib3270) | ||
| 96 | - | ||
| 97 | -%description -n mingw64-libipc3270-devel | ||
| 98 | - | ||
| 99 | -Development files for lib3270/pw3270 IPC client library. | ||
| 100 | - | ||
| 101 | -Designed as a support tool for language bindings. | ||
| 102 | - | ||
| 103 | - | ||
| 104 | -#---[ Build & Install ]----------------------------------------------------------------------------------------------- | ||
| 105 | - | ||
| 106 | -%prep | ||
| 107 | -%setup -n pw3270-plugin-ipc-%{version} | ||
| 108 | - | ||
| 109 | -NOCONFIGURE=1 ./autogen.sh | ||
| 110 | - | ||
| 111 | -%{_mingw64_configure} | ||
| 112 | - | ||
| 113 | -%build | ||
| 114 | -make clean | ||
| 115 | -make all | ||
| 116 | - | ||
| 117 | -%{_mingw64_strip} \ | ||
| 118 | - --strip-all \ | ||
| 119 | - .bin/Release/*.dll | ||
| 120 | - | ||
| 121 | -%install | ||
| 122 | -rm -rf $RPM_BUILD_ROOT | ||
| 123 | - | ||
| 124 | -%makeinstall | ||
| 125 | - | ||
| 126 | -%files | ||
| 127 | -%defattr(-,root,root) | ||
| 128 | - | ||
| 129 | -# https://en.opensuse.org/openSUSE:Packaging_for_Leap#RPM_Distro_Version_Macros | ||
| 130 | -%if 0%{?sle_version} > 120200 | ||
| 131 | -%doc AUTHORS README.md | ||
| 132 | -%license LICENSE | ||
| 133 | -%else | ||
| 134 | -%doc AUTHORS README.md LICENSE | ||
| 135 | -%endif | ||
| 136 | - | ||
| 137 | -%dir %{_mingw64_libdir}/%{_product}-plugins | ||
| 138 | -%{_mingw64_libdir}/%{_product}-plugins/ipcserver.dll | ||
| 139 | - | ||
| 140 | -%files -n mingw64-libipc3270-%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 141 | -%defattr(-,root,root) | ||
| 142 | -%{_mingw64_libdir}/libipc3270.dll | ||
| 143 | -%{_mingw64_libdir}/libipc3270.dll.%{MAJOR_VERSION} | ||
| 144 | -%{_mingw64_libdir}/libipc3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | ||
| 145 | - | ||
| 146 | -%files -n mingw64-libipc3270-devel | ||
| 147 | -%defattr(-,root,root) | ||
| 148 | -%{_mingw64_includedir}/lib3270/ipc.h | ||
| 149 | -%dir %{_mingw64_includedir}/lib3270/ipc | ||
| 150 | -%{_mingw64_includedir}/lib3270/ipc/*.h | ||
| 151 | -%{_mingw64_libdir}/*.a | ||
| 152 | -%{_mingw64_libdir}/pkgconfig/*.pc | ||
| 153 | - | ||
| 154 | -%changelog | ||
| 155 | - |
| @@ -0,0 +1,26 @@ | @@ -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="changesauthor">perry.werneck@gmail.com</param> | ||
| 7 | + <!-- param name="sslverify">disable</param --> | ||
| 8 | + <param name="versionformat">@PARENT_TAG@</param> | ||
| 9 | + <param name="url">https://github.com/PerryWerneck/pw3270-plugin-ipc.git</param> | ||
| 10 | + <param name="scm">git</param> | ||
| 11 | + </service> | ||
| 12 | + | ||
| 13 | + <!-- https://github.com/openSUSE/obs-service-extract_file --> | ||
| 14 | + <!-- service name="extract_file"> | ||
| 15 | + <param name="archive">*.tar</param> | ||
| 16 | + <param name="files">*/rpm/*.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> |
| @@ -0,0 +1,154 @@ | @@ -0,0 +1,154 @@ | ||
| 1 | +# | ||
| 2 | +# spec file for packages mingw32-pw3270-plugin-ipc | ||
| 3 | +# | ||
| 4 | +# Copyright (c) 2015 SUSE LINUX 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 __strip %{_mingw32_strip} | ||
| 20 | +%define __objdump %{_mingw32_objdump} | ||
| 21 | +%define _use_internal_dependency_generator 0 | ||
| 22 | +%define __find_requires %{_mingw32_findrequires} | ||
| 23 | +%define __find_provides %{_mingw32_findprovides} | ||
| 24 | +%define __os_install_post %{_mingw32_debug_install_post} \ | ||
| 25 | + %{_mingw32_install_post} | ||
| 26 | + | ||
| 27 | +#---[ Main package ]-------------------------------------------------------------------------------------------------- | ||
| 28 | + | ||
| 29 | +Summary: D-Bus based IPC plugin for pw3270 | ||
| 30 | +Name: mingw32-pw3270-plugin-ipc | ||
| 31 | +Version: 5.2 | ||
| 32 | + | ||
| 33 | +%define MAJOR_VERSION %(echo %{version} | cut -d. -f1) | ||
| 34 | +%define MINOR_VERSION %(echo %{version} | cut -d. -f2) | ||
| 35 | +%define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 36 | +%define _product %(i686-w64-mingw32-pkg-config --variable=product_name lib3270) | ||
| 37 | + | ||
| 38 | +Release: 0 | ||
| 39 | +License: LGPL-3.0 | ||
| 40 | +Source: pw3270-plugin-ipc-%{version}.tar.xz | ||
| 41 | + | ||
| 42 | +Url: https://portal.softwarepublico.gov.br/social/pw3270/ | ||
| 43 | + | ||
| 44 | +Group: System/X11/Terminals | ||
| 45 | +BuildRoot: /var/tmp/%{name}-%{version} | ||
| 46 | + | ||
| 47 | +Provides: mingw32-lib3270-ipc-service | ||
| 48 | +Conflicts: otherproviders(mingw32-lib3270-ipc-service) | ||
| 49 | + | ||
| 50 | +BuildRequires: autoconf >= 2.61 | ||
| 51 | +BuildRequires: automake | ||
| 52 | +BuildRequires: binutils | ||
| 53 | +BuildRequires: coreutils | ||
| 54 | +BuildRequires: gcc-c++ | ||
| 55 | +BuildRequires: gettext-devel | ||
| 56 | +BuildRequires: m4 | ||
| 57 | + | ||
| 58 | +BuildRequires: mingw32-cross-binutils | ||
| 59 | +BuildRequires: mingw32-cross-gcc | ||
| 60 | +BuildRequires: mingw32-cross-gcc-c++ | ||
| 61 | +BuildRequires: mingw32-cross-pkg-config | ||
| 62 | +BuildRequires: mingw32-filesystem | ||
| 63 | +BuildRequires: mingw32-zlib-devel | ||
| 64 | +BuildRequires: mingw32(lib:iconv) | ||
| 65 | +BuildRequires: mingw32(lib:intl) | ||
| 66 | + | ||
| 67 | +BuildRequires: mingw32(pkg:gtk+-win32-3.0) | ||
| 68 | +BuildRequires: mingw32(pkg:lib3270) | ||
| 69 | +BuildRequires: mingw32(pkg:libv3270) | ||
| 70 | + | ||
| 71 | +%description | ||
| 72 | + | ||
| 73 | +PW3270 IPC plugin. | ||
| 74 | + | ||
| 75 | +See more details at https://softwarepublico.gov.br/social/pw3270/ | ||
| 76 | + | ||
| 77 | +#---[ IPC Library Package ]------------------------------------------------------------------------------------------- | ||
| 78 | + | ||
| 79 | +%package -n mingw32-libipc3270-%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 80 | +Summary: IPC Library for pw3270 | ||
| 81 | + | ||
| 82 | +Recommends: mingw32-lib3270-ipc-service | ||
| 83 | +Provides: mingw32(lib:ipc3270) | ||
| 84 | + | ||
| 85 | +%description -n mingw32-libipc3270-%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 86 | + | ||
| 87 | +IPC client library for lib3270/pw3270. | ||
| 88 | + | ||
| 89 | +Designed as a support tool for language bindings. | ||
| 90 | + | ||
| 91 | +%package -n mingw32-libipc3270-devel | ||
| 92 | +Summary: Development files for ipc3270 | ||
| 93 | +Requires: libipc3270-%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 94 | +Requires: pkgconfig(lib3270) | ||
| 95 | + | ||
| 96 | +%description -n mingw32-libipc3270-devel | ||
| 97 | + | ||
| 98 | +Development files for lib3270/pw3270 IPC client library. | ||
| 99 | + | ||
| 100 | +Designed as a support tool for language bindings. | ||
| 101 | + | ||
| 102 | + | ||
| 103 | +#---[ Build & Install ]----------------------------------------------------------------------------------------------- | ||
| 104 | + | ||
| 105 | +%prep | ||
| 106 | +%setup -n pw3270-plugin-ipc-%{version} | ||
| 107 | + | ||
| 108 | +NOCONFIGURE=1 ./autogen.sh | ||
| 109 | + | ||
| 110 | +%{_mingw32_configure} | ||
| 111 | + | ||
| 112 | +%build | ||
| 113 | +make clean | ||
| 114 | +make all | ||
| 115 | + | ||
| 116 | +%{_mingw32_strip} \ | ||
| 117 | + --strip-all \ | ||
| 118 | + .bin/Release/*.dll | ||
| 119 | + | ||
| 120 | +%install | ||
| 121 | +rm -rf $RPM_BUILD_ROOT | ||
| 122 | + | ||
| 123 | +%makeinstall | ||
| 124 | + | ||
| 125 | +%files | ||
| 126 | +%defattr(-,root,root) | ||
| 127 | + | ||
| 128 | +# https://en.opensuse.org/openSUSE:Packaging_for_Leap#RPM_Distro_Version_Macros | ||
| 129 | +%if 0%{?sle_version} > 120200 | ||
| 130 | +%doc AUTHORS README.md | ||
| 131 | +%license LICENSE | ||
| 132 | +%else | ||
| 133 | +%doc AUTHORS README.md LICENSE | ||
| 134 | +%endif | ||
| 135 | + | ||
| 136 | +%dir %{_mingw32_libdir}/%{_product}-plugins | ||
| 137 | +%{_mingw32_libdir}/%{_product}-plugins/ipcserver.dll | ||
| 138 | + | ||
| 139 | +%files -n mingw32-libipc3270-%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 140 | +%defattr(-,root,root) | ||
| 141 | +%{_mingw32_libdir}/libipc3270.dll | ||
| 142 | +%{_mingw32_libdir}/libipc3270.dll.%{MAJOR_VERSION} | ||
| 143 | +%{_mingw32_libdir}/libipc3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | ||
| 144 | + | ||
| 145 | +%files -n mingw32-libipc3270-devel | ||
| 146 | +%defattr(-,root,root) | ||
| 147 | +%{_mingw32_includedir}/lib3270/ipc.h | ||
| 148 | +%dir %{_mingw32_includedir}/lib3270/ipc | ||
| 149 | +%{_mingw32_includedir}/lib3270/ipc/*.h | ||
| 150 | +%{_mingw32_libdir}/*.a | ||
| 151 | +%{_mingw32_libdir}/pkgconfig/*.pc | ||
| 152 | + | ||
| 153 | +%changelog | ||
| 154 | + |
| @@ -0,0 +1,26 @@ | @@ -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="changesauthor">perry.werneck@gmail.com</param> | ||
| 7 | + <!-- param name="sslverify">disable</param --> | ||
| 8 | + <param name="versionformat">@PARENT_TAG@</param> | ||
| 9 | + <param name="url">https://github.com/PerryWerneck/pw3270-plugin-ipc.git</param> | ||
| 10 | + <param name="scm">git</param> | ||
| 11 | + </service> | ||
| 12 | + | ||
| 13 | + <!-- https://github.com/openSUSE/obs-service-extract_file --> | ||
| 14 | + <!-- service name="extract_file"> | ||
| 15 | + <param name="archive">*.tar</param> | ||
| 16 | + <param name="files">*/rpm/*.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> |
| @@ -0,0 +1,155 @@ | @@ -0,0 +1,155 @@ | ||
| 1 | +# | ||
| 2 | +# spec file for packages mingw64-pw3270-plugin-ipc | ||
| 3 | +# | ||
| 4 | +# Copyright (c) 2015 SUSE LINUX 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 __strip %{_mingw64_strip} | ||
| 20 | +%define __objdump %{_mingw64_objdump} | ||
| 21 | +%define _use_internal_dependency_generator 0 | ||
| 22 | +%define __find_requires %{_mingw64_findrequires} | ||
| 23 | +%define __find_provides %{_mingw64_findprovides} | ||
| 24 | +%define __os_install_post %{_mingw64_debug_install_post} \ | ||
| 25 | + %{_mingw64_install_post} | ||
| 26 | + | ||
| 27 | +#---[ Main package ]-------------------------------------------------------------------------------------------------- | ||
| 28 | + | ||
| 29 | +Summary: D-Bus based IPC plugin for pw3270 | ||
| 30 | +Name: mingw64-pw3270-plugin-ipc | ||
| 31 | +Version: 5.2 | ||
| 32 | + | ||
| 33 | +%define MAJOR_VERSION %(echo %{version} | cut -d. -f1) | ||
| 34 | +%define MINOR_VERSION %(echo %{version} | cut -d. -f2) | ||
| 35 | +%define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 36 | +%define _product %(x86_64-w64-mingw32-pkg-config --variable=product_name lib3270) | ||
| 37 | + | ||
| 38 | + | ||
| 39 | +Release: 0 | ||
| 40 | +License: LGPL-3.0 | ||
| 41 | +Source: pw3270-plugin-ipc-%{version}.tar.xz | ||
| 42 | + | ||
| 43 | +Url: https://portal.softwarepublico.gov.br/social/pw3270/ | ||
| 44 | + | ||
| 45 | +Group: System/X11/Terminals | ||
| 46 | +BuildRoot: /var/tmp/%{name}-%{version} | ||
| 47 | + | ||
| 48 | +Provides: mingw64-lib3270-ipc-service | ||
| 49 | +Conflicts: otherproviders(mingw64-lib3270-ipc-service) | ||
| 50 | + | ||
| 51 | +BuildRequires: autoconf >= 2.61 | ||
| 52 | +BuildRequires: automake | ||
| 53 | +BuildRequires: binutils | ||
| 54 | +BuildRequires: coreutils | ||
| 55 | +BuildRequires: gcc-c++ | ||
| 56 | +BuildRequires: gettext-devel | ||
| 57 | +BuildRequires: m4 | ||
| 58 | + | ||
| 59 | +BuildRequires: mingw64-cross-binutils | ||
| 60 | +BuildRequires: mingw64-cross-gcc | ||
| 61 | +BuildRequires: mingw64-cross-gcc-c++ | ||
| 62 | +BuildRequires: mingw64-cross-pkg-config | ||
| 63 | +BuildRequires: mingw64-filesystem | ||
| 64 | +BuildRequires: mingw64-zlib-devel | ||
| 65 | +BuildRequires: mingw64(lib:iconv) | ||
| 66 | +BuildRequires: mingw64(lib:intl) | ||
| 67 | + | ||
| 68 | +BuildRequires: mingw64(pkg:gtk+-win32-3.0) | ||
| 69 | +BuildRequires: mingw64(pkg:lib3270) | ||
| 70 | +BuildRequires: mingw64(pkg:libv3270) | ||
| 71 | + | ||
| 72 | +%description | ||
| 73 | + | ||
| 74 | +PW3270 IPC plugin. | ||
| 75 | + | ||
| 76 | +See more details at https://softwarepublico.gov.br/social/pw3270/ | ||
| 77 | + | ||
| 78 | +#---[ IPC Library Package ]------------------------------------------------------------------------------------------- | ||
| 79 | + | ||
| 80 | +%package -n mingw64-libipc3270-%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 81 | +Summary: IPC Library for pw3270 | ||
| 82 | + | ||
| 83 | +Recommends: mingw64-lib3270-ipc-service | ||
| 84 | +Provides: mingw64(lib:ipc3270) | ||
| 85 | + | ||
| 86 | +%description -n mingw64-libipc3270-%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 87 | + | ||
| 88 | +IPC client library for lib3270/pw3270. | ||
| 89 | + | ||
| 90 | +Designed as a support tool for language bindings. | ||
| 91 | + | ||
| 92 | +%package -n mingw64-libipc3270-devel | ||
| 93 | +Summary: Development files for ipc3270 | ||
| 94 | +Requires: libipc3270-%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 95 | +Requires: pkgconfig(lib3270) | ||
| 96 | + | ||
| 97 | +%description -n mingw64-libipc3270-devel | ||
| 98 | + | ||
| 99 | +Development files for lib3270/pw3270 IPC client library. | ||
| 100 | + | ||
| 101 | +Designed as a support tool for language bindings. | ||
| 102 | + | ||
| 103 | + | ||
| 104 | +#---[ Build & Install ]----------------------------------------------------------------------------------------------- | ||
| 105 | + | ||
| 106 | +%prep | ||
| 107 | +%setup -n pw3270-plugin-ipc-%{version} | ||
| 108 | + | ||
| 109 | +NOCONFIGURE=1 ./autogen.sh | ||
| 110 | + | ||
| 111 | +%{_mingw64_configure} | ||
| 112 | + | ||
| 113 | +%build | ||
| 114 | +make clean | ||
| 115 | +make all | ||
| 116 | + | ||
| 117 | +%{_mingw64_strip} \ | ||
| 118 | + --strip-all \ | ||
| 119 | + .bin/Release/*.dll | ||
| 120 | + | ||
| 121 | +%install | ||
| 122 | +rm -rf $RPM_BUILD_ROOT | ||
| 123 | + | ||
| 124 | +%makeinstall | ||
| 125 | + | ||
| 126 | +%files | ||
| 127 | +%defattr(-,root,root) | ||
| 128 | + | ||
| 129 | +# https://en.opensuse.org/openSUSE:Packaging_for_Leap#RPM_Distro_Version_Macros | ||
| 130 | +%if 0%{?sle_version} > 120200 | ||
| 131 | +%doc AUTHORS README.md | ||
| 132 | +%license LICENSE | ||
| 133 | +%else | ||
| 134 | +%doc AUTHORS README.md LICENSE | ||
| 135 | +%endif | ||
| 136 | + | ||
| 137 | +%dir %{_mingw64_libdir}/%{_product}-plugins | ||
| 138 | +%{_mingw64_libdir}/%{_product}-plugins/ipcserver.dll | ||
| 139 | + | ||
| 140 | +%files -n mingw64-libipc3270-%{MAJOR_VERSION}_%{MINOR_VERSION} | ||
| 141 | +%defattr(-,root,root) | ||
| 142 | +%{_mingw64_libdir}/libipc3270.dll | ||
| 143 | +%{_mingw64_libdir}/libipc3270.dll.%{MAJOR_VERSION} | ||
| 144 | +%{_mingw64_libdir}/libipc3270.dll.%{MAJOR_VERSION}.%{MINOR_VERSION} | ||
| 145 | + | ||
| 146 | +%files -n mingw64-libipc3270-devel | ||
| 147 | +%defattr(-,root,root) | ||
| 148 | +%{_mingw64_includedir}/lib3270/ipc.h | ||
| 149 | +%dir %{_mingw64_includedir}/lib3270/ipc | ||
| 150 | +%{_mingw64_includedir}/lib3270/ipc/*.h | ||
| 151 | +%{_mingw64_libdir}/*.a | ||
| 152 | +%{_mingw64_libdir}/pkgconfig/*.pc | ||
| 153 | + | ||
| 154 | +%changelog | ||
| 155 | + |