73134e9615
- Update to version 0.6.8: * Retain the current room member avatar when renaming the user for the room. * When displaying the room, notification/highlight counters are no more reset. This never really worked, with the notification and highlight counts jumping to zero and then back to the original value if the timeline hasn't been completely read; now that read receipts are correctly sent, the counters can be left to the homeserver to update (while E2EE is not around). * Fix the missing percent encoding in User::fetchProfile(), leading to problems around historical userids that still have slashes. * CS API files have been regenerated from the new matrix-doc after revamping the layout and tooling; the library API didn't change, but doc-comments are now in Markdown rather than ReStructured Text. * Update GTAD configuration to version 0.8 of the tool. * Fix potential linking errors around quotient_common.h. OBS-URL: https://build.opensuse.org/request/show/913960 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/libQuotient?expand=0&rev=16
99 lines
2.6 KiB
RPMSpec
99 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package libQuotient
|
|
#
|
|
# Copyright (c) 2021 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define soversion 0_6
|
|
%define sonum 0.6
|
|
%bcond_with e2ee
|
|
Name: libQuotient
|
|
Version: 0.6.8
|
|
Release: 0
|
|
Summary: Library for Qt Matrix Clients
|
|
License: LGPL-2.1-only
|
|
Group: Development/Libraries/C and C++
|
|
URL: https://github.com/quotient-im/libQuotient
|
|
Source0: https://github.com/quotient-im/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(Qt5Core) >= 5.9
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
BuildRequires: pkgconfig(Qt5Multimedia)
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
%if %{with e2ee}
|
|
BuildRequires: cmake(Olm)
|
|
%endif
|
|
|
|
%description
|
|
Library for Qt-based Matrix chat clients. It is required by
|
|
Quaternion.
|
|
|
|
%package -n %{name}%{soversion}
|
|
Summary: Library for Qt Matrix Clients
|
|
Group: System/Libraries
|
|
|
|
%description -n %{name}%{soversion}
|
|
Library for Qt-based Matrix chat clients. It is required by
|
|
Quaternion.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %{name}%{soversion} = %{version}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%cmake \
|
|
-DQuotient_INSTALL_TESTS=OFF \
|
|
%if %{with e2ee}
|
|
-DQuotient_ENABLE_E2EE=ON
|
|
%else
|
|
-DQuotient_ENABLE_E2EE=OFF
|
|
%endif
|
|
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
# Not useful
|
|
rm -r %{buildroot}%{_datadir}/ndk-modules/
|
|
|
|
%post -n %{name}%{soversion} -p /sbin/ldconfig
|
|
%postun -n %{name}%{soversion} -p /sbin/ldconfig
|
|
|
|
%files -n %{name}%{soversion}
|
|
%doc README.md
|
|
%license COPYING
|
|
%{_libdir}/libQuotient.so.%{version}
|
|
%{_libdir}/libQuotient.so.%{sonum}
|
|
|
|
%files devel
|
|
%doc README.md
|
|
%license COPYING
|
|
%{_libdir}/pkgconfig/Quotient.pc
|
|
%{_libdir}/libQuotient.so
|
|
%{_libdir}/cmake/Quotient/
|
|
%{_includedir}/Quotient/
|
|
|
|
%changelog
|