diff --git a/lxqt-build-tools-0.6.0.tar.xz b/lxqt-build-tools-0.6.0.tar.xz new file mode 100644 index 0000000..5b8c38b Binary files /dev/null and b/lxqt-build-tools-0.6.0.tar.xz differ diff --git a/lxqt-build-tools.spec b/lxqt-build-tools.spec new file mode 100644 index 0000000..7afae72 --- /dev/null +++ b/lxqt-build-tools.spec @@ -0,0 +1,48 @@ +Name: lxqt-build-tools +Version: 0.6.0 +Release: 1%{?dist} +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 + +Requires: %{?fedora:cmake}%{!?fedora:cmake3} >= 3.0 + +%description +Various packaging tools and scripts for LXQt applications. + + +%prep +%autosetup -p1 +%{__mkdir} -p %{_target_platform} + + +%build +pushd %{_target_platform} +%{?fedora:%{cmake}}%{!?fedora:%{cmake3}} .. +popd +%make_build -C %{_target_platform} + + +%install +%make_install -C %{_target_platform} + + +%files +%license BSD-3-Clause +%doc CHANGELOG README.md +%{_datadir}/cmake/%{name} +%{_bindir}/lxqt-transupdate + + +%changelog +* Thu Jul 23 2020 Zhao Yang  - 0.6.0-1 +- Initial release for OpenEuler