File tau.spec of Package tau

#
# spec file for package tau
#
# Copyright (c) 2020 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 http://bugs.opensuse.org/
#

%define _lto_cflags %{nil}
Name:           tau
Version:        0.12.0
Release:        0
Summary:        GTK frontend for the Xi text editor, written in Rust
License:        MIT
Url:            https://gitlab.gnome.org/World/Tau
Source0:        https://gitlab.gnome.org/World/Tau/uploads/14037a7f98f475d2497b74bd74a0430e/%{name}-%{version}.tar.xz

BuildRequires:  meson
BuildRequires:  cargo
BuildRequires:  rust-std
BuildRequires:  pkgconfig(atk) >= 2.4
BuildRequires:  pkgconfig(cairo) >= 1.16
BuildRequires:  pkgconfig(dbus-1)
BuildRequires:  pkgconfig(gdk-3.0) >= 3.20
BuildRequires:  pkgconfig(gdk-pixbuf-2.0) >= 2.30
BuildRequires:  pkgconfig(gio-2.0)
BuildRequires:  pkgconfig(glib-2.0) >= 2.38
BuildRequires:  pkgconfig(gtk+-3.0)  >= 3.20
BuildRequires:  pkgconfig(pango) >= 1.38
BuildRequires:  pkgconfig(pangocairo) >= 1.38
BuildRequires:  pkgconfig(libhandy-0.0) >= 0.0.11
BuildRequires:  pkgconfig(vte-2.91)

%description
GTK frontend, written in Rust, for the xi editor.
Previously called gxi, development now continues under the name "Tau".

%lang_package

%prep
%autosetup

%build
%meson
%meson_build

%install
%meson_install
%find_lang %{name}

%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%{_libexecdir}/%{name}/
%{_datadir}/applications/*.desktop
%{_datadir}/glib-2.0/schemas/*.gschema.xml
%{_datadir}/metainfo/org.gnome.Tau.appdata.xml
%{_datadir}/icons/hicolor/
%{_datadir}/icons/hicolor/*/apps/*.svg

%files lang -f %{name}.lang

%changelog

openSUSE Build Service is sponsored by