## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec %global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$ %global srcname switchboard-plug-sharing %global plug_type network %global plug_name sharing %global plug_rdnn io.elementary.switchboard.sharing Name: switchboard-plug-sharing Summary: Switchboard Sharing Plug Version: 2.1.5 Release: %autorelease License: GPLv3 URL: https://github.com/elementary/switchboard-plug-sharing 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) Requires: rygel Requires: switchboard%{?_isa} Supplements: (switchboard%{?_isa} and rygel) %description Configure the sharing of system services. %prep %autosetup -n %{srcname}-%{version} -p1 %build %meson %meson_build %install %meson_install %find_lang %{plug_name}-plug %check appstream-util validate-relax --nonet \ %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml %files -f %{plug_name}-plug.lang %doc README.md %license COPYING %{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so %{_datadir}/metainfo/%{plug_rdnn}.appdata.xml %changelog * Sat Jan 22 2022 Fedora Release Engineering 2.1.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering 2.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jul 16 2021 Fabio Valentini 2.1.5-1 - Update to version 2.1.5; Fixes RHBZ#1982074 * Fri Feb 19 2021 Fabio Valentini - 2.1.4-4.20210217git2a0eb27 - Bump to commit 2a0eb27. Rebuilt for granite 6 soname bump. * Wed Jan 27 2021 Fedora Release Engineering - 2.1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Apr 02 2020 Fabio Valentini - 2.1.4-1 - Update to version 2.1.4. * Fri Jan 31 2020 Fedora Release Engineering - 2.1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Aug 03 2019 Fabio Valentini - 2.1.3-4 - Add upstream patch to fix FTBFS with vala 0.45+. * Sat Jul 27 2019 Fedora Release Engineering - 2.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 2.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Oct 20 2018 Fabio Valentini - 2.1.3-1 - Update to version 2.1.3. * Thu Jun 07 2018 Fabio Valentini - 0.1.2-2 - Adapt to removed AUTHORS file. * Thu Jun 07 2018 Fabio Valentini - 0.1.2-1 - Update to version 0.1.2. * Fri Jan 05 2018 Fabio Valentini - 0.1.1-4 - Clean up .spec file. * Tue Nov 07 2017 Fabio Valentini - 0.1.1-3 - Rebuild for the granite 0.5 soname bump. * Tue Jun 20 2017 Fabio Valentini - 0.1.1-2 - Clean up .spec file. * Tue Feb 07 2017 Fabio Valentini - 0.1.1-1 - Update to version 0.1.1. * Thu Sep 29 2016 Fabio Valentini - 0.1-2 - Mass rebuild. * Tue Aug 23 2016 Fabio Valentini - 0.1-1 - Update to version 0.1.