|
torbuntu |
4898aaa |
%global libcall_ui_commit 6798b38d4d66d069751151b3e9a202c6de8d7f3c
|
|
|
0055357 |
|
|
|
383ddc8 |
Name: calls
|
|
|
4245e74 |
Version: 46.0
|
|
|
4245e74 |
Release: 1%{?dist}
|
|
|
383ddc8 |
Summary: A phone dialer and call handler
|
|
|
7258042 |
|
|
|
bcc4c59 |
License: GPL-3.0-or-later AND LGPL-2.1-or-later
|
|
|
383ddc8 |
URL: https://gitlab.gnome.org/GNOME/calls
|
|
|
f558244 |
Source0: https://gitlab.gnome.org/GNOME/calls/-/archive/v%{version}/%{name}-v%{version}.tar.gz
|
|
|
383ddc8 |
Source1: https://gitlab.gnome.org/World/Phosh/libcall-ui/-/archive/%{libcall_ui_commit}/libcall-ui-%{libcall_ui_commit}.tar.gz
|
|
|
7258042 |
|
|
|
383ddc8 |
BuildRequires: gcc
|
|
|
383ddc8 |
BuildRequires: meson
|
|
|
383ddc8 |
BuildRequires: cmake
|
|
|
383ddc8 |
BuildRequires: gcc-c++
|
|
torbuntu |
8a3b1bc |
BuildRequires: dbus-daemon
|
|
|
7258042 |
|
|
|
383ddc8 |
BuildRequires: pkgconfig(libcallaudio-0.1)
|
|
|
383ddc8 |
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
383ddc8 |
BuildRequires: pkgconfig(glib-2.0) >= 2.50.0
|
|
|
383ddc8 |
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
383ddc8 |
BuildRequires: pkgconfig(libhandy-1) >= 1.0.0
|
|
|
383ddc8 |
BuildRequires: pkgconfig(gsound)
|
|
|
383ddc8 |
BuildRequires: pkgconfig(libpeas-1.0)
|
|
|
383ddc8 |
BuildRequires: pkgconfig(gom-1.0)
|
|
|
383ddc8 |
BuildRequires: pkgconfig(libebook-contacts-1.2)
|
|
|
383ddc8 |
BuildRequires: pkgconfig(folks)
|
|
|
383ddc8 |
BuildRequires: pkgconfig(mm-glib)
|
|
|
383ddc8 |
BuildRequires: pkgconfig(libfeedback-0.0) >= 0.0.1
|
|
|
383ddc8 |
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
|
383ddc8 |
BuildRequires: gstreamer1-plugins-good-gtk
|
|
|
383ddc8 |
BuildRequires: sofia-sip-glib-devel
|
|
|
7258042 |
|
|
|
383ddc8 |
BuildRequires: desktop-file-utils
|
|
|
383ddc8 |
BuildRequires: /usr/bin/xvfb-run
|
|
|
383ddc8 |
BuildRequires: /usr/bin/xauth
|
|
|
383ddc8 |
BuildRequires: libappstream-glib
|
|
|
6c57281 |
BuildRequires: python3-docutils
|
|
|
4b567c2 |
|
|
|
383ddc8 |
Requires: hicolor-icon-theme
|
|
|
4b567c2 |
|
|
|
4b567c2 |
%description
|
|
|
4b567c2 |
A phone dialer and call handler.
|
|
|
4b567c2 |
|
|
|
4b567c2 |
%prep
|
|
|
f558244 |
%autosetup -a1 -p1 -n %{name}-v%{version}
|
|
|
0055357 |
|
|
|
ed4708a |
mv libcall-ui-%{libcall_ui_commit}/* subprojects/libcall-ui/
|
|
|
4b567c2 |
|
|
|
4b567c2 |
%build
|
|
|
4b567c2 |
%meson
|
|
|
4b567c2 |
%meson_build
|
|
|
4b567c2 |
|
|
|
4b567c2 |
|
|
|
4b567c2 |
%install
|
|
|
4b567c2 |
%meson_install
|
|
|
0055357 |
|
|
|
0055357 |
# Remove call-ui translations
|
|
|
0055357 |
rm %{buildroot}%{_datadir}/locale/ca/LC_MESSAGES/call-ui.mo
|
|
|
0055357 |
rm %{buildroot}%{_datadir}/locale/de/LC_MESSAGES/call-ui.mo
|
|
|
0055357 |
rm %{buildroot}%{_datadir}/locale/pt_BR/LC_MESSAGES/call-ui.mo
|
|
|
0055357 |
rm %{buildroot}%{_datadir}/locale/ro/LC_MESSAGES/call-ui.mo
|
|
|
0055357 |
rm %{buildroot}%{_datadir}/locale/uk/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
3e12048 |
rm %{buildroot}%{_datadir}/locale/fa/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
3e12048 |
rm %{buildroot}%{_datadir}/locale/fur/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
3e12048 |
rm %{buildroot}%{_datadir}/locale/nl/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
3e12048 |
rm %{buildroot}%{_datadir}/locale/pt/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
3e12048 |
rm %{buildroot}%{_datadir}/locale/sv/LC_MESSAGES/call-ui.mo
|
|
|
ed4708a |
rm %{buildroot}%{_datadir}/locale/gl/LC_MESSAGES/call-ui.mo
|
|
|
ed4708a |
rm %{buildroot}%{_datadir}/locale/it/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
c60b229 |
rm %{buildroot}%{_datadir}/locale/sl/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
c60b229 |
rm %{buildroot}%{_datadir}/locale/es/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
c60b229 |
rm %{buildroot}%{_datadir}/locale/fi/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
c60b229 |
rm %{buildroot}%{_datadir}/locale/he/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
c60b229 |
rm %{buildroot}%{_datadir}/locale/ka/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
c60b229 |
rm %{buildroot}%{_datadir}/locale/oc/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
c60b229 |
rm %{buildroot}%{_datadir}/locale/pl/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
c60b229 |
rm %{buildroot}%{_datadir}/locale/sr/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
c60b229 |
rm %{buildroot}%{_datadir}/locale/tr/LC_MESSAGES/call-ui.mo
|
|
|
6c57281 |
rm %{buildroot}%{_datadir}/locale/el/LC_MESSAGES/call-ui.mo
|
|
|
6c57281 |
rm %{buildroot}%{_datadir}/locale/fr/LC_MESSAGES/call-ui.mo
|
|
|
6c57281 |
rm %{buildroot}%{_datadir}/locale/ru/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
8de3735 |
rm %{buildroot}%{_datadir}/locale/hr/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
4898aaa |
rm %{buildroot}%{_datadir}/locale/cs/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
4898aaa |
rm %{buildroot}%{_datadir}/locale/eu/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
4898aaa |
rm %{buildroot}%{_datadir}/locale/hi/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
4898aaa |
rm %{buildroot}%{_datadir}/locale/hu/LC_MESSAGES/call-ui.mo
|
|
torbuntu |
c60b229 |
|
|
torbuntu |
8de3735 |
# We do not support the ofono backend
|
|
torbuntu |
8de3735 |
rm -rf %{buildroot}%{_libdir}/calls/plugins/provider/ofono/
|
|
|
0055357 |
|
|
|
879196b |
%find_lang %{name}
|
|
|
4b567c2 |
|
|
|
4b567c2 |
%check
|
|
|
1cfcec6 |
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.Calls.metainfo.xml
|
|
|
4b567c2 |
|
|
|
1cfcec6 |
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Calls.desktop
|
|
|
4b567c2 |
|
|
|
62c4ff0 |
# Some tests are failing in the build environment, so we manually just run a handful for now.
|
|
|
4b567c2 |
LC_ALL=C.UTF-8 xvfb-run sh <<'SH'
|
|
|
ed4708a |
%meson_test plugins
|
|
|
4b567c2 |
SH
|
|
|
4b567c2 |
|
|
|
4b567c2 |
|
|
|
879196b |
%files -f %{name}.lang
|
|
|
1cfcec6 |
%{_sysconfdir}/xdg/autostart/org.gnome.Calls-daemon.desktop
|
|
|
6cf0456 |
%{_bindir}/gnome-%{name}
|
|
|
4b567c2 |
|
|
torbuntu |
8de3735 |
%dir %{_libdir}/calls/plugins/provider
|
|
|
4b567c2 |
|
|
torbuntu |
8de3735 |
%dir %{_libdir}/calls/plugins/provider/mm
|
|
torbuntu |
8de3735 |
%dir %{_libdir}/calls/plugins/provider/dummy
|
|
torbuntu |
8de3735 |
%dir %{_libdir}/calls/plugins/provider/sip
|
|
torbuntu |
8de3735 |
|
|
torbuntu |
8de3735 |
%{_libdir}/calls/plugins/provider/mm/libmm.so
|
|
torbuntu |
8de3735 |
%{_libdir}/calls/plugins/provider/mm/mm.plugin
|
|
torbuntu |
8de3735 |
%{_libdir}/calls/plugins/provider/dummy/dummy.plugin
|
|
torbuntu |
8de3735 |
%{_libdir}/calls/plugins/provider/dummy/libdummy.so
|
|
torbuntu |
8de3735 |
%{_libdir}/calls/plugins/provider/sip/libsip.so
|
|
torbuntu |
8de3735 |
%{_libdir}/calls/plugins/provider/sip/sip.plugin
|
|
|
4b567c2 |
|
|
|
6c57281 |
%{_datadir}/dbus-1/services/org.gnome.Calls.service
|
|
|
1cfcec6 |
%{_datadir}/glib-2.0/schemas/org.gnome.Calls.gschema.xml
|
|
|
1cfcec6 |
%{_datadir}/applications/org.gnome.Calls.desktop
|
|
|
1cfcec6 |
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Calls.svg
|
|
|
1cfcec6 |
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Calls-symbolic.svg
|
|
|
1cfcec6 |
%{_datadir}/metainfo/org.gnome.Calls.metainfo.xml
|
|
|
4b567c2 |
|
|
|
6c57281 |
%{_mandir}/man1/gnome-calls.1*
|
|
|
6c57281 |
|
|
|
4b567c2 |
%doc README.md
|
|
|
4b567c2 |
%license COPYING
|
|
|
4b567c2 |
|
|
|
4b567c2 |
%changelog
|
|
|
a9723f8 |
%autochangelog
|