Name: lxqt-build-tools Version: 0.10.0 Release: 1 Summary: Packaging tools for LXQt License: BSD URL: http://lxqt.org/ Source0: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz BuildArch: noarch BuildRequires: %{?fedora:cmake}%{!?fedora:cmake3} >= 3.0 BuildRequires: gcc-c++ BuildRequires: pkgconfig(Qt5Core) BuildRequires: glib2-devel %if 0%{?el7} BuildRequires: devtoolset-7-gcc-c++ %endif Requires: %{?fedora:cmake}%{!?fedora:cmake3} >= 3.0 %description Various packaging tools and scripts for LXQt applications. %prep %if 0%{?el7} scl enable devtoolset-7 - <<\EOF %endif %autosetup -p1 %{__mkdir} -p %{_target_platform} %if 0%{?el7} EOF %endif %build %if 0%{?el7} scl enable devtoolset-7 - <<\EOF %endif mkdir build && pushd build %cmake3 -DPULL_TRANSLATIONS=NO ../ %make_build -C %{_target_platform} %if 0%{?el7} EOF %endif popd %install %make_install -C %{_target_platform} %files %license BSD-3-Clause %doc CHANGELOG README.md %{_datadir}/cmake/%{name} %{_bindir}/lxqt-transupdate %changelog * Thu Jan 13 2022 pei-jiankang - 0.10.0-1 - update to upstream version 0.10.0 * Mon Dec 28 2020 Ge Wang - 0.6.0-2 - Remove redundancy %{?dist} * Thu Jul 23 2020 Zhao Yang  - 0.6.0-1 - Initial release for OpenEuler