158 lines
5.3 KiB
RPMSpec
158 lines
5.3 KiB
RPMSpec
## 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 __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$
|
|
|
|
%global plug_type network
|
|
%global plug_name online-accounts
|
|
%global plug_rdnn io.elementary.switchboard.onlineaccounts
|
|
|
|
Name: switchboard-plug-onlineaccounts
|
|
Summary: Switchboard Online Accounts plug
|
|
Version: 6.5.0
|
|
Release: %autorelease
|
|
License: GPLv3+
|
|
|
|
URL: https://github.com/elementary/switchboard-plug-onlineaccounts
|
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: gettext
|
|
BuildRequires: libappstream-glib
|
|
BuildRequires: meson
|
|
BuildRequires: vala
|
|
|
|
BuildRequires: pkgconfig(camel-1.2) >= 3.28
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
BuildRequires: pkgconfig(granite) >= 6.0.0
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
BuildRequires: pkgconfig(libedataserver-1.2)
|
|
BuildRequires: pkgconfig(libedataserverui-1.2)
|
|
BuildRequires: pkgconfig(libhandy-1) >= 1.0.0
|
|
BuildRequires: pkgconfig(switchboard-2.0)
|
|
|
|
Requires: switchboard%{?_isa}
|
|
Supplements: switchboard%{?_isa}
|
|
|
|
Requires: hicolor-icon-theme
|
|
|
|
|
|
%description
|
|
Manage online accounts and connected applications.
|
|
|
|
|
|
%prep
|
|
%autosetup -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
|
|
%license LICENSE
|
|
%doc README.md
|
|
|
|
%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
|
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
|
|
|
|
|
%changelog
|
|
* Tue Jun 07 2022 Fabio Valentini <decathorpe@gmail.com> 6.5.0-1
|
|
- Update to version 6.5.0; Fixes RHBZ#2087517
|
|
|
|
* Thu Apr 07 2022 Fabio Valentini <decathorpe@gmail.com> 6.4.0-1
|
|
- Update to version 6.4.0; Fixes RHBZ#2072874
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> 6.3.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Fri Jan 07 2022 Fabio Valentini <decathorpe@gmail.com> 6.3.0-1
|
|
- Update to version 6.3.0
|
|
|
|
* Fri Feb 19 2021 Fabio Valentini <decathorpe@gmail.com> - 2.0.1-11.20210218gita2a7bc3
|
|
- Bump to commit a2a7bc3. Rebuilt for granite 6 soname bump.
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
* Mon Aug 10 2020 Fabio Valentini <decathorpe@gmail.com> - 2.0.1-9
|
|
- Include backported upstream patch to fix novel compilation issue.
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-8
|
|
- Second attempt - Rebuilt for
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Fri Jan 31 2020 Fabio Valentini <decathorpe@gmail.com> - 2.0.1-6
|
|
- Add upstream patch to fix FTBFS with vala 0.47+.
|
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Sat Aug 03 2019 Fabio Valentini <decathorpe@gmail.com> - 2.0.1-4
|
|
- Add upstream patch to fix FTBFS with vala 0.45+.
|
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Sun Nov 04 2018 Fabio Valentini <decathorpe@gmail.com> - 2.0.1-1
|
|
- Update to version 2.0.1.
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Wed Jun 13 2018 Fabio Valentini <decathorpe@gmail.com> - 0.3.1-2
|
|
- Rebuild for granite5 soname bump.
|
|
|
|
* Thu May 03 2018 Fabio Valentini <decathorpe@gmail.com> - 0.3.1-1
|
|
- Update to version 0.3.1.
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0.1-7.20170417.git5a0270a
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Tue Jan 23 2018 Fabio Valentini <decathorpe@gmail.com> - 0.3.0.1-6.20170417.git5a0270a
|
|
- Be lazy about undefined symbols in plugins.
|
|
|
|
* Sat Jan 06 2018 Fabio Valentini <decathorpe@gmail.com> - 0.3.0.1-5.20170417.git5a0270a
|
|
- Remove icon cache scriptlets, replaced by file triggers.
|
|
|
|
* Sat Nov 04 2017 Fabio Valentini <decathorpe@gmail.com> - 0.3.0.1-4.20170417.git5a0270a
|
|
- Rebuild for granite soname bump.
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0.1-3.20170417.git5a0270a
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0.1-2.20170417.git5a0270a
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Sat Apr 15 2017 Fabio Valentini <decathorpe@gmail.com> - 0.3.0.1-1.20170417.git5a0270a
|
|
- Initial package.
|
|
|