File moserial.spec of Package moserial

#
# spec file for package moserial
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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/
#


Name:           moserial
Version:        3.0.21
Release:        0
Summary:        Clean, friendly gtk-based serial terminal
License:        GPL-3.0-or-later
Group:          Hardware/Modem
URL:            https://wiki.gnome.org/moserial
Source0:        https://download.gnome.org/sources/%{name}/3.0/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM moserial-gcc14.patch -- Fix build with gcc 14
Patch:          moserial-gcc14.patch

BuildRequires:  fdupes
BuildRequires:  intltool
BuildRequires:  itstool
BuildRequires:  pkgconfig
BuildRequires:  vala >= 0.48.5
BuildRequires:  yelp
BuildRequires:  pkgconfig(gio-2.0)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gobject-2.0)
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.21.4
Recommends:     rzsz
Recommends:     yelp

%description
This a clean, friendly gtk-based serial terminal for the gnome
desktop. It is written in Vala for extra goodness.

Primarily intended for technical users and hardware hackers who
need to communicate with embedded systems, test equipment, and
serial consoles.

%lang_package

%prep
%autosetup -p1

%build
%configure
%make_build

%install
%make_install
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}%{_prefix}

%files
%{_bindir}/%{name}
%{_mandir}/man?/%{name}.?%{ext_man}
%{_datadir}/help/C/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/metainfo/%{name}.appdata.xml

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by