summaryrefslogtreecommitdiff
path: root/telepathy-logger.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-11-05 15:44:17 +0000
committerCoprDistGit <infra@openeuler.org>2025-11-05 15:44:17 +0000
commitded4dafefbc67f4bafbbca4788fdeee9bde6e4b6 (patch)
tree13b0cf1e71bc5cea3dc99486dd28b9e4b191fec4 /telepathy-logger.spec
parent809425f5ea1470893b16b060f36c2a9c4fa41e4c (diff)
automatic import of telepathy-loggeropeneuler22.03_LTS_SP4openeuler22.03_LTS_SP3
Diffstat (limited to 'telepathy-logger.spec')
-rw-r--r--telepathy-logger.spec119
1 files changed, 119 insertions, 0 deletions
diff --git a/telepathy-logger.spec b/telepathy-logger.spec
new file mode 100644
index 0000000..b0b1c32
--- /dev/null
+++ b/telepathy-logger.spec
@@ -0,0 +1,119 @@
+Name: telepathy-logger
+Version: 0.8.2
+Release: 15
+Summary: Centralized Logging for the Telepathy Framework
+
+License: LGPL-2.1-or-later
+URL: https://telepathy.freedesktop.org/components/telepathy-logger/
+Source0: https://telepathy.freedesktop.org/releases/telepathy-logger/%{name}-%{version}.tar.bz2
+
+Patch0: 0001-tools-Fix-the-build-with-Python-3.patch
+
+BuildRequires: pkgconfig(dbus-1) >= 1.1.0
+BuildRequires: pkgconfig(dbus-glib-1) >= 0.82
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(glib-2.0) >= 2.32
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(telepathy-glib) >= 0.21.2
+BuildRequires: gobject-introspection-devel >= 0.9.6
+BuildRequires: gtk-doc >= 1.10
+BuildRequires: intltool >= 0.35.0
+BuildRequires: /usr/bin/dbus-binding-tool
+BuildRequires: /usr/bin/python3
+BuildRequires: /usr/bin/xsltproc
+BuildRequires: dbus-daemon
+
+Requires: telepathy-filesystem
+Conflicts: %{name}-help < 0.8.2-14
+
+%description
+telepathy-logger is a daemon that centralizes the logging of all
+communication within the Telepathy framework. This prevents the
+UIs from having to implement their own solution that would end
+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
+%autosetup -n %{name}-%{version} -p1
+%if "%{_libdir}" != "/usr/lib"
+sed -i.rpath -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
+%endif
+
+%build
+%configure --enable-introspection=yes --disable-static
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+%make_build
+
+%install
+%make_install
+%delete_la_and_a
+
+%check
+%make_build check
+
+%files
+%doc README
+%license COPYING
+%{_libdir}/*.so.*
+%{_libdir}/girepository-1.0/*.typelib
+%{_libexecdir}/telepathy-logger
+%{_datadir}/dbus-1/services/*.service
+%{_datadir}/telepathy/clients/Logger.client
+%{_datadir}/glib-2.0/schemas/*.xml
+
+%files devel
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%{_datadir}/gir-1.0/*.gir
+%{_includedir}/telepathy-logger-0.2
+
+%files help
+%doc NEWS
+%doc %{_datadir}/gtk-doc/html/telepathy-logger
+
+%changelog
+* Wed Nov 05 2025 Funda Wang <fundawang@yeah.net> - 0.8.2-15
+- move glib schemas into main package
+
+* 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
+
+* Thu Oct 29 2020 jinzhimin <jinzhimin2@huawei.com> - 0.8.2-13
+- Type:bugfix
+- ID:NA
+- SUG:NA
+- DESC:fix build failed in python3
+
+* Fri Feb 28 2020 hexiujun <hexiujun1@huawei.com> - 0.8.2-12
+- Type:enhancement
+- ID:NA
+- SUG:NA
+- DESC:fix the build with python3
+
+* 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
+
+* Mon Sep 2 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.2-9
+- Package init