File gtkterm.spec of Package gtkterm

#
# spec file for package gtkterm
#
# 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 name    gtkterm
%define version 1.1.1
Name:           %{name}
Version:        %{version}
Release:        0
Summary:        It is a "clone" of the famous Hyperterminal
License:        GPL-3.0-only
Group:          Hardware/Modem
URL:            https://github.com/zdavkeos/gtkterm
Source0:        gtkterm-%{version}.tar.gz
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(gudev-1.0)
BuildRequires:  pkgconfig(vte-2.91)
Provides:       %{name} = %{version}-%{release}

%description
Gtkterm is a simple GTK+ terminal used to communicate with a serial port.
It is has fewer features than minicom, but is designed to be as easy to use as possible.

Gtkterm was originally written by Julien Schmitt as a convenient program to communicate with serial devices.
It is targeted mainly at developers working with embedded devices, but is useful for anybody who needs to quickly and easily set up serial communication.

Gtkterm is maintained and hosted here on fedorahosted.org

%lang_package

%prep
%setup -q -n gtkterm-%{version}

%build
%meson
%meson_build

%install
%meson_install
%find_lang %{name}

%files
%{_bindir}/*
%{_mandir}/man1/*
%{_datadir}/applications/gtkterm.desktop
%{_datadir}/icons/hicolor/128x128/apps/gtkterm.png
%{_datadir}/icons/hicolor/256x256/apps/gtkterm.png
%{_datadir}/icons/hicolor/48x48/apps/gtkterm.png
%{_datadir}/icons/hicolor/64x64/apps/gtkterm.png

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by