update to upstream version 0.10.0
(cherry picked from commit 2a746745c146c517a869aa8c161c1e34e724b936)
This commit is contained in:
parent
d6d121e967
commit
6b398f225c
BIN
lxqt-build-tools-0.10.0.tar.xz
Normal file
BIN
lxqt-build-tools-0.10.0.tar.xz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
Name: lxqt-build-tools
|
||||
Version: 0.6.0
|
||||
Release: 2
|
||||
Version: 0.10.0
|
||||
Release: 1
|
||||
Summary: Packaging tools for LXQt
|
||||
|
||||
License: BSD
|
||||
@ -13,6 +13,9 @@ 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
|
||||
|
||||
@ -21,17 +24,33 @@ 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
|
||||
pushd %{_target_platform}
|
||||
%{?fedora:%{cmake}}%{!?fedora:%{cmake3}} ..
|
||||
popd
|
||||
%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}
|
||||
|
||||
@ -44,6 +63,9 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jan 13 2022 pei-jiankang<peijiankang@kylinos.cn> - 0.10.0-1
|
||||
- update to upstream version 0.10.0
|
||||
|
||||
* Mon Dec 28 2020 Ge Wang <wangge20@huawei.com> - 0.6.0-2
|
||||
- Remove redundancy %{?dist}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user