From 75b01aafa5ceeb48a13124ee178eea859ffa46e6 Mon Sep 17 00:00:00 2001 From: Sofia Boldyreva Date: Fri, 17 Mar 2023 20:45:50 +0100 Subject: [PATCH] Import switchboard-6.0.2-1.el9 --- .gitignore | 1 + .switchboard.metadata | 1 + SPECS/switchboard.spec | 251 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 253 insertions(+) create mode 100644 .gitignore create mode 100644 .switchboard.metadata create mode 100644 SPECS/switchboard.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..62295bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/switchboard-6.0.2.tar.gz diff --git a/.switchboard.metadata b/.switchboard.metadata new file mode 100644 index 0000000..1276297 --- /dev/null +++ b/.switchboard.metadata @@ -0,0 +1 @@ +4de309986bf5fe35a4e14a21407096c3dbc72ce3 SOURCES/switchboard-6.0.2.tar.gz diff --git a/SPECS/switchboard.spec b/SPECS/switchboard.spec new file mode 100644 index 0000000..1619ce9 --- /dev/null +++ b/SPECS/switchboard.spec @@ -0,0 +1,251 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.2.6) +%define autorelease(e:s:pb:) %{?-p:0.}%{lua: + release_number = 1; + 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 srcname switchboard +%global appname io.elementary.switchboard + +Name: switchboard +Summary: Modular Desktop Settings Hub +Version: 6.0.2 +Release: %autorelease +License: LGPLv2+ + +URL: https://github.com/elementary/%{name} +Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz + +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: libappstream-glib +BuildRequires: meson +BuildRequires: vala + +BuildRequires: pkgconfig(gee-0.8) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(granite) >= 5.4.0 +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(libhandy-1) >= 0.83.0 + +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +Requires: hicolor-icon-theme + +%description +Extensible System Settings application. + + +%package libs +Summary: Modular Desktop Settings Hub (shared library) + +%description libs +Extensible System Settings application. + +This package contains the shared library. + + +%package devel +Summary: Modular Desktop Settings Hub (development files) +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description devel +Extensible System Settings application. + +This package contains the files required for developing plugs for +switchboard. + + +%prep +%autosetup -n %{srcname}-%{version} -p1 + + +%build +%meson +%meson_build + + +%install +%meson_install + +%find_lang %{appname} + +# create plug directories +mkdir -p %{buildroot}/%{_libdir}/%{name} + +mkdir -p %{buildroot}/%{_libdir}/%{name}/hardware +mkdir -p %{buildroot}/%{_libdir}/%{name}/network +mkdir -p %{buildroot}/%{_libdir}/%{name}/personal +mkdir -p %{buildroot}/%{_libdir}/%{name}/system + + +%check +desktop-file-validate \ + %{buildroot}/%{_datadir}/applications/%{appname}.desktop + +appstream-util validate-relax --nonet \ + %{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml + + +%files -f %{appname}.lang +%{_bindir}/%{appname} + +%{_datadir}/applications/%{appname}.desktop +%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml +%{_datadir}/icons/hicolor/*/apps/%{appname}.svg +%{_datadir}/metainfo/%{appname}.appdata.xml + +%files libs +%doc README.md +%license COPYING + +%dir %{_libdir}/%{name} +%dir %{_libdir}/%{name}/* + +%{_libdir}/lib%{name}-2.0.so.0 +%{_libdir}/lib%{name}-2.0.so.2.0 + +%files devel +%{_includedir}/%{name}-2.0/ + +%{_libdir}/lib%{name}-2.0.so +%{_libdir}/pkgconfig/%{name}-2.0.pc + +%{_datadir}/vala/vapi/%{name}-2.0.deps +%{_datadir}/vala/vapi/%{name}-2.0.vapi + + +%changelog +* Wed Jul 13 2022 Fabio Valentini 6.0.2-1 +- Update to version 6.0.2; Fixes RHBZ#2097198 + +* Tue Jun 07 2022 Fabio Valentini 6.0.1-1 +- Update to version 6.0.1; Fixes RHBZ#2081802 + +* Sat Jan 22 2022 Fedora Release Engineering 6.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering 6.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jul 15 2021 Fabio Valentini 6.0.0-1 +- Update to version 6.0.0; Fixes RHBZ#1982516 + +* Tue Mar 09 2021 Fabio Valentini - 2.4.0-5.20210217gitad5546c +- Obsolete retired Online Accounts plug. + +* Fri Feb 19 2021 Fabio Valentini - 2.4.0-4.20210217gitad5546c +- Bump to commit ad5546c. Rebuilt for granite 6 soname bump. + +* Wed Jan 27 2021 Fedora Release Engineering - 2.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 2.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu May 07 2020 Fabio Valentini - 2.4.0-1 +- Update to version 2.4.0. + +* Wed Apr 01 2020 Fabio Valentini - 2.3.9-1 +- Update to version 2.3.9. + +* Fri Jan 31 2020 Fedora Release Engineering - 2.3.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jan 15 2020 Fabio Valentini - 2.3.8-1 +- Update to version 2.3.8. + +* Tue Nov 05 2019 Fabio Valentini - 2.3.7-1 +- Update to version 2.3.7. + +* Sat Jul 27 2019 Fedora Release Engineering - 2.3.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering - 2.3.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Jan 23 2019 Fabio Valentini - 2.3.6-1 +- Update to version 2.3.6. + +* Fri Nov 30 2018 Fabio Valentini - 2.3.5-1 +- Update to version 2.3.5. + +* Tue Oct 09 2018 Fabio Valentini - 2.3.4-1 +- Update to version 2.3.4. + +* Fri Oct 05 2018 Fabio Valentini - 2.3.3-1 +- Update to version 2.3.3. + +* Tue Jul 31 2018 Florian Weimer - 2.3.2-2 +- Rebuild with fixed binutils + +* Sun Jul 29 2018 Fabio Valentini - 2.3.2-1 +- Update to version 2.3.2. + +* Sat Jul 14 2018 Fedora Release Engineering - 2.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Jun 13 2018 Fabio Valentini - 2.3.1-2 +- Rebuild for granite5 soname bump. + +* Wed Jun 06 2018 Fabio Valentini - 2.3.1-1 +- Update to version 2.3.1. + +* Fri Feb 09 2018 Fedora Release Engineering - 2.3.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Feb 05 2018 Fabio Valentini - 2.3.0-4 +- Clean up .spec file. + +* Sat Nov 04 2017 Fabio Valentini - 2.3.0-3 +- Rebuild for granite soname bump. + +* Thu Aug 03 2017 Fedora Release Engineering - 2.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Fri Jul 28 2017 Fabio Valentini - 2.3.0-1 +- Update to version 2.3.0. + +* Thu Jul 27 2017 Fedora Release Engineering - 2.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Feb 08 2017 Fabio Valentini - 2.2.1-2 +- Rename bundled icon. + +* Wed Feb 01 2017 Fabio Valentini - 2.2.1-1 +- Update to version 2.2.1. +- Remove patch, the new version fixes this. + +* Wed Jan 25 2017 Fabio Valentini - 2.2.0-6 +- Include icon to fix appstream metadata generation. + +* Wed Jan 11 2017 Fabio Valentini - 2.2.0-5 +- Add patch to fix pkgconfig file. + +* Sat Jan 07 2017 Fabio Valentini - 2.2.0-4 +- Split off -libs subpackage. + +* Sat Jan 07 2017 Fabio Valentini - 2.2.0-3 +- Clean up spec file. + +* Sat Dec 24 2016 Fabio Valentini - 2.2.0-2 +- Enable libunity support. + +* Thu Dec 08 2016 Fabio Valentini - 2.2.0-1 +- Update to version 2.2.0. + +* Thu Sep 29 2016 Fabio Valentini - 2.1.0-4 +- Mass rebuild. + +* Wed Sep 28 2016 Fabio Valentini - 2.1.0-3 +- Spec file cleanups. + +* Mon Sep 19 2016 Fabio Valentini - 2.1.0-2 +- Spec file cosmetics. + +* Wed Aug 10 2016 Fabio Valentini - 2.1.0-1 +- Update to version 2.1.0. +