Accepting request 778188 from home:Dead_Mozay:matrix

New package

OBS-URL: https://build.opensuse.org/request/show/778188
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/libQuotient?expand=0&rev=1
This commit is contained in:
Oliver Kurz 2020-02-22 12:24:13 +00:00 committed by Git OBS Bridge
commit a510452d2c
8 changed files with 352 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

20
_service Normal file
View File

@ -0,0 +1,20 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="disabled">
<param name="filename">libQuotient</param>
<param name="url">https://github.com/quotient-im/libQuotient.git</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="version">git-master</param>
<param name="versionformat">0.6.0</param>
<param name="revision">master</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">dead_mozay@opensuse.org</param>
</service>
<service mode="disabled" name="set_version"/>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="compression">gz</param>
<param name="file">*.tar</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/quotient-im/libQuotient.git</param>
<param name="changesrevision">17c89693811a4aa27db700d8f9f278393c8e0926</param></service></servicedata>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:420c1c7d04b18d48e517b59abb08691823055182b20def31f290c7a18e141c0a
size 3350540

191
libQuotient.changes Normal file
View File

@ -0,0 +1,191 @@
-------------------------------------------------------------------
Sat Feb 22 10:51:12 UTC 2020 - dead_mozay@opensuse.org
- Update to version 0.6.0:
* Fix build on big-endian systems
* Use parsed RoomPowerLevelsEvent in room upgrading
* Add powerLevelForState()
* Mark methods as const.
-------------------------------------------------------------------
Fri May 24 08:11:45 UTC 2019 - ecsos@opensuse.org
- Update to 0.5.2
- (#323) Direct chats are no more unmarked when logging in or
after clearing the cache.
- 0.5.x releases keep the previous library name, libQMatrixClient
- Upstream renamed library to libQuotient, so this package
libqmatrixclient also renamed to libQuotient.
-------------------------------------------------------------------
Thu Apr 18 14:10:46 UTC 2019 - ecsos@opensuse.org
- Update to 0.5.1.2
- (#316) Expired tokens no more bring IncorrectRequestError
instead of ContentAccessError; consequently,
Connection::logout() ignores ContentAccessErrors so expired
tokens don't leave the library in a "can't go-in, can't go out"
state.
- Jobs abandoned due to Connection being deleted no more cause
crashes.
-------------------------------------------------------------------
Sat Apr 6 12:25:50 UTC 2019 - ecsos@opensuse.org
- Update to 0.5.1.1
This release fixes a bug that makes 0.5.1 not being "new enough"
for Quaternion 0.0.9.4, and another bug that made user showing up
multiple times in the user list of Quaternion after renaming.
Otherwise it's the same as version 0.5.1.
-------------------------------------------------------------------
Fri Apr 5 07:46:12 UTC 2019 - ecsos@opensuse.org
- Update to 0.5.1
- Fix (#303): linkification doesn't break on peculiar links.
- Fix (#310 and 27c2989): quirks in rendering room display names
have been ironed out.
- Fix: Tighter validations of URLs coming with file events
(too relaxed validations were causing the library to
assert-crash on, e.g., encrypted attachments).
- Enhancement (#305): rooms created as direct chats are now
automatically marked as m.direct for invited as well as
inviting users.
- Enhancement (#306): Room::canSwitchVersions() returns false on
rooms already upgraded (you still can disregard and call
Room::switchVersion() but you better think twice
- see matrix-org/matrix-doc#1937).
- Enhancement: Room::postFile() now first starts file upload and
then places a pending event (neatly packed with file transfer
information), rather than the other way around. Unless you do
weird things with the library's API, you shouldn't notice.
- Enhancement: LRO/RLO Unicode markers are now stripped from
display names, to curtail abuse of those.
- Feature: Connection::domain() to save client authors from
taking the domain from user MXID.
-------------------------------------------------------------------
Wed Apr 3 09:01:26 UTC 2019 - ecsos@opensuse.org
- Update to 0.5.0.2
* Another bugfix release in 0.5.x branch, fixing issues with
sending read receipts and redactions in v3 rooms (#300).
- Changes from 0.5.0.1
* This version fixes too stringent checks in debug builds that
led to assertion crashes upon encounter with upgraded rooms.
- Changes from 0.5
As usual for 0.x versions, 0.5 breaks API compatibility with
previous versions; 0.4-compatible clients may or may not need
changes in order to compile with version 0.5. As usual, see diffs
in header files to track the changes and update the client code
accordingly; these release notes highlight most prominent API
changes.
Micro-versions in 0.5.y will maintain the API and ABI.
Version 0.6 will break either API or ABI or both.
Over 200 commits. So see for changelog
https://github.com/QMatrixClient/libqmatrixclient/commits/0.5.0
-------------------------------------------------------------------
Sun Jan 13 12:42:05 UTC 2019 - Michael Vetter <mvetter@suse.com>
- Update to 0.4.2.1:
* No more treat fake state events (that don't have
state_key, even if they have state-related type, e.g., m.room.topic)
as state events, turning them into unknown events instead.
-------------------------------------------------------------------
Sun Dec 16 03:06:40 UTC 2018 - Michael Vetter <mvetter@suse.com>
- Update to 0.4.1
* Fix pending events (aka local echo) not being cleaned up
properly
* Fix rooms not being correctly sorted according to their
position under tag if using Connection::roomsByTags()
* Fix incorrect SOVERSION
-------------------------------------------------------------------
Fri Nov 9 13:00:47 UTC 2018 - ecsos@opensuse.org
- Remove soname from devel.
-------------------------------------------------------------------
Wed Nov 7 10:08:05 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Edit RPM groups.
-------------------------------------------------------------------
Tue Oct 16 11:45:04 UTC 2018 - ecsos@opensuse.org
- update to 0.4.0
So many changes and no propoer changelog from upstream.
See changes here:
https://github.com/QMatrixClient/libqmatrixclient/compare/v0.3.0.2...v0.4.0
-------------------------------------------------------------------
Mon Aug 20 15:55:28 UTC 2018 - ecsos@opensuse.org
- update to 0.3.0.2
So many changes and no proper changelog from upstream.
See changes here:
https://github.com/QMatrixClient/libqmatrixclient/compare/v0.2.1...v0.3.0.2
-------------------------------------------------------------------
Wed May 2 18:49:35 UTC 2018 - ecsos@opensuse.org
- update to 0.2.1
- Fixed an occasional crash due to dangling callbacks in avatar
fetching code
- Fixed unreliable network error handling leading to sync loop
getting "unlooped" when server is temporarily unavailable
- Fixed a regression leading to bridge postfixes not being
removed from user display names
- Fixed a regression manifesting in dysfunctional user name
disambiguation
- Added User::rawName() to get a user name together with its
bridge postfix
- Bridge names are now used as the first line of disambiguation,
with user ids being the next (and ultimate) fallback.
- remove service file
-------------------------------------------------------------------
Thu Apr 12 08:52:06 UTC 2018 - agraul@suse.com
- remove remove_unwanted_cmake_installations.patch
* upstream remove EXPORT_ANDROID_MK from install targets
- use service to download sources from github
-------------------------------------------------------------------
Tue Apr 3 16:42:17 UTC 2018 - agraul@suse.com
- add remove_unwanted_cmake_installations.patch
* this patch removes cmake install targets that are not
targeted at linux
- cleanup spec file
-------------------------------------------------------------------
Mon Apr 2 00:43:36 UTC 2018 - agraul@suse.com
- update to 0.2rc
- fix build
-------------------------------------------------------------------
Mon Jan 1 22:24:49 UTC 2018 - agraul@suse.com
- add cmake_install_target.patch
-------------------------------------------------------------------
Mon Jan 1 22:02:26 UTC 2018 - agraul@suse.com
- update to 0.2-q0.0.5
-------------------------------------------------------------------
Fri Nov 10 13:40:20 UTC 2017 - agraul@suse.com
- inital package

5
libQuotient.obsinfo Normal file
View File

@ -0,0 +1,5 @@
name: libQuotient
version: 0.6.0
mtime: 1582189054
commit: d3ca82b9d7477a35e7580f2d6ce579dcbf791d07

105
libQuotient.spec Normal file
View File

@ -0,0 +1,105 @@
#
# spec file for package libQuotient
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
%define soversion 0_6
Name: libQuotient
Version: 0.6.0
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: %{name}-%{version}.tar.gz
BuildRequires: unzip
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Core) >= 5.6
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Multimedia)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(QtOlm)
BuildRequires: cmake(Olm)
%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
%install
%cmake_install
%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.*
%files devel
%doc README.md
%license COPYING
%{_libdir}/pkgconfig/Quotient.pc
%{_libdir}/libQuotient.so
%{_libdir}/cmake/Quotient/
%dir %{_includedir}/csapi
%dir %{_includedir}/csapi/definitions
%dir %{_includedir}/csapi/definitions/wellknown
%dir %{_includedir}/application-service
%dir %{_includedir}/application-service/definitions
%dir %{_includedir}/identity
%dir %{_includedir}/identity/definitions
%dir %{_includedir}/jobs
%dir %{_includedir}/events
%dir %{_datadir}/ndk-modules
%{_includedir}/*.h
%{_includedir}/application-service/definitions/*.h
%{_includedir}/csapi/*.h
%{_includedir}/csapi/definitions/*h
%{_includedir}/csapi/definitions/wellknown/*h
%{_includedir}/events/*.h
%{_includedir}/identity/definitions/*.h
%{_includedir}/jobs/*.h
%{_bindir}/quotest
%{_datadir}/ndk-modules/Android.mk
%changelog