|
|
@ -1,8 +1,15 @@
|
|
|
|
%global framework kdoctools
|
|
|
|
%global framework kdoctools
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# uncomment to enable bootstrap mode
|
|
|
|
|
|
|
|
#global bootstrap 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if !0%{?bootstrap}
|
|
|
|
|
|
|
|
%global tests 1
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Version: 5.70.0
|
|
|
|
Version: 5.70.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: KDE Frameworks 5 Tier 2 addon for generating documentation
|
|
|
|
Summary: KDE Frameworks 5 Tier 2 addon for generating documentation
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv2+ and MIT
|
|
|
|
License: GPLv2+ and MIT
|
|
|
@ -30,10 +37,13 @@ BuildRequires: libxslt-devel
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
%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)
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?epel} > 7
|
|
|
|
|
|
|
|
%global perl_uri_escape perl(Any::URI::Escape)
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
BuildRequires: perl(URI::Escape)
|
|
|
|
%global perl_uri_escape perl(URI::Escape)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: %{perl_uri_escape}
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
|
|
|
|
Requires: docbook-dtds
|
|
|
|
Requires: docbook-dtds
|
|
|
@ -47,11 +57,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 +70,8 @@ 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,6 +83,13 @@ 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
|
|
|
@ -99,6 +113,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Jun 05 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.70.0-2
|
|
|
|
|
|
|
|
- allow use of perl(URI::Escape) on pure rhel, enable tests
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 04 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.70.0-1
|
|
|
|
* Mon May 04 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.70.0-1
|
|
|
|
- 5.70.0
|
|
|
|
- 5.70.0
|
|
|
|
|
|
|
|
|
|
|
|