File switchboard-plug-sound.spec of Package switchboard-plug-sound

Name:           io.elementary.switchboard-plug-sound
Summary:        Switchboard Sound Plug
Version:        daily
Release:        %autorelease
License:        LGPLv3+

URL:            https://github.com/elementary/switchboard-plug-sound
Source0:        %{url}/archive/%{version}/switchboard-plug-sound-%{version}.tar.gz

BuildRequires:  gettext
BuildRequires:  libappstream-glib
BuildRequires:  libcanberra-devel
BuildRequires:  libcanberra-gtk3
BuildRequires:  libhandy-devel
BuildRequires:  io.elementary.granite-7-devel
BuildRequires:  pulseaudio-libs-devel
BuildRequires:  io.elementary.switchboard-devel
BuildRequires:  meson
BuildRequires:  vala

# needed by obs-service-obs_scm-common
BuildRequires:  glibc-langpack-en
#!BuildIgnore:  glibc-all-langpacks

%description
Switchboard Sound Plug


%prep
%autosetup -n switchboard-plug-sound-%{version} -p1


%build
%meson
%meson_build

%install
%meson_install
%find_lang sound-plug


# %check
# ? tag-invalid           : stock icon is not valid [preferences-desktop-sound]
# appstream-util validate-relax --nonet \
#     %{buildroot}/%{_datadir}/metainfo/io.elementary.switchboard.sound.metainfo.xml


%files -f sound-plug.lang
%doc README.md
%license COPYING

/usr/lib64/switchboard/system/libsound.so
/usr/share/metainfo/io.elementary.switchboard.sound.metainfo.xml


%changelog
%autochangelog
openSUSE Build Service is sponsored by