Commit 9fe35d8ebc0007626708ab4a389f7d1f0c3644ac

Authored by Perry Werneck
1 parent d939a7de
Exists in master and in 1 other branch develop

Updating package control files.

rpm/_service
... ... @@ -3,11 +3,10 @@
3 3 <!-- https://github.com/openSUSE/obs-service-tar_scm/blob/master/tar_scm.py -->
4 4 <service name="tar_scm">
5 5 <param name="changesgenerate">enable</param>
6   - <param name="sslverify">disable</param>
  6 + <param name="changesauthor">perry.werneck@gmail.com</param>
7 7 <param name="versionformat">@PARENT_TAG@</param>
8   - <param name="url">https://softwarepublico.gov.br/gitlab/pw3270/pw3270-plugin-hllapi.git</param>
  8 + <param name="url">https://github.com/PerryWerneck/lib3270-hllapi-bindings.git</param>
9 9 <param name="scm">git</param>
10   - <param name="filename">pw3270-plugin-dbus</param>
11 10 </service>
12 11  
13 12 <!-- https://github.com/openSUSE/obs-service-extract_file -->
... ... @@ -24,3 +23,4 @@
24 23 <service name="set_version" />
25 24  
26 25 </services>
  26 +
... ...
rpm/lib3270-hllapi-bindings.spec
... ... @@ -1,83 +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 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/libhllapi.spec 0 → 100644
... ... @@ -0,0 +1,119 @@
  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: libhllapi5_2
  28 +Version: 5.2
  29 +Release: 0
  30 +License: LGPL-3.0
  31 +Source: lib3270-hllapi-bindings-%{version}.tar.xz
  32 +
  33 +Url: https://github.com/PerryWerneck/lib3270-hllapi-bindings.git
  34 +
  35 +Group: System/X11/Terminals
  36 +BuildRoot: /var/tmp/%{name}-%{version}
  37 +
  38 +BuildRequires: autoconf >= 2.61
  39 +BuildRequires: automake
  40 +BuildRequires: binutils
  41 +BuildRequires: coreutils
  42 +BuildRequires: gcc-c++
  43 +BuildRequires: gettext-devel
  44 +BuildRequires: m4
  45 +BuildRequires: pkgconfig(ipc3270)
  46 +
  47 +%if 0%{?fedora} || 0%{?suse_version} > 1200
  48 +
  49 +BuildRequires: gcc-c++
  50 +BuildRequires: pkgconfig(ipc3270)
  51 +
  52 +%else
  53 +
  54 +BuildRequires: gcc-c++ >= 4.8
  55 +BuildRequires: libipc3270-devel
  56 +
  57 +%endif
  58 +
  59 +
  60 +%description
  61 +
  62 +HLLAPI client library for pw3270/lib3270
  63 +
  64 +See more details at https://softwarepublico.gov.br/social/pw3270/
  65 +
  66 +%package devel
  67 +Summary: HLLAPI Development files.
  68 +
  69 +%description devel
  70 +
  71 +Development files for lib3270/pw3270 HLLAPI client library.
  72 +
  73 +
  74 +#---[ Build & Install ]-----------------------------------------------------------------------------------------------
  75 +
  76 +%prep
  77 +%setup -n lib3270-hllapi-bindings-%{version}
  78 +
  79 +NOCONFIGURE=1 ./autogen.sh
  80 +
  81 +%configure
  82 +
  83 +%build
  84 +make clean
  85 +make all
  86 +
  87 +%install
  88 +rm -rf $RPM_BUILD_ROOT
  89 +
  90 +make \
  91 + DESTDIR=%{?buildroot:%{buildroot}} \
  92 + install
  93 +
  94 +%files
  95 +%defattr(-,root,root)
  96 +%doc AUTHORS LICENSE README.md
  97 +
  98 +%{_libdir}/libhllapi.so.%{MAJOR_VERSION}
  99 +%{_libdir}/libhllapi.so.%{MAJOR_VERSION}.%{MINOR_VERSION}
  100 +
  101 +%files devel
  102 +%defattr(-,root,root)
  103 +%{_libdir}/libhllapi.so
  104 +%{_includedir}/lib3270/hllapi.h
  105 +
  106 +%pre
  107 +/sbin/ldconfig
  108 +exit 0
  109 +
  110 +%post
  111 +/sbin/ldconfig
  112 +exit 0
  113 +
  114 +%postun
  115 +/sbin/ldconfig
  116 +exit 0
  117 +
  118 +%changelog
  119 +
... ...