mtxclient/mtxclient.spec

225 lines
7.2 KiB
RPMSpec
Raw Normal View History

2018-07-26 15:09:15 +00:00
Name: mtxclient
2023-01-13 07:43:23 +00:00
Version: 0.9.1
Release: 2%{?dist}
2018-07-26 15:09:15 +00:00
License: MIT
2020-06-03 11:15:43 +00:00
Summary: Client API library for Matrix, built on top of Boost.Asio
URL: https://github.com/Nheko-Reborn/%{name}
2020-06-03 11:15:43 +00:00
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
2018-07-26 15:09:15 +00:00
2023-01-18 09:23:49 +00:00
# https://github.com/Nheko-Reborn/mtxclient/pull/91
Patch100: %{name}-gcc13-fixes.patch
BuildRequires: cmake(mpark_variant)
2021-11-19 15:58:37 +00:00
BuildRequires: cmake(nlohmann_json) >= 3.2.0
2022-07-23 08:52:22 +00:00
BuildRequires: cmake(Olm) >= 3.2.12
2021-11-19 15:58:37 +00:00
BuildRequires: cmake(spdlog) >= 1.0.0
BuildRequires: pkgconfig(coeurl) >= 0.3.0
BuildRequires: pkgconfig(libcrypto)
2021-11-19 15:58:37 +00:00
BuildRequires: pkgconfig(libevent)
BuildRequires: pkgconfig(openssl)
2023-01-13 07:52:20 +00:00
BuildRequires: pkgconfig(re2)
BuildRequires: pkgconfig(zlib)
2018-07-26 15:09:15 +00:00
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: ninja-build
2018-07-26 15:09:15 +00:00
%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
2018-07-26 15:09:15 +00:00
%build
2020-07-21 09:22:39 +00:00
%cmake -G Ninja \
2018-07-26 15:09:15 +00:00
-DCMAKE_BUILD_TYPE=Release \
2020-06-03 11:15:43 +00:00
-DHUNTER_ENABLED:BOOL=OFF \
2021-11-19 15:58:37 +00:00
-DUSE_BUNDLED_COEURL:BOOL=OFF \
2020-06-03 11:15:43 +00:00
-DUSE_BUNDLED_GTEST:BOOL=OFF \
-DUSE_BUNDLED_JSON:BOOL=OFF \
2021-11-19 15:58:37 +00:00
-DUSE_BUNDLED_LIBCURL:BOOL=OFF \
-DUSE_BUNDLED_LIBEVENT:BOOL=OFF \
-DUSE_BUNDLED_OLM:BOOL=OFF \
2020-06-03 11:15:43 +00:00
-DUSE_BUNDLED_OPENSSL:BOOL=OFF \
2021-11-19 15:58:37 +00:00
-DUSE_BUNDLED_SPDLOG:BOOL=OFF \
2021-01-20 12:08:50 +00:00
-DASAN:BOOL=OFF \
-DCOVERAGE:BOOL=OFF \
-DIWYU:BOOL=OFF \
2020-06-03 11:15:43 +00:00
-DBUILD_LIB_TESTS:BOOL=OFF \
2020-07-21 09:22:39 +00:00
-DBUILD_LIB_EXAMPLES:BOOL=OFF
%cmake_build
2018-07-26 15:09:15 +00:00
%install
2020-07-21 09:22:39 +00:00
%cmake_install
ln -s libmatrix_client.so.%{version} %{buildroot}%{_libdir}/libmatrix_client.so.0
2018-07-26 15:09:15 +00:00
%files
%doc README.md
%license LICENSE
2020-06-03 11:15:43 +00:00
%{_libdir}/*.so.0*
2018-07-26 15:09:15 +00:00
%files devel
%{_includedir}/%{name}
%{_includedir}/mtx
%{_includedir}/mtx.hpp
2018-07-26 15:09:15 +00:00
%{_libdir}/cmake/MatrixClient
%{_libdir}/*.so
%changelog
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2023-01-13 07:43:23 +00:00
* Fri Jan 13 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 0.9.1-1
- Updated to version 0.9.1.
2022-11-03 14:22:55 +00:00
* Thu Nov 03 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.8.2-3
- Rebuilt due to spdlog update.
* Fri Sep 09 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.8.2-2
- Rebuilt due to incorrect Koji tag usage.
2022-09-09 20:56:23 +00:00
* Fri Sep 09 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.8.2-1
- Updated to version 0.8.2.
2022-09-08 06:52:21 +00:00
* Thu Sep 08 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.8.1-1
- Updated to version 0.8.1.
2022-08-16 12:53:41 +00:00
* Tue Aug 16 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.8.0-2
- Rebuilt due to json update.
2022-07-23 08:52:22 +00:00
* Sat Jul 23 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.8.0-1
- Updated to version 0.8.0.
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-07-16 10:19:12 +00:00
* Sat Jul 16 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.7.0-3
- Rebuilt due to fmt library update.
2022-04-30 12:03:37 +00:00
* Sat Apr 30 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.7.0-2
- Rebuilt due to spdlog update.
2022-03-10 10:29:25 +00:00
* Thu Mar 10 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.7.0-1
- Updated to version 0.7.0.
2022-02-23 09:42:39 +00:00
* Wed Feb 23 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.2-1
- Updated to version 0.6.2.
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2021-12-21 10:23:00 +00:00
* Tue Dec 21 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.1-1
- Updated to version 0.6.1.
2021-11-19 15:58:37 +00:00
* Fri Nov 19 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.0-1
- Updated to version 0.6.0.
* Mon Sep 27 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.1-5
- Fixed build against libolm 3.2.6.
2021-09-14 17:08:23 +00:00
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 0.5.1-4
- Rebuilt with OpenSSL 3.0.0
2021-08-07 00:06:36 +00:00
* Sat Aug 07 2021 Jonathan Wakely <jwakely@redhat.com> - 0.5.1-3
- Rebuilt for Boost 1.76
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-04-23 12:40:24 +00:00
* Fri Apr 23 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.1-1
- Updated to version 0.5.1.
2021-01-30 14:51:34 +00:00
* Sat Jan 30 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.1-1
- Updated to version 0.4.1.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2021-01-22 21:02:54 +00:00
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 0.4.0-4
- Rebuilt for Boost 1.75
* Wed Jan 20 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.0-3
- Backported upstream patch with LTO fixes.
* Wed Jan 20 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.0-2
- Disabled LTO due to nheko linkage issues.
2021-01-20 12:08:50 +00:00
* Wed Jan 20 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.0-1
- Updated to version 0.4.0.
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-06-14 09:56:13 +00:00
* Sun Jun 14 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.3.1-1
- Updated to version 0.3.1.
2020-06-03 11:15:43 +00:00
* Wed Jun 03 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.3.0-1
2020-06-14 09:56:13 +00:00
- Updated to version 0.3.0.
2020-06-03 11:15:43 +00:00
2020-05-30 07:13:14 +00:00
* Sat May 30 2020 Jonathan Wakely <jwakely@redhat.com> - 0.2.1-4
- Rebuilt for Boost 1.73
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 23 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 0.2.1-1
- Updated version 0.2.1 (regular release).
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2019-01-25 11:30:23 +00:00
* Fri Jan 25 2019 Jonathan Wakely <jwakely@redhat.com> - 0.2.0-3
- Rebuilt for Boost 1.69
2019-01-05 15:00:54 +00:00
* Sat Jan 05 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 0.2.0-2
- Rebuilt due to libolm update.
* Sat Sep 22 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.2.0-1
- Updated version 0.2.0 (regular release).
* Sun Sep 02 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.1.0-11
- Obsolete matrix-structs package correctly.
* Sun Sep 02 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.1.0-10
- Updated version 0.1.0 (regular release).
2018-08-12 17:54:47 +00:00
* Sun Aug 12 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.1.0-9.20180808git1089467
- Updated to latest snapshot.
2018-07-31 13:13:54 +00:00
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 0.1.0-8.20180726gitca66424
- Rebuild with fixed binutils
2018-07-28 13:28:16 +00:00
* Fri Jul 27 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.1.0-7.20180726gitca66424
- Updated to latest snapshot.
* Fri Jul 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.0-6.20180714git2f519d2
- Rebuild for new binutils
2018-07-26 15:09:15 +00:00
* Thu Jul 26 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.1.0-5.20180714git2f519d2
- Minor SPEC fixes.
* Sat Jul 14 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.1.0-4.20180714git2f519d2
- Updated to latest snapshot.
* Sun Jul 08 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.1.0-3.20180707git708c8c6
- Updated to latest snapshot.
* Sun Jul 01 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.1.0-2.20180627git7349126
- Updated to latest snapshot.
* Sun Jun 24 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.1.0-2.20180622git96fd35e
- Initial SPEC release.