File wingpanel-indicator-namarupa.spec of Package wingpanel-indicator-namarupa

#
# spec file for package wingpanel-indicator-namarupa
#
# Copyright (c) 2025 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 io.elementary.desktop.wingpanel.namarupa
Name:           wingpanel-indicator-namarupa
Version:        @SERVICE@
Release:        0
Summary:        Wingpanel Namarupa Indicator
License:        GPL-3.0-only
URL:            https://github.com/lenemter/wingpanel-indicator-namarupa
Source:         %{name}-%{version}.tar.gz
BuildRequires:  fdupes
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  vala
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gobject-2.0)
BuildRequires:  pkgconfig(granite)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(indicator3-0.4)
BuildRequires:  pkgconfig(wingpanel)
Requires:       indicator-application
Requires:       wingpanel

%description
Unofficial Ayatana compatibility layer for Wingpanel.

%lang_package

%prep
%autosetup

%build
export CFLAGS="%{optflags} -Wno-error=return-type"
%meson
%meson_build

%install
%meson_install
%fdupes %{buildroot}
%find_lang namarupa-indicator

%files
%license COPYING
%doc README.md
%dir %{_libdir}/wingpanel
%{_libdir}/wingpanel/libnamarupa.so
#%{_datadir}/glib-2.0/schemas/%{appid}.gschema.xml
#%{_datadir}/metainfo/io.elementary.wingpanel.namarupa.metainfo.xml

%files lang -f namarupa-indicator.lang

%changelog
openSUSE Build Service is sponsored by