lxqt-build-tools/lxqt-build-tools.spec
wang--ge 953b4a1541 remove reduncancy %{?dist}
(cherry picked from commit 66daedcbbb1302da73c3b684a2b8cc833a89a5a8)
2021-06-02 17:26:54 +08:00

52 lines
1.1 KiB
RPMSpec
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: lxqt-build-tools
Version: 0.6.0
Release: 2
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
* Mon Dec 28 2020 Ge Wang <wangge20@huawei.com> - 0.6.0-2
- Remove redundancy %{?dist}
* Thu Jul 23 2020 Zhao Yang <yangzhao1@kylinos.cn> - 0.6.0-1
- Initial release for OpenEuler