Bjørn Lie
ab66652172
As bad as what we have in GNOME:Factory, but at least updated OBS-URL: https://build.opensuse.org/request/show/945930 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/calls?expand=0&rev=2
92 lines
2.6 KiB
RPMSpec
92 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package calls
|
|
#
|
|
# Copyright (c) 2021 SUSE LLC
|
|
#
|
|
# 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
|
|
Version: 41.1
|
|
Release: 0%{?dist}
|
|
Summary: A phone dialer and call handler
|
|
License: GPL-3.0-only AND MIT
|
|
URL: https://source.puri.sm/Librem5/calls
|
|
Source0: %{name}-%{version}.tar.xz
|
|
BuildRequires: appstream-glib
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: meson
|
|
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(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)
|
|
Recommends: %{name}-lang
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version}/
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%find_lang %{name}
|
|
|
|
%check
|
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/sm.puri.Calls.metainfo.xml
|
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/sm.puri.Calls.desktop
|
|
#LC_ALL=C.UTF-8 xvfb-run sh <<'SH'
|
|
#meson_test
|
|
#SH
|
|
|
|
%files
|
|
%license COPYING
|
|
%{_sysconfdir}/xdg/autostart/sm.puri.Calls-daemon.desktop
|
|
%{_bindir}/gnome-calls
|
|
%{_libdir}/calls
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/icons/hicolor/*/*/*.svg
|
|
%{_datadir}/metainfo/*.metainfo.xml
|
|
%dir %{_datadir}/glib-2.0/
|
|
%dir %{_datadir}/glib-2.0/schemas/
|
|
%{_datadir}/glib-2.0/schemas/sm.puri.Calls.gschema.xml
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|