2019-09-30 11:18:20 -04:00
|
|
|
Name: telepathy-logger
|
|
|
|
|
Version: 0.8.2
|
2023-01-13 09:50:03 +08:00
|
|
|
Release: 14
|
2019-09-30 11:18:20 -04:00
|
|
|
Summary: Centralized Logging for the Telepathy Framework
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://telepathy.freedesktop.org/components/telepathy-logger/
|
|
|
|
|
Source0: https://telepathy.freedesktop.org/releases/telepathy-logger/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
2020-02-28 19:09:58 +08:00
|
|
|
Patch0: 0001-tools-Fix-the-build-with-Python-3.patch
|
|
|
|
|
|
2019-09-30 11:18:20 -04:00
|
|
|
BuildRequires: dbus-devel dbus-glib-devel glib2-devel gnome-doc-utils
|
|
|
|
|
BuildRequires: gobject-introspection-devel intltool libxml2-devel
|
2020-10-29 18:51:29 +08:00
|
|
|
BuildRequires: sqlite-devel telepathy-glib-devel git python3
|
2023-01-13 09:50:03 +08:00
|
|
|
BuildRequires: dbus-daemon
|
|
|
|
|
|
2019-11-06 19:54:07 +08:00
|
|
|
Requires: telepathy-filesystem
|
2019-09-30 11:18:20 -04:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
telepathy-logger is a daemon that centralizes the logging of all
|
|
|
|
|
communication within the Telepathy framework. This prevents the
|
2019-11-06 19:54:07 +08:00
|
|
|
UIs from having to implement their own solution that would end
|
2019-09-30 11:18:20 -04:00
|
|
|
up into having multiple incomplete databases.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Header files for telepathy-logger
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Header files for telepathy-logger
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
2019-11-06 19:54:07 +08:00
|
|
|
%autosetup -n %{name}-%{version} -p1
|
2019-09-30 11:18:20 -04:00
|
|
|
%if "%{_libdir}" != "/usr/lib"
|
|
|
|
|
sed -i.rpath -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%build
|
2020-10-29 18:51:29 +08:00
|
|
|
%configure --enable-introspection=yes
|
2020-02-28 19:09:58 +08:00
|
|
|
|
2019-09-30 11:18:20 -04:00
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
2019-11-06 19:54:07 +08:00
|
|
|
%make_build
|
2019-09-30 11:18:20 -04:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
%delete_la
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas &>/dev/null ||:
|
|
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
|
glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas &>/dev/null ||:
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
2019-11-06 19:54:07 +08:00
|
|
|
%doc README
|
|
|
|
|
%license COPYING
|
2019-09-30 11:18:20 -04:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
%{_libdir}/girepository-1.0/*.typelib
|
|
|
|
|
%{_libexecdir}/telepathy-logger
|
|
|
|
|
%{_datadir}/dbus-1/services/*.service
|
|
|
|
|
%{_datadir}/telepathy/clients/Logger.client
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_libdir}/*.a
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
%{_datadir}/gir-1.0/*.gir
|
|
|
|
|
%{_includedir}/telepathy-logger-0.2/telepathy-logger/*.h
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
2019-11-06 19:54:07 +08:00
|
|
|
%doc NEWS
|
2019-09-30 11:18:20 -04:00
|
|
|
%{_datadir}/glib-2.0/schemas/*.xml
|
|
|
|
|
%{_datadir}/gtk-doc/html/telepathy-logger/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-01-13 09:50:03 +08:00
|
|
|
* Fri Jan 13 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 0.8.2-14
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix build error dbus-daemon: command not found
|
|
|
|
|
|
2020-10-29 18:51:29 +08:00
|
|
|
* Thu Oct 29 2020 jinzhimin <jinzhimin2@huawei.com> - 0.8.2-13
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix build failed in python3
|
|
|
|
|
|
2020-02-28 19:09:58 +08:00
|
|
|
* Fri Feb 28 2020 hexiujun <hexiujun1@huawei.com> - 0.8.2-12
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix the build with python3
|
|
|
|
|
|
2019-11-06 19:54:07 +08:00
|
|
|
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.2-11
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:modify the location of COPYING
|
|
|
|
|
|
|
|
|
|
* Wed Oct 16 2019 chengquan<chengquan3@huawei.com> - 0.8.2-10
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:remove useless buildrequires
|
|
|
|
|
|
2019-09-30 11:18:20 -04:00
|
|
|
* Mon Sep 2 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.2-9
|
|
|
|
|
- Package init
|