File switchboard-plug-network.spec of Package switchboard-plug-network
Name: io.elementary.switchboard-plug-network
Summary: Switchboard Network Plug
Version: daily
Release: %autorelease
License: LGPLv3+
URL: https://github.com/elementary/switchboard-plug-network
Source0: %{url}/archive/%{version}/switchboard-plug-network-%{version}.tar.gz
BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: io.elementary.granite-7-devel
BuildRequires: gtk3-devel
BuildRequires: NetworkManager-libnm-devel
BuildRequires: libnma-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 Network Plug
%prep
%autosetup -n switchboard-plug-network-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang networking-plug
%check
appstream-util validate-relax --nonet \
%{buildroot}/%{_datadir}/metainfo/io.elementary.switchboard.network.appdata.xml
%files -f networking-plug.lang
%doc README.md
%license COPYING
/usr/lib64/switchboard/network/libnetworking.so
/usr/share/metainfo/io.elementary.switchboard.network.appdata.xml
%changelog
%autochangelog