Skip to content

Commit

Permalink
fix: switchboard-plug-sharing (#1671)
Browse files Browse the repository at this point in the history
* fix: switchboard-plug-sharing

* Update switchboard-plug-sharing.spec

Signed-off-by: madomado <[email protected]>

---------

Signed-off-by: madomado <[email protected]>
  • Loading branch information
madonuko authored Jul 27, 2024
1 parent 453a96d commit 918a38a
Showing 1 changed file with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

%global plug_type network
%global plug_name sharing
%global plug_rdnn io.elementary.switchboard.sharing
%global plug_rdnn io.elementary.settings.sharing

Name: switchboard-plug-sharing
Summary: Switchboard Sharing Plug
Expand All @@ -18,12 +18,9 @@ Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson
BuildRequires: vala >= 0.22.0

BuildRequires: pkgconfig(glib-2.0) >= 2.32
BuildRequires: pkgconfig(granite)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(switchboard-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(switchboard-3)

Requires: rygel
Requires: switchboard%{?_isa}
Expand All @@ -46,21 +43,21 @@ Configure the sharing of system services.
%install
%meson_install

%find_lang %{plug_name}-plug
%find_lang %{plug_rdnn}


%check
appstream-util validate-relax --nonet \
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml


%files -f %{plug_name}-plug.lang
%files -f %{plug_rdnn}.lang
%doc README.md
%license COPYING

%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_rdnn}.so

%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml


%changelog
Expand Down

0 comments on commit 918a38a

Please sign in to comment.