Compare commits
71 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
bc93e36b27 | ||
|
f2522afe54 | ||
|
83b637da64 | ||
|
9a23653533 | ||
|
9ec2f5d677 | ||
|
c8431fe148 | ||
|
92e66bfe1f | ||
|
57aee5815b | ||
|
caf3eb0337 | ||
|
27f151afc3 | ||
|
2ebd689d5d | ||
|
d5fbddc97d | ||
|
996cec60e3 | ||
|
925d3e69a4 | ||
|
6caf00083b | ||
|
2e115639bc | ||
|
2365d859d2 | ||
|
1baf15d203 | ||
|
df0a3f05ba | ||
|
42c3d6e054 | ||
|
314903bdcb | ||
|
d9e911653f | ||
|
4907eb3867 | ||
|
e89b7c9ce5 | ||
|
00d6d7981c | ||
|
f047f3106b | ||
|
ca78475f7b | ||
|
19dfa609ef | ||
|
f190187019 | ||
|
43ad45d26e | ||
|
742ae730d5 | ||
|
8424fc5070 | ||
|
cd8ab9080a | ||
|
81f3882118 | ||
|
0e35630004 | ||
|
44f9c2c0a2 | ||
|
8556e22152 | ||
|
7b0a28b320 | ||
|
ac84d242c1 | ||
|
679cd36f69 | ||
|
0bfb0be8a7 | ||
|
5759909338 | ||
|
beb22580b5 | ||
|
da1fc12b21 | ||
|
7b2e76f63d | ||
|
751b8845f1 | ||
|
0e57f4f110 | ||
|
efe22a0797 | ||
|
985a43aefc | ||
|
1f0dcea315 | ||
|
6c2959abed | ||
|
70fa87e01e | ||
|
5de354029c | ||
|
1c9bf9df7a | ||
|
bcd1917c23 | ||
|
a4c35bed0d | ||
|
f208b61628 | ||
|
2868898cdb | ||
|
3382d4b89e | ||
|
7c330881fc | ||
|
4434d45826 | ||
|
ed6511f125 | ||
|
d071fb626a | ||
|
6a0bd4a2c8 | ||
|
e63caa1924 | ||
|
3ddda46e1a | ||
|
01b1fc3e83 | ||
|
806e7d48cf | ||
|
f262439dc5 | ||
|
553c61f36a | ||
|
c83f6fd7b9 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/mtxclient-*.tar.gz
|
2
changelog
Normal file
2
changelog
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
* Wed Mar 27 2024 Vitaly <vitaly@easycoding.org> - 0.9.2-8
|
||||||
|
- Rebuilt due to json update.
|
77
mtxclient.spec
Normal file
77
mtxclient.spec
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
Name: mtxclient
|
||||||
|
Version: 0.9.2
|
||||||
|
Release: %autorelease
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
Summary: Client API library for Matrix, built on top of Boost.Asio
|
||||||
|
URL: https://github.com/Nheko-Reborn/%{name}
|
||||||
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: cmake(fmt) >= 9.1.0
|
||||||
|
BuildRequires: cmake(mpark_variant)
|
||||||
|
BuildRequires: cmake(nlohmann_json) >= 3.2.0
|
||||||
|
BuildRequires: cmake(Olm) >= 3.2.12
|
||||||
|
BuildRequires: cmake(spdlog) >= 1.0.0
|
||||||
|
|
||||||
|
BuildRequires: pkgconfig(coeurl) >= 0.3.0
|
||||||
|
BuildRequires: pkgconfig(libcrypto)
|
||||||
|
BuildRequires: pkgconfig(libevent)
|
||||||
|
BuildRequires: pkgconfig(openssl)
|
||||||
|
BuildRequires: pkgconfig(re2)
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: ninja-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
Client API library for the Matrix protocol, built on top of Boost.Asio.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake -G Ninja \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DHUNTER_ENABLED:BOOL=OFF \
|
||||||
|
-DUSE_BUNDLED_COEURL:BOOL=OFF \
|
||||||
|
-DUSE_BUNDLED_GTEST:BOOL=OFF \
|
||||||
|
-DUSE_BUNDLED_JSON:BOOL=OFF \
|
||||||
|
-DUSE_BUNDLED_LIBCURL:BOOL=OFF \
|
||||||
|
-DUSE_BUNDLED_LIBEVENT:BOOL=OFF \
|
||||||
|
-DUSE_BUNDLED_OLM:BOOL=OFF \
|
||||||
|
-DUSE_BUNDLED_OPENSSL:BOOL=OFF \
|
||||||
|
-DUSE_BUNDLED_SPDLOG:BOOL=OFF \
|
||||||
|
-DASAN:BOOL=OFF \
|
||||||
|
-DCOVERAGE:BOOL=OFF \
|
||||||
|
-DIWYU:BOOL=OFF \
|
||||||
|
-DBUILD_LIB_TESTS:BOOL=OFF \
|
||||||
|
-DBUILD_LIB_EXAMPLES:BOOL=OFF
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cmake_install
|
||||||
|
ln -s libmatrix_client.so.%{version} %{buildroot}%{_libdir}/libmatrix_client.so.0
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{_libdir}/*.so.0*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/%{name}
|
||||||
|
%{_includedir}/mtx
|
||||||
|
%{_includedir}/mtx.hpp
|
||||||
|
%{_libdir}/cmake/MatrixClient
|
||||||
|
%{_libdir}/*.so
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
%autochangelog
|
Loading…
Reference in New Issue
Block a user