File rnote.spec of Package rnote
# spec file for package rnote
#
# Copyright (c) 2022 Fabio Pesari
#
# 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/
Name: rnote
Version: 0.5.4
Release: 0
Summary: Sketch, take handwritten notes and annotate PDF files
License: GPL-3.0-only
Group: Productivity/Office/Other
URL: https://github.com/flxzt/rnote/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source0: %{name}-%{version}.tar.gz
BuildRequires: gcc gcc-c++
BuildRequires: rust
BuildRequires: cargo
BuildRequires: hicolor-icon-theme
BuildRequires: meson
BuildRequires: desktop-file-utils
BuildRequires: pkgconfig
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(appstream-glib)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: libxml2-tools
BuildRequires: pkgconfig(poppler-glib)
%description
Rnote is a vector-based drawing app for sketching, handwritten notes and
to annotate documents and pictures. Targeted at students, teachers and those
who own a drawing tablet, it provides features like PDF and picture import
and export, an infinite canvas and an adaptive UI for big and small screens.
%prep
%setup -q
%build
%meson
%meson_build
%install
%meson_install
%files
%doc README.md AUTHORS
%license LICENSE
%{_bindir}/*
%{_datadir}/rnote
%{_datadir}/glib-2.0/schemas/*.xml
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/*.svg
%{_datadir}/locale/*/LC_MESSAGES/rnote*
%{_datadir}/metainfo/*.xml
%{_datadir}/mime/packages/*.xml
%changelog