File iplan.spec of Package iplan
#
# spec file for package iplan
#
# Copyright (c) 2023 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 _lto_cflags %{nil}
Name: iplan
Version: 1.9.2
Release: 0
Summary: Your plan for improve personal life and workflow
License: GPL-3.0
URL: https://github.com/iman-salmani/iplan
Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.zst
Source2: cargo_config
BuildRequires: meson
BuildRequires: gtk4-tools
BuildRequires: desktop-file-utils
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: cargo-packaging
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(pango)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libadwaita-1) >= 1.2
%description
Your plan for improve personal life and workflow.
%lang_package
%prep
%setup -qa1
mkdir .cargo
cp %{SOURCE2} .cargo/config
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name}
%files
%license COPYING
%doc README.md
%{_bindir}/iplan
%{_datadir}/applications/ir.imansalmani.IPlan.desktop
%{_datadir}/glib-2.0/schemas/ir.imansalmani.IPlan.gschema.xml
%{_datadir}/metainfo/ir.imansalmani.IPlan.metainfo.xml
%{_datadir}/dbus-1/services/ir.imansalmani.IPlan.service
%{_datadir}/icons/hicolor/*/*/*.*
%{_datadir}/iplan/
%files lang -f %{name}.lang
%changelog