97 lines
2.6 KiB
RPMSpec
97 lines
2.6 KiB
RPMSpec
Name: libquotient
|
|
Version: 0.9.1
|
|
Release: 1mamba
|
|
Summary: A Qt library to write cross-platform clients for Matrix
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://quotient-im.github.io/libQuotient/
|
|
Source: https://github.com/quotient-im/libQuotient.git/%{version}/libQuotient-%{version}.tar.bz2
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libQt6Concurrent
|
|
BuildRequires: libQt6Core
|
|
BuildRequires: libQt6DBus
|
|
BuildRequires: libQt6Gui
|
|
BuildRequires: libQt6Network
|
|
BuildRequires: libQt6Sql
|
|
BuildRequires: libQt6Test
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglvnd-devel
|
|
BuildRequires: libolm-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: libqtkeychain-qt6-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
|
|
%description
|
|
A Qt library to write cross-platform clients for Matrix.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n libQuotient-%{version}
|
|
|
|
%build
|
|
%cmake \
|
|
-DBUILD_WITH_QT6=ON \
|
|
-DQuotient_ENABLE_E2EE=ON
|
|
|
|
%cmake_build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%cmake_install
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libQuotientQt6.so.*
|
|
%doc COPYING LICENSES
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/quotest
|
|
%dir %{_includedir}/Quotient
|
|
%{_includedir}/Quotient/*
|
|
%dir %{_libdir}/cmake/QuotientQt6
|
|
%{_libdir}/cmake/QuotientQt6/QuotientQt6*.cmake
|
|
%{_libdir}/libQuotientQt6.so
|
|
%{_libdir}/pkgconfig/QuotientQt6.pc
|
|
%{_datadir}/ndk-modules/Android.mk
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Sat Nov 30 2024 Automatic Build System <autodist@openmamba.org> 0.9.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Oct 26 2024 Automatic Build System <autodist@openmamba.org> 0.9.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Apr 17 2024 Automatic Build System <autodist@openmamba.org> 0.8.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Mar 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1.2-2mamba
|
|
- rebuilt with qt6 subpackages
|
|
|
|
* Wed Sep 13 2023 Automatic Build System <autodist@mambasoft.it> 0.8.1.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Aug 27 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1.1-1mamba
|
|
- package created using the webbuild interface
|