!4 Update to 0.15.2
From: @dwl301 Reviewed-by: @zhang__3125 Signed-off-by: @zhang__3125
This commit is contained in:
commit
d6590dbe17
BIN
folks-0.15.2.tar.xz
Normal file
BIN
folks-0.15.2.tar.xz
Normal file
Binary file not shown.
9
folks-eds-test-timeout.patch
Normal file
9
folks-eds-test-timeout.patch
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
--- folks-0.13.2/tests/eds/meson.build.orig 2020-02-04 08:38:51.000000000 +0100
|
||||||
|
+++ folks-0.13.2/tests/eds/meson.build 2020-02-04 09:21:26.009817830 +0100
|
||||||
|
@@ -104,5 +104,6 @@
|
||||||
|
benchmark(_benchmark, benchmark_executable,
|
||||||
|
suite: 'EDSBackend',
|
||||||
|
env: common_test_environment,
|
||||||
|
+ timeout: 120,
|
||||||
|
)
|
||||||
|
endforeach
|
||||||
104
folks.spec
104
folks.spec
@ -1,28 +1,48 @@
|
|||||||
|
%global folks_module_version 26
|
||||||
|
|
||||||
Name: folks
|
Name: folks
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 0.11.4
|
Version: 0.15.2
|
||||||
Release: 10
|
Release: 1
|
||||||
Summary: Library aggregates people from multiple sources
|
Summary: Library aggregates people from multiple sources
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://wiki.gnome.org/Projects/Folks
|
URL: https://wiki.gnome.org/Projects/Folks
|
||||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/folks/0.11/folks-%{version}.tar.xz
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/folks/0.11/folks-%{version}.tar.xz
|
||||||
|
Patch0: folks-eds-test-timeout.patch
|
||||||
|
|
||||||
BuildRequires: chrpath telepathy-glib-devel >= 0.19.0 telepathy-glib-vala
|
BuildRequires: chrpath telepathy-glib-devel >= 0.19.0 telepathy-glib-vala
|
||||||
BuildRequires: glib2-devel gobject-introspection-devel intltool vala-devel >= 0.17.6
|
BuildRequires: glib2-devel gobject-introspection-devel intltool vala-devel >= 0.17.6
|
||||||
BuildRequires: vala libxml2-devel GConf2-devel evolution-data-server-devel >= 3.13.90
|
BuildRequires: vala libxml2-devel GConf2-devel evolution-data-server-devel >= 3.13.90
|
||||||
BuildRequires: readline-devel pkgconfig(gee-0.8) >= 0.8.4
|
BuildRequires: readline-devel pkgconfig(gee-0.8) >= 0.8.4
|
||||||
|
|
||||||
Provides: %{name}-tools = %{epoch}:%{version}-%{release}
|
BuildRequires: gcc meson gettext
|
||||||
Obsoletes: %{name}-tools < %{epoch}:%{version}-%{release}
|
BuildRequires: pkgconfig(dbus-glib-1) evolution-data-server-devel >= 3.33.2 pkgconfig(gee-0.8) >= 0.8.4
|
||||||
|
BuildRequires: glib2-devel gobject-introspection-devel libxml2-devel
|
||||||
|
BuildRequires: python3-dbusmock python3-devel readline-devel
|
||||||
|
BuildRequires: telepathy-glib-devel telepathy-glib-vala vala
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libfolks is a library that aggregates people from multiple sources
|
libfolks is a library that aggregates people from multiple sources
|
||||||
(eg, Telepathy connection managers) to create metacontacts.
|
(eg, Telepathy connection managers) to create metacontacts.
|
||||||
|
|
||||||
|
%package telepathy
|
||||||
|
Summary: Folks telepathy backend
|
||||||
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
|
%description telepathy
|
||||||
|
%{name}-telepathy contains the folks telepathy backend.
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Summary: Tools for %{name}
|
||||||
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
%{name}-tools contains a database and import tool.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for folks
|
Summary: Development files for folks
|
||||||
Requires: folks = %{epoch}:%{version}-%{release}
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||||
Requires: folks-tools = %{epoch}:%{version}-%{release}
|
Requires: %{name}-tools = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains libraries and header files.
|
This package contains libraries and header files.
|
||||||
@ -33,55 +53,48 @@ This package contains libraries and header files.
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-fatal-warnings --enable-eds-backend \
|
%define _lto_cflags %{nil}
|
||||||
--enable-bluez-backend --disable-zeitgeist --enable-vala \
|
|
||||||
--enable-inspect-tool --disable-libsocialweb-backend
|
|
||||||
%make_build V=1
|
|
||||||
|
|
||||||
|
%meson
|
||||||
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%meson_install
|
||||||
%delete_la
|
|
||||||
for fpath in $RPM_BUILD_ROOT%{_libdir}/libfolks-dummy.so \
|
|
||||||
$RPM_BUILD_ROOT%{_libdir}/libfolks-eds.so \
|
|
||||||
$RPM_BUILD_ROOT%{_libdir}/libfolks-telepathy.so
|
|
||||||
do
|
|
||||||
chrpath --delete ${fpath}
|
|
||||||
done
|
|
||||||
find %{buildroot}%{_libdir}/folks/43/backends -name '*.so' -exec chrpath --delete {} \;
|
|
||||||
find %{buildroot}%{_bindir} -name 'folks-*' -exec chrpath --delete {} \;
|
|
||||||
|
|
||||||
|
%find_lang %{name}
|
||||||
%find_lang folks
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
VERBOSE=1 make check
|
%meson_test
|
||||||
|
|
||||||
|
|
||||||
%post
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%postun
|
|
||||||
/sbin/ldconfig
|
|
||||||
if [ $1 -eq 0 ]; then
|
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%posttrans
|
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
||||||
|
|
||||||
|
|
||||||
%files -f folks.lang
|
%files -f folks.lang
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS README NEWS
|
%doc AUTHORS NEWS
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/libfolks-dummy.so.26*
|
||||||
%{_libdir}/folks
|
%{_libdir}/libfolks-eds.so.26*
|
||||||
%{_libdir}/girepository-1.0/Folks*.typelib
|
%{_libdir}/libfolks.so.26*
|
||||||
|
%dir %{_libdir}/folks
|
||||||
|
%dir %{_libdir}/folks/%{folks_module_version}
|
||||||
|
%dir %{_libdir}/folks/%{folks_module_version}/backends
|
||||||
|
%{_libdir}/folks/%{folks_module_version}/backends/bluez/
|
||||||
|
%{_libdir}/folks/%{folks_module_version}/backends/dummy/
|
||||||
|
%{_libdir}/folks/%{folks_module_version}/backends/eds/
|
||||||
|
%{_libdir}/folks/%{folks_module_version}/backends/key-file/
|
||||||
|
%{_libdir}/folks/%{folks_module_version}/backends/ofono/
|
||||||
|
%{_libdir}/girepository-1.0/Folks-0.7.typelib
|
||||||
|
%{_libdir}/girepository-1.0/FolksDummy-0.7.typelib
|
||||||
|
%{_libdir}/girepository-1.0/FolksEds-0.7.typelib
|
||||||
%{_datadir}/GConf/gsettings/folks.convert
|
%{_datadir}/GConf/gsettings/folks.convert
|
||||||
%{_datadir}/glib-2.0/schemas/org.freedesktop.folks.gschema.xml
|
%{_datadir}/glib-2.0/schemas/org.freedesktop.folks.gschema.xml
|
||||||
%{_bindir}/folks-import
|
|
||||||
%{_bindir}/folks-inspect
|
%files telepathy
|
||||||
|
%{_libdir}/libfolks-telepathy.so.26*
|
||||||
|
%{_libdir}/folks/%{folks_module_version}/backends/telepathy
|
||||||
|
%{_libdir}/girepository-1.0/FolksTelepathy-0.7.typelib
|
||||||
|
|
||||||
|
%files tools
|
||||||
|
%{_bindir}/%{name}-import
|
||||||
|
%{_bindir}/%{name}-inspect
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/folks
|
%{_includedir}/folks
|
||||||
@ -94,8 +107,11 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 25 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 1:0.15.2-1
|
||||||
|
- Update to 1:0.15.2
|
||||||
|
|
||||||
* Wed Dec 25 2019 Ling Yang <lingyang2@huawei.com> - 1:0.11.4-10
|
* Wed Dec 25 2019 Ling Yang <lingyang2@huawei.com> - 1:0.11.4-10
|
||||||
- Add epoch for providing folks-tools
|
- Add epoch for providing folks-tools
|
||||||
|
|
||||||
* Fri Dec 21 2019 Senlin Xia <xiasenlin1@huawei.com> - 1:0.11.4-9
|
* Sat Dec 21 2019 Senlin Xia <xiasenlin1@huawei.com> - 1:0.11.4-9
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user