## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 2; 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-display %global plug_type hardware %global plug_name display %global plug_rdnn io.elementary.switchboard.display Name: switchboard-plug-display Summary: Switchboard Display plug Version: 2.3.2 Release: %autorelease License: GPLv3+ URL: https://github.com/elementary/switchboard-plug-display 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(libhandy-1) >= 0.83.0 BuildRequires: pkgconfig(switchboard-2.0) Requires: switchboard%{?_isa} Supplements: switchboard%{?_isa} %description A switchboard plug to show information about displays and to configure them. %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.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Oct 28 2021 Fabio Valentini 2.3.2-1 - Update to version 2.3.2; Fixes RHBZ#2017633 * Tue Aug 24 2021 Fabio Valentini 2.3.1-1 - Update to version 2.3.1; Fixes RHBZ#1996294 * Fri Jul 23 2021 Fedora Release Engineering 2.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jul 15 2021 Fabio Valentini 2.3.0-1 - Update to version 2.3.0; Fixes RHBZ#1982514 * Fri Feb 19 2021 Fabio Valentini - 2.2.2-4.20210217git7098f7b - Bump to commit 7098f7b. Rebuilt for granite 6 soname bump. * Wed Jan 27 2021 Fedora Release Engineering - 2.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri May 29 2020 Fabio Valentini - 2.2.2-1 - Update to version 2.2.2. * Wed Apr 08 2020 Fabio Valentini - 2.2.1-1 - Update to version 2.2.1. * Fri Jan 31 2020 Fedora Release Engineering - 2.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Nov 16 2019 Fabio Valentini - 2.2.0-1 - Update to version 2.2.0. * Sat Sep 28 2019 Fabio Valentini - 2.1.9-1 - Update to version 2.1.9. * Sat Jul 27 2019 Fedora Release Engineering - 2.1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Apr 24 2019 Fabio Valentini - 2.1.8-1 - Update to version 2.1.8. * Tue Apr 16 2019 Adam Williamson - 2.1.7-2 - Rebuild with Meson fix for #1699099 * Sat Apr 06 2019 Fabio Valentini - 2.1.7-1 - Update to version 2.1.7. * Sun Feb 03 2019 Fedora Release Engineering - 2.1.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Dec 21 2018 Fabio Valentini - 2.1.6-1 - Update to version 2.1.6. * Mon Oct 01 2018 Fabio Valentini - 2.1.5-1 - Update to version 2.1.5. * Sat Jul 14 2018 Fedora Release Engineering - 0.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jul 05 2018 Fabio Valentini - 0.1.4-1 - Update to version 0.1.4. * Wed Jun 13 2018 Fabio Valentini - 0.1.3-7 - Rebuild for granite5 soname bump. * Sun Feb 18 2018 Fabio Valentini - 0.1.3-6 - Rebuild for gnome-desktop3 soname bump. * Fri Feb 09 2018 Fedora Release Engineering - 0.1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Nov 04 2017 Fabio Valentini - 0.1.3-4 - Rebuild for granite soname bump. * Thu Aug 03 2017 Fedora Release Engineering - 0.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed May 03 2017 Fabio Valentini - 0.1.3-1 - Update to version 0.1.3. * Fri Feb 03 2017 Fabio Valentini - 0.1.2.1-2 - Clean up spec file. * Sat Oct 29 2016 Fabio Valentini - 0.1.2.1-1 - Update to version 0.1.2.1. * Thu Sep 29 2016 Fabio Valentini - 0.1.2-2 - Mass rebuild. * Mon Aug 22 2016 Fabio Valentini - 0.1.2-1 - Update to version 0.1.2.