Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yate for openSUSE:Factory checked in at 2024-02-08 19:02:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yate (Old) and /work/SRC/openSUSE:Factory/.yate.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yate" Thu Feb 8 19:02:28 2024 rev:41 rq:1145022 version:6.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/yate/yate.changes 2022-04-20 16:54:56.094488811 +0200 +++ /work/SRC/openSUSE:Factory/.yate.new.1815/yate.changes 2024-02-08 19:02:39.476166766 +0100 @@ -1,0 +2,6 @@ +Thu Dec 28 18:49:28 UTC 2023 - Martin Hauke <[email protected]> + +- Fix URL +- Add systemd service file + +------------------------------------------------------------------- New: ---- yate.systemd ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yate.spec ++++++ --- /var/tmp/diff_new_pack.pviJwA/_old 2024-02-08 19:02:40.220193661 +0100 +++ /var/tmp/diff_new_pack.pviJwA/_new 2024-02-08 19:02:40.224193806 +0100 @@ -1,7 +1,7 @@ # # spec file for package yate # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2011, Sascha Peilicke <[email protected]> # Copyright (c) 2011, Pascal Bleser <[email protected]> # @@ -32,8 +32,10 @@ Summary: Yet Another Telephony Engine License: GPL-2.0-or-later Group: Productivity/Telephony/Clients -URL: http://www.yate.null.ro/ +URL: https://yate.ro/opensource.php?page=yate +#Git-Clone: https://github.com/yatevoip/yate.git Source0: http://yate.null.ro/tarballs/yate6/yate-%{version}-1.tar.gz +Source1: yate.systemd Patch1: dont-mess-with-cflags.patch Patch2: add-arm64-support.patch Patch3: spandsp3.patch @@ -47,6 +49,7 @@ BuildRequires: libgsm-devel BuildRequires: lksctp-tools-devel BuildRequires: pkgconfig +BuildRequires: systemd-rpm-macros BuildRequires: update-desktop-files BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(libcrypto) @@ -156,10 +159,25 @@ rm %{buildroot}%{_sysconfdir}/%{name}/yate-qt4.conf %endif +install -Dpm 0644 %{SOURCE1} %{buildroot}%{_unitdir}/yate.service + %fdupes %{buildroot}/%{_prefix} +%pre +%service_add_pre yate.service + +%preun +%service_del_preun yate.service + +%post +%service_add_post yate.service + +%postun +%service_del_postun yate.service + %post -n libyate%{sover} -p /sbin/ldconfig %postun -n libyate%{sover} -p /sbin/ldconfig + %post qt4 -p /sbin/ldconfig %postun qt4 -p /sbin/ldconfig @@ -301,6 +319,7 @@ %config(noreplace) %{_sysconfdir}/%{name}/ystunchan.conf %config(noreplace) %{_sysconfdir}/%{name}/zapcard.conf %config(noreplace) %{_sysconfdir}/%{name}/zlibcompress.conf +%{_unitdir}/yate.service %files -n libyate%{sover} %{_libdir}/libyate.so.6* ++++++ yate.systemd ++++++ [Unit] Description=Next-generation telephony engine [Service] Type=simple ExecStart=/usr/bin/yate [Install] WantedBy=multi-user.target
