Import switchboard-plug-bluetooth-2.3.6-3.el9

This commit is contained in:
Sofia Boldyreva 2023-03-17 21:02:55 +01:00
commit 40ad31faa8
3 changed files with 172 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/switchboard-plug-bluetooth-2.3.6.tar.gz

View File

@ -0,0 +1 @@
97ed2fb044209a47763e8a2edc75ab14d1629511 SOURCES/switchboard-plug-bluetooth-2.3.6.tar.gz

View File

@ -0,0 +1,170 @@
## 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-bluetooth
%global plug_type network
%global plug_name bluetooth
%global plug_rdnn io.elementary.switchboard.bluetooth
Name: switchboard-plug-bluetooth
Summary: Switchboard Bluetooth plug
Version: 2.3.6
Release: %autorelease
License: GPLv3+
URL: https://github.com/elementary/switchboard-plug-bluetooth
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: bluez
Requires: switchboard%{?_isa}
Supplements: (switchboard%{?_isa} and bluez)
%description
The Bluetooth plug is a section in the Switchboard (System Settings)
that allows the user to manage bluetooth settings and connected
devices.
%prep
%autosetup -n %{srcname}-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{plug_name}-plug
# remove the specified stock icon from appdata (invalid in libappstream-glib)
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
%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 <releng@fedoraproject.org> 2.3.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> 2.3.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jul 15 2021 Fabio Valentini <decathorpe@gmail.com> 2.3.6-1
- Update to version 2.3.6; Fixes RHBZ#1982513
* Tue Mar 09 2021 Fabio Valentini <decathorpe@gmail.com> - 2.3.5-1
- Update to version 2.3.5.
* Fri Feb 19 2021 Fabio Valentini <decathorpe@gmail.com> - 2.3.4-3.20210215git5f48a89
- Bump to commit 5f48a89. Rebuilt for granite 6 soname bump.
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Jan 07 2021 Fabio Valentini <decathorpe@gmail.com> - 2.3.4-1
- Update to version 2.3.4.
* Fri Oct 09 2020 Fabio Valentini <decathorpe@gmail.com> - 2.3.3-1
- Update to version 2.3.3.
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri May 29 2020 Fabio Valentini <decathorpe@gmail.com> - 2.3.2-1
- Update to version 2.3.2.
* Thu Feb 27 2020 Fabio Valentini <decathorpe@gmail.com> - 2.3.1-1
- Update to version 2.3.1.
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Nov 01 2019 Fabio Valentini <decathorpe@gmail.com> - 2.3.0-1
- Update to version 2.3.0.
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 2.2.2-2
- Rebuild with Meson fix for #1699099
* Sat Apr 13 2019 Fabio Valentini <decathorpe@gmail.com> - 2.2.2-1
- Update to version 2.2.2.
* Fri Feb 08 2019 Fabio Valentini <decathorpe@gmail.com> - 2.2.1-1
- Update to version 2.2.1.
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jan 24 2019 Fabio Valentini <decathorpe@gmail.com> - 2.2.0-1
- Update to version 2.2.0.
* Fri Oct 19 2018 Fabio Valentini <decathorpe@gmail.com> - 2.1.2-1
- Update to version 2.1.2.
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jun 13 2018 Fabio Valentini <decathorpe@gmail.com> - 0.1.1-2
- Rebuild for granite5 soname bump.
* Fri Jun 08 2018 Fabio Valentini <decathorpe@gmail.com> - 0.1.1-1
- Update to version 0.1.1.
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Feb 05 2018 Fabio Valentini <decathorpe@gmail.com> - 0.1-6
- Clean up .spec file.
* Sat Nov 04 2017 Fabio Valentini <decathorpe@gmail.com> - 0.1-5
- Rebuild for granite soname bump.
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Thu May 18 2017 Fabio Valentini <decathorpe@gmail.com> - 0.1-2
- Add upstream patch to fix compilation with vala 0.35+.
* Mon Feb 20 2017 Fabio Valentini <decathorpe@gmail.com> - 0.1-1
- Initial package.