Initial packaging
This commit is contained in:
parent
834b210452
commit
e015c6daa9
BIN
calls-42.0.tar.xz
Normal file
BIN
calls-42.0.tar.xz
Normal file
Binary file not shown.
93
calls.spec
Normal file
93
calls.spec
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
%global libcall_ui_commit acfbb136bbf74514e0b9801ce6c1e8acf36350b6
|
||||||
|
|
||||||
|
Name: calls
|
||||||
|
Version: 42.0
|
||||||
|
Release: 1
|
||||||
|
Summary: A phone dialer and call handler
|
||||||
|
License: GPLv3+ and MIT
|
||||||
|
URL: https://gitlab.gnome.org/GNOME/calls
|
||||||
|
Source0: https://download.gnome.org/sources/calls/42/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
BuildRequires: gcc gcc-c++ meson cmake vala
|
||||||
|
BuildRequires: pkgconfig(libcallaudio-0.1)
|
||||||
|
BuildRequires: pkgconfig(gobject-2.0)
|
||||||
|
BuildRequires: pkgconfig(glib-2.0) >= 2.50.0
|
||||||
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
|
BuildRequires: pkgconfig(libhandy-1) >= 1.0.0
|
||||||
|
BuildRequires: pkgconfig(gsound)
|
||||||
|
BuildRequires: pkgconfig(libpeas-1.0)
|
||||||
|
BuildRequires: pkgconfig(gom-1.0)
|
||||||
|
BuildRequires: pkgconfig(libebook-contacts-1.2)
|
||||||
|
BuildRequires: pkgconfig(folks)
|
||||||
|
BuildRequires: pkgconfig(mm-glib)
|
||||||
|
BuildRequires: pkgconfig(libfeedback-0.0)
|
||||||
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
||||||
|
BuildRequires: gstreamer1-plugins-good-gtk
|
||||||
|
BuildRequires: sofia-sip-devel
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: xorg-x11-server-Xvfb
|
||||||
|
BuildRequires: xorg-x11-xauth
|
||||||
|
BuildRequires: libappstream-glib
|
||||||
|
BuildRequires: libcmocka-devel libcmocka
|
||||||
|
|
||||||
|
Requires: hicolor-icon-theme
|
||||||
|
|
||||||
|
%description
|
||||||
|
A phone dialer and call handler.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%meson
|
||||||
|
%meson_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%meson_install
|
||||||
|
|
||||||
|
rm %{buildroot}%{_datadir}/locale/ca/LC_MESSAGES/call-ui.mo
|
||||||
|
rm %{buildroot}%{_datadir}/locale/de/LC_MESSAGES/call-ui.mo
|
||||||
|
rm %{buildroot}%{_datadir}/locale/pt_BR/LC_MESSAGES/call-ui.mo
|
||||||
|
rm %{buildroot}%{_datadir}/locale/ro/LC_MESSAGES/call-ui.mo
|
||||||
|
rm %{buildroot}%{_datadir}/locale/uk/LC_MESSAGES/call-ui.mo
|
||||||
|
rm %{buildroot}%{_datadir}/locale/fa/LC_MESSAGES/call-ui.mo
|
||||||
|
rm %{buildroot}%{_datadir}/locale/fur/LC_MESSAGES/call-ui.mo
|
||||||
|
rm %{buildroot}%{_datadir}/locale/nl/LC_MESSAGES/call-ui.mo
|
||||||
|
rm %{buildroot}%{_datadir}/locale/pt/LC_MESSAGES/call-ui.mo
|
||||||
|
rm %{buildroot}%{_datadir}/locale/sv/LC_MESSAGES/call-ui.mo
|
||||||
|
rm %{buildroot}%{_datadir}/locale/gl/LC_MESSAGES/call-ui.mo
|
||||||
|
rm %{buildroot}%{_datadir}/locale/it/LC_MESSAGES/call-ui.mo
|
||||||
|
rm %{buildroot}%{_datadir}//locale/sl/LC_MESSAGES/call-ui.mo
|
||||||
|
rm -rf %{buildroot}%{_libdir}/calls/plugins/ofono/
|
||||||
|
|
||||||
|
%find_lang %{name}
|
||||||
|
|
||||||
|
%check
|
||||||
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.Calls.metainfo.xml
|
||||||
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Calls.desktop
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%doc README.md
|
||||||
|
%license COPYING
|
||||||
|
%{_sysconfdir}/xdg/autostart/org.gnome.Calls-daemon.desktop
|
||||||
|
%{_bindir}/gnome-%{name}
|
||||||
|
%dir %{_libdir}/calls
|
||||||
|
%dir %{_libdir}/calls/plugins
|
||||||
|
%dir %{_libdir}/calls/plugins/mm
|
||||||
|
%dir %{_libdir}/calls/plugins/dummy
|
||||||
|
%dir %{_libdir}/calls/plugins/sip
|
||||||
|
%{_libdir}/calls/plugins/mm/libmm.so
|
||||||
|
%{_libdir}/calls/plugins/mm/mm.plugin
|
||||||
|
%{_libdir}/calls/plugins/dummy/dummy.plugin
|
||||||
|
%{_libdir}/calls/plugins/dummy/libdummy.so
|
||||||
|
%{_libdir}/calls/plugins/sip/libsip.so
|
||||||
|
%{_libdir}/calls/plugins/sip/sip.plugin
|
||||||
|
%{_datadir}/glib-2.0/schemas/org.gnome.Calls.gschema.xml
|
||||||
|
%{_datadir}/applications/org.gnome.Calls.desktop
|
||||||
|
%{_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
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.0-1
|
||||||
|
- Initial packaging
|
||||||
4
calls.yaml
Normal file
4
calls.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: gitlab.gnome
|
||||||
|
src_repo: calls
|
||||||
|
tag_prefix: ^v
|
||||||
|
seperator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user