format spec
This commit is contained in:
parent
f87b8d44c5
commit
e0123e7f3b
@ -1,19 +1,16 @@
|
|||||||
%global framework syntax-highlighting
|
%global framework syntax-highlighting
|
||||||
|
|
||||||
# uncomment to enable bootstrap mode
|
|
||||||
#global bootstrap 1
|
|
||||||
|
|
||||||
%if !0%{?bootstrap}
|
%if !0%{?bootstrap}
|
||||||
%global tests 1
|
%global tests 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: kf5-%{framework}
|
Name: kf5-%{framework}
|
||||||
Version: 5.55.0
|
Version: 5.55.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: KDE Frameworks 5 Syntax highlighting engine for Kate syntax definitions
|
Summary: KDE Frameworks 5 Syntax highlighting engine for Kate syntax definitions
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://cgit.kde.org/%{framework}.git
|
URL: https://cgit.kde.org/%{framework}.git
|
||||||
|
|
||||||
%global majmin %(echo %{version} | cut -d. -f1-2)
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
||||||
%global revision %(echo %{version} | cut -d. -f3)
|
%global revision %(echo %{version} | cut -d. -f3)
|
||||||
@ -22,22 +19,15 @@ URL: https://cgit.kde.org/%{framework}.git
|
|||||||
%else
|
%else
|
||||||
%global stable stable
|
%global stable stable
|
||||||
%endif
|
%endif
|
||||||
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
|
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
|
||||||
|
|
||||||
## upstream fixes (lookaside cache)
|
BuildRequires: extra-cmake-modules >= %{majmin} kf5-rpm-macros perl-interpreter qt5-qtbase-devel
|
||||||
|
|
||||||
BuildRequires: extra-cmake-modules >= %{majmin}
|
|
||||||
BuildRequires: kf5-rpm-macros
|
|
||||||
|
|
||||||
BuildRequires: perl-interpreter
|
|
||||||
BuildRequires: qt5-qtbase-devel
|
|
||||||
# optional deps
|
# optional deps
|
||||||
%if ! 0%{?bootstrap}
|
%if ! 0%{?bootstrap}
|
||||||
BuildRequires: qt5-qtxmlpatterns-devel
|
BuildRequires: qt5-qtxmlpatterns-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Requires: kf5-filesystem >= %{majmin}
|
Requires: kf5-filesystem >= %{majmin}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
@ -96,3 +86,4 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
|
|||||||
%changelog
|
%changelog
|
||||||
* Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1
|
* Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1
|
||||||
- Initial release for OpenEuler
|
- Initial release for OpenEuler
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user