[packages/gnome-calls] - initial
qboosh
qboosh at pld-linux.org
Sat Jul 17 13:06:10 CEST 2021
commit 92aeed86b5e38976efd3166cdcb160853bfc20a2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jul 17 13:09:24 2021 +0200
- initial
gnome-calls.spec | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 121 insertions(+)
---
diff --git a/gnome-calls.spec b/gnome-calls.spec
new file mode 100644
index 0000000..6942ff2
--- /dev/null
+++ b/gnome-calls.spec
@@ -0,0 +1,121 @@
+# TODO: separate ModemManager/ofono/sofia-sip plugins?
+Summary: GNOME phone dialer and call handler
+Summary(pl.UTF-8): Aplikacja GNOME do dzwonienia i przyjmowania połączeń
+Name: gnome-calls
+Version: 41
+%define subver alpha
+Release: 0.%{subver}.1
+License: GPL v3+
+Group: Applications/Communication
+Source0: https://download.gnome.org/sources/calls/41/calls-%{version}.%{subver}.tar.xz
+# Source0-md5: 1a29938845ea487027a5cf498830c54c
+URL: https://gitlab.gnome.org/GNOME/calls
+BuildRequires: ModemManager-devel >= 1.12.0
+BuildRequires: evolution-data-server-devel >= 1.2
+BuildRequires: folks-devel
+BuildRequires: gettext-tools
+BuildRequires: glib2-devel >= 1:2.58
+BuildRequires: gom-devel
+BuildRequires: gtk+3-devel >= 3.0
+BuildRequires: libcallaudio-devel
+BuildRequires: libfeedback-devel
+BuildRequires: libhandy1-devel >= 1.1.90
+BuildRequires: libpeas-devel
+BuildRequires: meson >= 0.49.0
+BuildRequires: ninja >= 1.5
+BuildRequires: pkgconfig
+# pkgconfig(sofia-sip-ua-glib)
+BuildRequires: sofia-sip-devel
+BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: tar >= 1:1.22
+BuildRequires: vala
+BuildRequires: vala-evolution-data-server >= 1.2
+BuildRequires: vala-folks
+BuildRequires: xz
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): glib2 >= 1:2.58
+Requires(post,postun): gtk-update-icon-cache
+Requires: ModemManager >= 1.12.0
+Requires: evolution-data-server
+Requires: glib2 >= 1:2.58
+Requires: hicolor-icon-theme
+Requires: libhandy1 >= 1.1.90
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GNOME phone dialer and call handler.
+
+%description -l pl.UTF-8
+Aplikacja GNOME do dzwonienia i przyjmowania połączeń.
+
+%package apidocs
+Summary: Documentation of GNOME Calls DBus API
+Summary(pl.UTF-8): Dokumentacja API DBus aplikacji GNOME Calls
+Group: Documentation
+
+%description apidocs
+Documentation of GNOME Calls DBus API.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API DBus aplikacji GNOME Calls.
+
+%prep
+%setup -q -n calls-%{version}.%{subver}
+
+%build
+%meson build \
+ -Dgtk_doc=true
+
+%ninja_build -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%ninja_install -C build
+
+%find_lang calls
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%glib_compile_schemas
+%update_desktop_database
+%update_icon_cache hicolor
+
+%postun
+%glib_compile_schemas
+%update_desktop_database
+%update_icon_cache hicolor
+
+%files -f calls.lang
+%defattr(644,root,root,755)
+%doc NEWS README.md
+%attr(755,root,root) %{_bindir}/gnome-calls
+%{_sysconfdir}/xdg/autostart/org.gnome.Calls-daemon.desktop
+%dir %{_libdir}/calls
+%dir %{_libdir}/calls/plugins/
+%dir %{_libdir}/calls/plugins/dummy
+%attr(755,root,root) %{_libdir}/calls/plugins/dummy/libdummy.so
+%{_libdir}/calls/plugins/dummy/dummy.plugin
+%dir %{_libdir}/calls/plugins/mm
+# R: ModemManager
+%attr(755,root,root) %{_libdir}/calls/plugins/mm/libmm.so
+%{_libdir}/calls/plugins/mm/mm.plugin
+%dir %{_libdir}/calls/plugins/ofono
+# R: ofono
+%attr(755,root,root) %{_libdir}/calls/plugins/ofono/libofono.so
+%{_libdir}/calls/plugins/ofono/ofono.plugin
+# R: sofia-sip
+%dir %{_libdir}/calls/plugins/sip
+%attr(755,root,root) %{_libdir}/calls/plugins/sip/libsip.so
+%{_libdir}/calls/plugins/sip/sip.plugin
+%{_datadir}/glib-2.0/schemas/org.gnome.Calls.gschema.xml
+%{_datadir}/metainfo/org.gnome.Calls.metainfo.xml
+%{_desktopdir}/org.gnome.Calls.desktop
+%{_iconsdir}/hicolor/scalable/apps/org.gnome.Calls.svg
+%{_iconsdir}/hicolor/symbolic/apps/org.gnome.Calls-symbolic.svg
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/calls
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnome-calls.git/commitdiff/92aeed86b5e38976efd3166cdcb160853bfc20a2
More information about the pld-cvs-commit
mailing list