74 lines
1.8 KiB
RPMSpec
74 lines
1.8 KiB
RPMSpec
Name: libquotient
|
|
Version: 0.8.1.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: libQt5Multimedia-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libqtkeychain-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: qt5-qtbase-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
|
|
|
|
%cmake_build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%cmake_install
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libQuotient.so.0.*
|
|
%doc COPYING LICENSES
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/quotest
|
|
%dir %{_includedir}/Quotient
|
|
%{_includedir}/Quotient/*
|
|
%dir %{_libdir}/cmake/Quotient
|
|
%{_libdir}/cmake/Quotient/Quotient*.cmake
|
|
%{_libdir}/libQuotient.so
|
|
%{_libdir}/pkgconfig/Quotient.pc
|
|
%{_datadir}/ndk-modules/Android.mk
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Sun Aug 27 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1.1-1mamba
|
|
- package created using the webbuild interface
|