Commit 05b29e2b270c5a16a6f41ee040bc4e31688bda24
1 parent
52892e7f
Exists in
master
and in
1 other branch
Updating package info.
Showing
2 changed files
with
83 additions
and
116 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,83 @@ |
| 1 | +# | |
| 2 | +# spec file for packages 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 | +#---[ Versions ]------------------------------------------------------------------------------------------------------ | |
| 20 | + | |
| 21 | +%define MAJOR_VERSION 5 | |
| 22 | +%define MINOR_VERSION 2 | |
| 23 | + | |
| 24 | +#---[ Main package ]-------------------------------------------------------------------------------------------------- | |
| 25 | + | |
| 26 | +Summary: HLLAPI client library for lib3270/pw3270 | |
| 27 | +Name: lib3270-hllapi-bindings | |
| 28 | +Version: 5.2 | |
| 29 | +Release: 0 | |
| 30 | +License: LGPL-3.0 | |
| 31 | +Source: %{name}-%{version}.tar.xz | |
| 32 | + | |
| 33 | +Url: https://portal.softwarepublico.gov.br/social/pw3270/ | |
| 34 | + | |
| 35 | +Group: System/X11/Terminals | |
| 36 | +BuildRoot: /var/tmp/%{name}-%{version} | |
| 37 | + | |
| 38 | +Provides: pw3270-plugin-hllapi | |
| 39 | +Conflicts: otherproviders(pw3270-plugin-hllapi) | |
| 40 | + | |
| 41 | +BuildRequires: autoconf >= 2.61 | |
| 42 | +BuildRequires: automake | |
| 43 | +BuildRequires: binutils | |
| 44 | +BuildRequires: coreutils | |
| 45 | +BuildRequires: gcc-c++ | |
| 46 | +BuildRequires: gettext-devel | |
| 47 | +BuildRequires: m4 | |
| 48 | +BuildRequires: pkgconfig(ipc3270) | |
| 49 | + | |
| 50 | +%description | |
| 51 | + | |
| 52 | +Client library for compatibility with the old HLLAPI. | |
| 53 | + | |
| 54 | +See more details at https://softwarepublico.gov.br/social/pw3270/ | |
| 55 | + | |
| 56 | +#---[ Build & Install ]----------------------------------------------------------------------------------------------- | |
| 57 | + | |
| 58 | +%prep | |
| 59 | +%setup | |
| 60 | + | |
| 61 | +NOCONFIGURE=1 ./autogen.sh | |
| 62 | + | |
| 63 | +%configure | |
| 64 | + | |
| 65 | +%build | |
| 66 | +make clean | |
| 67 | +make all | |
| 68 | + | |
| 69 | +%install | |
| 70 | +rm -rf $RPM_BUILD_ROOT | |
| 71 | + | |
| 72 | +make \ | |
| 73 | + DESTDIR=%{?buildroot:%{buildroot}} \ | |
| 74 | + install | |
| 75 | + | |
| 76 | +%files | |
| 77 | +%defattr(-,root,root) | |
| 78 | +%doc AUTHORS LICENSE README.md | |
| 79 | + | |
| 80 | +%{_libdir}/pw3270-plugins/*.so | |
| 81 | + | |
| 82 | +%changelog | |
| 83 | + | ... | ... |
rpm/pw3270-plugin-hllapi.spec
| ... | ... | @@ -1,116 +0,0 @@ |
| 1 | -# | |
| 2 | -# spec file for packages 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 | -#---[ Versions ]------------------------------------------------------------------------------------------------------ | |
| 20 | - | |
| 21 | -%define MAJOR_VERSION 5 | |
| 22 | -%define MINOR_VERSION 1 | |
| 23 | - | |
| 24 | -#---[ Main package ]-------------------------------------------------------------------------------------------------- | |
| 25 | - | |
| 26 | -Summary: HLLAPI plugin and client library for pw3270 | |
| 27 | -Name: pw3270-plugin-hllapi | |
| 28 | -Version: 5.1 | |
| 29 | -Release: 0 | |
| 30 | -License: LGPL-3.0 | |
| 31 | -Source: %{name}-%{version}.tar.xz | |
| 32 | - | |
| 33 | -Url: https://portal.softwarepublico.gov.br/social/pw3270/ | |
| 34 | - | |
| 35 | -Group: System/X11/Terminals | |
| 36 | -BuildRoot: /var/tmp/%{name}-%{version} | |
| 37 | - | |
| 38 | -Provides: pw3270-plugin-dbus | |
| 39 | -Conflicts: otherproviders(pw3270-plugin-dbus) | |
| 40 | - | |
| 41 | -BuildRequires: lib3270-devel >= 5.2 | |
| 42 | -BuildRequires: libv3270-devel >= 5.2 | |
| 43 | -BuildRequires: pw3270-devel >= 5.2 | |
| 44 | -BuildRequires: autoconf >= 2.61 | |
| 45 | -BuildRequires: automake | |
| 46 | -BuildRequires: binutils | |
| 47 | -BuildRequires: coreutils | |
| 48 | -BuildRequires: gcc-c++ | |
| 49 | -BuildRequires: gettext-devel | |
| 50 | -BuildRequires: m4 | |
| 51 | - | |
| 52 | -%if 0%{?fedora} || 0%{?suse_version} > 1200 | |
| 53 | - | |
| 54 | -BuildRequires: pkgconfig(dbus-1) | |
| 55 | -BuildRequires: pkgconfig(dbus-glib-1) | |
| 56 | -BuildRequires: pkgconfig(gtk+-3.0) | |
| 57 | - | |
| 58 | -%else | |
| 59 | - | |
| 60 | -BuildRequires: openssl-devel | |
| 61 | -BuildRequires: dbus-1-devel | |
| 62 | -BuildRequires: gtk3-devel | |
| 63 | - | |
| 64 | -%endif | |
| 65 | - | |
| 66 | -%description | |
| 67 | - | |
| 68 | -Plugin and client library for compatibility with the old HLLAPI. | |
| 69 | - | |
| 70 | -See more details at https://softwarepublico.gov.br/social/pw3270/ | |
| 71 | - | |
| 72 | -#---[ Build & Install ]----------------------------------------------------------------------------------------------- | |
| 73 | - | |
| 74 | -%prep | |
| 75 | -%setup | |
| 76 | - | |
| 77 | -NOCONFIGURE=1 ./autogen.sh | |
| 78 | - | |
| 79 | -%configure \ | |
| 80 | - --with-sdk-version=%{version} | |
| 81 | - | |
| 82 | -%build | |
| 83 | -make clean | |
| 84 | -make all | |
| 85 | - | |
| 86 | -%install | |
| 87 | -rm -rf $RPM_BUILD_ROOT | |
| 88 | - | |
| 89 | -make \ | |
| 90 | - DESTDIR=%{?buildroot:%{buildroot}} \ | |
| 91 | - install | |
| 92 | - | |
| 93 | -%files | |
| 94 | -%defattr(-,root,root) | |
| 95 | -%doc AUTHORS LICENSE README.md | |
| 96 | - | |
| 97 | -%{_libdir}/pw3270-plugins/*.so | |
| 98 | - | |
| 99 | -%{_libdir}/libhllapi.so | |
| 100 | -%{_libdir}/libhllapi.so.%{MAJOR_VERSION} | |
| 101 | -%{_libdir}/libhllapi.so.%{MAJOR_VERSION}.%{MINOR_VERSION} | |
| 102 | - | |
| 103 | -%pre | |
| 104 | -/sbin/ldconfig | |
| 105 | -exit 0 | |
| 106 | - | |
| 107 | -%post | |
| 108 | -/sbin/ldconfig | |
| 109 | -exit 0 | |
| 110 | - | |
| 111 | -%postun | |
| 112 | -/sbin/ldconfig | |
| 113 | -exit 0 | |
| 114 | - | |
| 115 | -%changelog | |
| 116 | - |