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/
#


Name:           gtkterm
Version:        1.3.1
Release:        0
Summary:        Serial port terminal
License:        GPL-3.0-only
Group:          Hardware/Modem
URL:            https://github.com/Jeija/gtkterm
Source0:        https://github.com/Jeija/gtkterm/archive/%{version}.tar.gz#/%{name}-%{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)

%description
GTKTerm is a simple, graphical serial port terminal emulator
for Linux and possibly other POSIX-compliant operating systems.
It can be used to communicate with all kinds of devices with a
serial interface, such as embedded computers, microcontrollers,
modems, GPS receivers, CNC machines and more.

%lang_package

%prep
%setup -q

%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