File notes-up.spec of Package notes-up
#
# spec file for package notes-up
#
# Copyright (c) 2024 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 appid com.github.philip_scott.notes-up
Name: notes-up
Version: 2.0.6
Release: 0
Summary: Markdown notes editor & manager
License: GPL-3.0-only
URL: https://github.com/Philip-Scott/Notes-up
Source: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: vala >= 0.39.0
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(granite)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gtksourceview-4)
BuildRequires: pkgconfig(gtkspell3-3.0)
BuildRequires: pkgconfig(libmarkdown)
BuildRequires: pkgconfig(sqlite3) >= 3.5.9
BuildRequires: pkgconfig(webkit2gtk-4.0)
%description
Notes Up is a notes manager written for the Pantheon Desktop. Notes in
Markdown format can be created.
%lang_package
%prep
%autosetup -n Notes-up-%{version}
%build
export CFLAGS="%{optflags} -Wno-incompatible-pointer-types -Wno-int-conversion"
%meson
%meson_build
%install
%meson_install
%find_lang %{appid}
%fdupes %{buildroot}
%files
%license LICENSE
%doc changelog.md README.md
%{_bindir}/%{appid}
%{_datadir}/applications/%{appid}.desktop
%{_datadir}/glib-2.0/schemas/%{appid}.gschema.xml
%{_datadir}/icons/hicolor/*/apps/%{appid}.svg
%{_datadir}/icons/hicolor/*/@2/apps/%{appid}.svg
%{_datadir}/metainfo/%{appid}.appdata.xml
%dir %{_datadir}/icons/hicolor/*/{@2,@2/apps}
%files lang -f %{appid}.lang
%changelog