File budgie-calendar-applet.spec of Package budgie-calendar-applet

#
# spec file for package budgie-calendar-applet
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2025 Shawn W Dunn <sfalken@opensuse.org>
#
# 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.danielpinto8zz6.budgie-calendar-applet
Name:           budgie-calendar-applet
Version:        5.3
Release:        0
Summary:        Calendar applet for Budgie Desktop
License:        GPL-2.0-or-later
URL:            https://github.com/danielpinto8zz6/budgie-calendar-applet
Source:         %{url}/archive/refs/tags/%{version}.tar.gz

BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  vala

BuildRequires:  pkgconfig(budgie-1.0)
BuildRequires:  pkgconfig(gtk+-3.0)

%description
A budgie-desktop applet to show hours and when click show a calendar in a popover.

%lang_package

%prep
%autosetup -p1 -n %{name}-%{version}

%build
%meson
%meson_build

%install
export LANG=en_US.UTF-8
%meson_install
%find_lang %{appid}

%files -f %{appid}.lang
%license LICENSE
%doc README.md
%dir %{_libdir}/budgie-desktop
%dir %{_libdir}/budgie-desktop/plugins
%{_libdir}/budgie-desktop/plugins/%{appid}/
%{_datadir}/metainfo/%{appid}.appdata.xml
%{_datadir}/glib-2.0/schemas/%{appid}.gschema.xml


%changelog

openSUSE Build Service is sponsored by