diff --git a/README.md b/README.md index 56bb99c..649dbed 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # lxqt-qtplugin +A library libqtlxqt to integrate Qt with LXQt. + diff --git a/lxqt-qtplugin.spec b/lxqt-qtplugin.spec new file mode 100644 index 0000000..6ea242b --- /dev/null +++ b/lxqt-qtplugin.spec @@ -0,0 +1,60 @@ +Name: lxqt-qtplugin +Version: 0.15.1 +Release: 1mamba +Summary: A library libqtlxqt to integrate Qt with LXQt +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/lxqt/lxqt-qtplugin +Source: https://github.com/lxqt/lxqt-qtplugin.git/%{version}/lxqt-qtplugin-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libdbusmenu-qt5-devel +BuildRequires: libgcc +BuildRequires: libqt5-devel +BuildRequires: libqtxdg-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A library libqtlxqt to integrate Qt with LXQt. + +%package -n lib%{name} +Group: System/Libraries +Summary: A library libqtlxqt to integrate Qt with LXQt + +%description -n lib%{name} +A library libqtlxqt to integrate Qt with LXQt. + +%debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/qt5/plugins/platformthemes/libqtlxqt.so +%doc AUTHORS LICENSE + +%changelog +* Sat Oct 03 2020 Silvan Calarco 0.15.1-1mamba +- package created using the webbuild interface