3 Commits

Author SHA256 Message Date
d6bf444c41 Accepting request 1246497 from X11:terminals
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1246497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lib3270?expand=0&rev=8
2025-02-18 18:12:41 +00:00
48bc7519d9 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/lib3270?expand=0&rev=44 2025-02-17 08:50:47 +00:00
3a423da015 - Update to version 5.5.0+git20250123:
* Publishing updated version 5.5.0
  * Applying meson build fixes from #59 conversation.
  * Fixing windows dll properties.
  * Adding delayed library for windows apps.
  * Build windows app with meson.
  * Refactoring deb packages.
  * Fixing libssl dependency.
  * Fixing pkg-config file.
  * Refactoring codeql workflow.
  * Fixing os includes.
  * Fixing package build.
  * Removing old workflows.
  * Updating po
  * Reorganizing OS based sources.
  * Changing to meson build system.
  * Updating package control files, splitting intl methods to private include.

OBS-URL: https://build.opensuse.org/package/show/X11:terminals/lib3270?expand=0&rev=43
2025-02-17 08:44:28 +00:00
5 changed files with 52 additions and 39 deletions

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/PerryWerneck/lib3270.git</param>
<param name="changesrevision">b19c4cc54b9e0364f9e9d049737a59ab75edff35</param></service></servicedata>
<param name="changesrevision">dbd3bf4498f83ff9691fb5c249510d750e6fe65f</param></service></servicedata>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a20ae353703366234f36fd746c70c43e728e9007fe2b93ba05d929cb6c111b6d
size 266612

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d69d0d1324030dd21f343c900f309ab3b924db1cbef4a19b6019468056e61d6d
size 269068

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Thu Jan 23 20:49:41 UTC 2025 - perry.werneck@gmail.com
- Update to version 5.5.0+git20250123:
* Publishing updated version 5.5.0
* Applying meson build fixes from #59 conversation.
* Fixing windows dll properties.
* Adding delayed library for windows apps.
* Build windows app with meson.
* Refactoring deb packages.
* Fixing libssl dependency.
* Fixing pkg-config file.
* Refactoring codeql workflow.
* Fixing os includes.
* Fixing package build.
* Removing old workflows.
* Updating po
* Reorganizing OS based sources.
* Changing to meson build system.
* Updating package control files, splitting intl methods to private include.
-------------------------------------------------------------------
Sat Aug 17 16:00:46 UTC 2024 - perry.werneck@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package lib3270
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) <2008> <Banco do Brasil S.A.>
#
# All modifications and additions to the file contributed by third parties
@@ -16,32 +16,22 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: lib3270
Version: 5.4+git20240817
Version: 5.5.0+git20250123
Release: 0
Summary: TN3270 Access library
Group: Development/Libraries/C and C++
License: LGPL-3.0-only
Group: System/Libraries
URL: https://github.com/PerryWerneck/lib3270
Source: %{name}-%{version}.tar.xz
BuildRequires: autoconf >= 2.61
BuildRequires: automake
BuildRequires: binutils
BuildRequires: coreutils
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gettext-devel
BuildRequires: libtool
BuildRequires: m4
BuildRequires: pkgconfig
BuildRequires: xz
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libssl)
%if 0%{?centos_version}
# CENTOS Requires gdb for debuginfo
BuildRequires: gdb
%endif
BuildRequires: meson
%description
TN3270 access library, originally designed as part of the pw3270 application.
@@ -63,46 +53,48 @@ For more details, see https://softwarepublico.gov.br/social/pw3270/ .
%package devel
Summary: TN3270 Access library development files
Requires: %{name}-%{_libvrs} = %{version}
Group: Development/Libraries/C and C++
Requires: %{name}-%{_libvrs} = %{version}
%description devel
Header files for the TN3270 access library.
%lang_package -n %{name}-%{_libvrs}
%prep
%setup -q
NOCONFIGURE=1 ./autogen.sh
%configure --with-release=%{release} --disable-static
%autosetup
%meson
%build
make all %{?_smp_mflags}
%meson_build
%install
%make_install
mkdir -p %{buildroot}%{_libdir}/pw3270/%{MAJOR_VERSION}.%{MINOR_VERSION}/plugins
%meson_install
%find_lang %{name}-%{MAJOR_VERSION}.%{MINOR_VERSION} langfiles
%find_lang lib3270-%{MAJOR_VERSION}.%{MINOR_VERSION} langfiles
%fdupes %{buildroot}/%{_prefix}
%files -n %{name}-%{_libvrs} -f langfiles
%files -n %{name}-%{_libvrs}
# https://en.opensuse.org/openSUSE:Packaging_for_Leap#RPM_Distro_Version_Macros
%if 0%{?sle_version} > 120200
%doc AUTHORS README.md
%license LICENSE
%{_libdir}/%{name}.so.*
%else
%doc LICENSE AUTHORS README.md
%endif
%{_libdir}/*.so.%{MAJOR_VERSION}.%{MINOR_VERSION}
%files devel
%{_libdir}/%{name}.so
%dir %{_datadir}/pw3270
%dir %{_datadir}/pw3270/pot
%{_datadir}/pw3270/pot/*.pot
%{_libdir}/*.so
%{_libdir}/*.a
%{_includedir}/*.h
%{_includedir}/%{name}
%{_includedir}/lib3270
%{_libdir}/pkgconfig/*.pc
%{_libdir}/pw3270
%{_libdir}/pw3270/%{MAJOR_VERSION}.%{MINOR_VERSION}
%{_libdir}/pw3270/%{MAJOR_VERSION}.%{MINOR_VERSION}/plugins
%files -n %{name}-%{_libvrs}-lang -f langfiles
%post -n %{name}-%{_libvrs} -p /sbin/ldconfig
%postun -n %{name}-%{_libvrs} -p /sbin/ldconfig