SHA256
1
0
forked from pool/libgnt
libgnt/libgnt.spec
Matej Cepl 082e33fc8a Accepting request 949783 from home:dirkmueller:Factory
- update to 2.14.3:
  * Added an option to disable python2 support.
  * Add an option to disable building the docs.
  * Fix a SEGFAULT in gnt_combo_box_get_dropdown.
  * Fix an invalid read/write when hiding widgets
  * Look for python-2.7.pc as well as python2.pc
  * Bump the minimum meson version from 0.37.0 to 0.41.0
  * Fix a buffer size in gntwm.c

OBS-URL: https://build.opensuse.org/request/show/949783
OBS-URL: https://build.opensuse.org/package/show/network:pidgin/libgnt?expand=0&rev=6
2022-01-28 23:23:18 +00:00

89 lines
2.5 KiB
RPMSpec

#
# spec file for package libgnt
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define sover 0
Name: libgnt
Version: 2.14.3
Release: 0
Summary: TUI toolkit based on GLib and ncurses
License: GPL-2.0-or-later
URL: https://pidgin.im/
Source: http://downloads.sf.net/pidgin/%{name}-%{version}.tar.xz
Source1: http://downloads.sf.net/pidgin/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
Source3: baselibs.conf
# PATCH-FIX-OPENSUSE libgnt-ncurses-6.0-accessors.patch pidgin.im#16764 dimstar@opensuse.org -- Fix build with NCurses 6.0 with WINDOW_OPAQUE set to 1.
Patch0: libgnt-ncurses-6.0-accessors.patch
BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libxml-2.0)
%description
GNT is an ncurses toolkit for creating text-mode graphical user
interfaces.
%package -n %{name}%{sover}
Summary: TUI Toolkit based on GLib and ncurses
%description -n %{name}%{sover}
GNT is an ncurses toolkit for creating text-mode graphical user
interfaces.
%package -n %{name}-devel
Summary: Development files of GNT
Requires: %{name}%{sover} = %{version}
%description -n %{name}-devel
GNT is an ncurses toolkit for creating text-mode graphical user
interfaces.
The GNT development package includes the header files, libraries,
and development tools necessary for compiling and linking
applications which will use GNT.
%prep
%autosetup -p1
%build
%meson -D python2=false
%meson_build
%install
%meson_install
%post -n %{name}%{sover} -p /sbin/ldconfig
%postun -n %{name}%{sover} -p /sbin/ldconfig
%files -n %{name}%{sover}
%license COPYING
%doc ChangeLog README.md
%{_libdir}/%{name}.so.%{sover}*
%files -n %{name}-devel
%{_datadir}/gtk-doc/*/%{name}/
%{_includedir}/gnt/
%{_libdir}/%{name}.so
%{_libdir}/gnt/
%{_libdir}/pkgconfig/gnt.pc
%changelog