diff --git a/README.md b/README.md index b88cb7c..c72811d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libquotient +A Qt library to write cross-platform clients for Matrix. + diff --git a/libquotient.spec b/libquotient.spec new file mode 100644 index 0000000..0e4cd04 --- /dev/null +++ b/libquotient.spec @@ -0,0 +1,73 @@ +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 +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 0.8.1.1-1mamba +- package created using the webbuild interface