13 Star 0 Fork 8

src-openEuler/telepathy-glib

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
telepathy-glib.spec 3.66 KB
一键复制 编辑 原始数据 按行查看 历史
Venland 提交于 2023-11-03 10:10 . update to version 0.24.2
%global dbus_ver 0.95
%global dbus_glib_ver 0.90
%global glib_ver 2.36.0
%global gobj_ver 1.30
%global vala_ver 0.16.0
Name: telepathy-glib
Version: 0.24.2
Release: 1
Summary: GLib bindings for Telepathy
# LGPL-2.1-or-later: overall
# FSFAP: examples/client/ et al. (not included in the binary)
# FSFAP: tests/contact-search-result.c et al.
# SPDX confirmed
License: LGPL-2.1-or-later
URL: http://telepathy.freedesktop.org/wiki/FrontPage
Source0: http://telepathy.freedesktop.org/releases/%{name}/%{name}-%{version}.tar.gz
# https://gitlab.freedesktop.org/telepathy/telepathy-glib/-/issues/145
# https://gitlab.freedesktop.org/telepathy/telepathy-glib/-/merge_requests/3
# https://gitlab.freedesktop.org/telepathy/telepathy-glib/-/merge_requests/3.patch
Patch0: backport-telepathy-glib-test-cm-with-newer-glib.patch
BuildRequires: make
BuildRequires: gcc
# Tests
BuildRequires: gcc-c++
BuildRequires: pkgconfig(dbus-1) >= %{dbus_ver}
BuildRequires: pkgconfig(dbus-glib-1) >= %{dbus_glib_ver}
BuildRequires: pkgconfig(glib-2.0) >= %{glib_ver}
BuildRequires: pkgconfig(gobject-2.0) >= %{glib_ver}
BuildRequires: pkgconfig(gio-2.0) >= %{glib_ver}
BuildRequires: pkgconfig(gobject-introspection-1.0) >= %{gobj_ver}
BuildRequires: gtk-doc >= 1.17
BuildRequires: vala
BuildRequires: vala-devel
BuildRequires: libxslt
BuildRequires: python3
# For tests/dbus
BuildRequires: dbus-daemon
%description
Telepathy-glib is the glib bindings for the telepathy unified framework
for all forms of real time conversations, including instant messaging, IRC,
voice calls and video calls.
%package vala
Summary: Vala bindings for %{name}
Requires: %{name} = %{version}-%{release}
Requires: vala
BuildArch: noarch
%description vala
Vala bindings for %{name}.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-vala = %{version}-%{release}
Requires: telepathy-filesystem
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1
# Explicitly switch to python3
touch timestamp
env LANG=C grep -rl python . | while read f
do
sed -i $f \
-e 's|/usr/bin/python$|/usr/bin/python3|' \
-e 's|/usr/bin/env[ \t]*python$|/usr/bin/python3|' \
%{nil}
# Explicitly set timestamp of the modified files to the same time
# so that autotool won't be called after configure
touch -r timestamp $f
done
# Also modify the following timestamp
touch -r timestamp config.h.in
%build
%configure \
--enable-static=no \
--disable-silent-rules \
--enable-introspection=yes \
--enable-vala-bindings=yes \
%{nil}
%{make_build}
%install
%{make_install}
find $RPM_BUILD_ROOT -name '*.la' -delete
%check
make check
%ldconfig_scriptlets
%files
%license COPYING
%doc AUTHORS NEWS README
%{_libdir}/libtelepathy-glib.so.0
%{_libdir}/libtelepathy-glib.so.0.*
%{_libdir}/girepository-1.0/TelepathyGLib-0.12.typelib
%files vala
%{_datadir}/vala/vapi/telepathy-glib.deps
%{_datadir}/vala/vapi/telepathy-glib.vapi
%files devel
%doc %{_datadir}/gtk-doc/html/%{name}/
%{_libdir}/libtelepathy-glib.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/telepathy-1.0/%{name}/
%{_datadir}/gir-1.0/TelepathyGLib-0.12.gir
%changelog
* Fri Nov 03 2023 liweigang <weigangli99@gmail.com> - 0.24.2-1
- update to version 0.24.2
* Wed Oct 21 2020 jinzhimin <jinzhimin2@huawei.com> - 0.24.1-12
- modify buildrequire to python3
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.24.1-11
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:modify the location of COPYING
* Sat Aug 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.24.1-10
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/telepathy-glib.git
git@gitee.com:src-openeuler/telepathy-glib.git
src-openeuler
telepathy-glib
telepathy-glib
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385