update to upstream version 5.88.0
This commit is contained in:
parent
cb698515f1
commit
737dff810a
Binary file not shown.
BIN
kdoctools-5.88.0.tar.xz
Normal file
BIN
kdoctools-5.88.0.tar.xz
Normal file
Binary file not shown.
45
kf5-kdoctools.spec
Normal file → Executable file
45
kf5-kdoctools.spec
Normal file → Executable file
@ -1,12 +1,16 @@
|
|||||||
%global framework kdoctools
|
%global framework kdoctools
|
||||||
|
|
||||||
Name: kf5-%{framework}
|
%if !0%{?bootstrap}
|
||||||
Version: 5.55.0
|
%global tests 1
|
||||||
Release: 2
|
%endif
|
||||||
Summary: KDE Frameworks 5 Tier 2 addon for generating documentation
|
|
||||||
|
|
||||||
License: GPLv2+ and MIT
|
Name: kf5-%{framework}
|
||||||
URL: https://cgit.kde.org/%{framework}.git
|
Version: 5.88.0
|
||||||
|
Release: 1
|
||||||
|
Summary: KDE Frameworks 5 Tier 2 addon for generating documentation
|
||||||
|
|
||||||
|
License: GPLv2+ and MIT
|
||||||
|
URL: https://invent.kde.org/frameworks/%{framework}
|
||||||
|
|
||||||
%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)
|
||||||
@ -27,13 +31,10 @@ BuildRequires: kf5-ki18n-devel >= %{majmin}
|
|||||||
|
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: libxslt-devel
|
BuildRequires: libxslt-devel
|
||||||
#%if 0%{?fedora} || 0%{?rhel} > 7
|
%global _with_html --with-html
|
||||||
#%global _with_html --with-html
|
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
#BuildRequires: perl(Any::URI::Escape)
|
%global perl_uri_escape perl(URI::Escape)
|
||||||
#%else
|
BuildRequires: %{perl_uri_escape}
|
||||||
BuildRequires: perl(URI::Escape)
|
|
||||||
#%endif
|
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
|
||||||
Requires: docbook-dtds
|
Requires: docbook-dtds
|
||||||
@ -47,11 +48,7 @@ Summary: Development files for %{name}
|
|||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Provides: kf5-kdoctools-static = %{version}-%{release}
|
Provides: kf5-kdoctools-static = %{version}-%{release}
|
||||||
Requires: qt5-qtbase-devel
|
Requires: qt5-qtbase-devel
|
||||||
#%%if 0%{?fedora} || 0%{?rhel} > 7
|
Requires: %{perl_uri_escape}
|
||||||
#Requires: perl(Any::URI::Escape)
|
|
||||||
#%%else
|
|
||||||
Requires: perl(URI::Escape)
|
|
||||||
#%%endif
|
|
||||||
%description devel
|
%description devel
|
||||||
The %{name}-devel package contains libraries and header files for
|
The %{name}-devel package contains libraries and header files for
|
||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
@ -64,7 +61,7 @@ developing applications that use %{name}.
|
|||||||
%build
|
%build
|
||||||
mkdir %{_target_platform}
|
mkdir %{_target_platform}
|
||||||
pushd %{_target_platform}
|
pushd %{_target_platform}
|
||||||
%{cmake_kf5} ..
|
%{cmake_kf5} .. %{?tests:-DBUILD_TESTING:BOOL=ON}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%make_build -C %{_target_platform}
|
%make_build -C %{_target_platform}
|
||||||
@ -76,11 +73,18 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|||||||
%find_lang %{name} --all-name --with-man %{?_with_html}
|
%find_lang %{name} --all-name --with-man %{?_with_html}
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
%if 0%{?tests}
|
||||||
|
export CTEST_OUTPUT_ON_FAILURE=1
|
||||||
|
make test -C %{_target_platform} ARGS="--output-on-failure --timeout 300" ||:
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license COPYING.LIB
|
%license LICENSES/*.txt
|
||||||
%{_kf5_libdir}/libKF5DocTools.so.5*
|
%{_kf5_libdir}/libKF5DocTools.so.5*
|
||||||
## FIXME/TODO: which of these to move to -devel -- rex
|
## FIXME/TODO: which of these to move to -devel -- rex
|
||||||
%{_kf5_bindir}/checkXML5
|
%{_kf5_bindir}/checkXML5
|
||||||
@ -99,6 +103,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 13 2022 pei-jiankang<peijiankang@kylinos.com> - 5.88.0-1
|
||||||
|
- update to upstream version 5.88.0
|
||||||
|
|
||||||
* Thu Nov 5 2020 douyan <douyan@kylinos.cn> - 5.55.0-2
|
* Thu Nov 5 2020 douyan <douyan@kylinos.cn> - 5.55.0-2
|
||||||
- remove perl(Any::URI::Escape) dependency
|
- remove perl(Any::URI::Escape) dependency
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user