2021-09-28 09:36:16 +02:00
|
|
|
#
|
|
|
|
# spec file for package calls
|
|
|
|
#
|
2023-01-16 08:56:44 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2021-09-28 09:36:16 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: calls
|
2023-04-24 09:43:28 +02:00
|
|
|
Version: 44.1
|
2022-01-31 21:26:48 +01:00
|
|
|
Release: 0
|
2021-09-28 09:36:16 +02:00
|
|
|
Summary: A phone dialer and call handler
|
|
|
|
License: GPL-3.0-only AND MIT
|
2022-01-31 21:26:48 +01:00
|
|
|
URL: https://gitlab.gnome.org/GNOME/calls
|
2023-03-20 13:47:11 +01:00
|
|
|
Source0: https://download.gnome.org/sources/calls/44/%{name}-%{version}.tar.xz
|
2021-09-28 09:36:16 +02:00
|
|
|
BuildRequires: appstream-glib
|
2022-01-31 21:26:48 +01:00
|
|
|
BuildRequires: c++_compiler
|
|
|
|
BuildRequires: c_compiler
|
2022-09-13 09:38:19 +02:00
|
|
|
BuildRequires: desktop-file-utils
|
2021-09-28 09:36:16 +02:00
|
|
|
BuildRequires: hicolor-icon-theme
|
|
|
|
BuildRequires: meson
|
2022-09-13 09:38:19 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: python3-docutils
|
2021-09-28 09:36:16 +02:00
|
|
|
BuildRequires: sofia-sip
|
|
|
|
BuildRequires: vala
|
|
|
|
BuildRequires: xvfb-run
|
|
|
|
BuildRequires: pkgconfig(folks)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.50.0
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
|
BuildRequires: pkgconfig(gom-1.0)
|
|
|
|
BuildRequires: pkgconfig(gsound)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-audio-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-plugins-bad-1.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
BuildRequires: pkgconfig(libcallaudio-0.1)
|
|
|
|
BuildRequires: pkgconfig(libebook-contacts-1.2)
|
|
|
|
BuildRequires: pkgconfig(libfeedback-0.0)
|
|
|
|
BuildRequires: pkgconfig(libhandy-1)
|
|
|
|
BuildRequires: pkgconfig(libpeas-1.0)
|
|
|
|
BuildRequires: pkgconfig(mm-glib)
|
|
|
|
BuildRequires: pkgconfig(sofia-sip-ua-glib)
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
2022-03-21 09:36:18 +01:00
|
|
|
Calls is also a capable sip-client.
|
|
|
|
|
|
|
|
%package ofono
|
|
|
|
Summary: Ofono support for %{name}
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description ofono
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
This package is not recommended, only install if you are sure you
|
|
|
|
want ofono support.
|
|
|
|
|
2021-09-28 09:36:16 +02:00
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
2022-03-21 09:36:18 +01:00
|
|
|
%autosetup -p1
|
2021-09-28 09:36:16 +02:00
|
|
|
|
|
|
|
%build
|
2022-01-31 21:26:48 +01:00
|
|
|
%meson \
|
2022-03-21 09:36:18 +01:00
|
|
|
--sysconfdir=%{_distconfdir} \
|
2022-01-31 21:26:48 +01:00
|
|
|
%{nil}
|
2021-09-28 09:36:16 +02:00
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
2022-03-21 09:36:18 +01:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
%find_lang call-ui %{?no_lang_C}
|
2021-09-28 09:36:16 +02:00
|
|
|
|
|
|
|
%check
|
2022-01-31 21:26:48 +01:00
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.Calls.metainfo.xml
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Calls.desktop
|
|
|
|
|
2022-03-21 09:36:18 +01:00
|
|
|
## Some tests are failing in the build environment, so we manually just run a handful for now.
|
|
|
|
#LC_ALL=C.UTF-8 xvfb-run sh <<'SH'
|
|
|
|
#%%meson_test manager plugins
|
|
|
|
#SH
|
2021-09-28 09:36:16 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
2022-01-31 21:26:48 +01:00
|
|
|
%doc NEWS README.md
|
|
|
|
%{_bindir}/gnome-%{name}
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
%dir %{_libdir}/%{name}/plugins
|
2022-09-13 09:38:19 +02:00
|
|
|
%dir %{_libdir}/%{name}/plugins/provider
|
|
|
|
%dir %{_libdir}/%{name}/plugins/provider/mm
|
|
|
|
%dir %{_libdir}/%{name}/plugins/provider/dummy
|
|
|
|
%dir %{_libdir}/%{name}/plugins/provider/sip
|
|
|
|
%{_libdir}/%{name}/plugins/provider/mm/libmm.so
|
|
|
|
%{_libdir}/%{name}/plugins/provider/mm/mm.plugin
|
|
|
|
%{_libdir}/%{name}/plugins/provider/dummy/dummy.plugin
|
|
|
|
%{_libdir}/%{name}/plugins/provider/dummy/libdummy.so
|
|
|
|
%{_libdir}/%{name}/plugins/provider/sip/libsip.so
|
|
|
|
%{_libdir}/%{name}/plugins/provider/sip/sip.plugin
|
2022-03-21 09:36:18 +01:00
|
|
|
# ofono is dead upstream so we explicitly exclude the plugins from main package
|
2022-09-13 09:38:19 +02:00
|
|
|
%exclude %{_libdir}/%{name}/plugins/provider/ofono/libofono.so
|
|
|
|
%exclude %{_libdir}/%{name}/plugins/provider/ofono/ofono.plugin
|
2022-01-31 21:26:48 +01:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.Calls.gschema.xml
|
|
|
|
%{_datadir}/applications/org.gnome.Calls.desktop
|
2022-09-13 09:38:19 +02:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Calls.service
|
2022-01-31 21:26:48 +01:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Calls.svg
|
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Calls-symbolic.svg
|
|
|
|
%{_datadir}/metainfo/org.gnome.Calls.metainfo.xml
|
2022-09-13 09:38:19 +02:00
|
|
|
%{_mandir}/man1/gnome-calls.1%{?ext_man}
|
|
|
|
%{_distconfdir}/xdg/autostart/org.gnome.Calls-daemon.desktop
|
2021-09-28 09:36:16 +02:00
|
|
|
|
2022-03-21 09:36:18 +01:00
|
|
|
%files ofono
|
2022-09-13 09:38:19 +02:00
|
|
|
%dir %{_libdir}/%{name}/plugins/provider/ofono
|
|
|
|
%{_libdir}/%{name}/plugins/provider/ofono/libofono.so
|
|
|
|
%{_libdir}/%{name}/plugins/provider/ofono/ofono.plugin
|
2022-03-21 09:36:18 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang -f call-ui.lang
|
2021-09-28 09:36:16 +02:00
|
|
|
|
|
|
|
%changelog
|