From: Jan Rękorajski Date: Fri, 3 Dec 2021 20:55:50 +0000 (+0100) Subject: - disable doc on ix86, qt4 meinproc is broken, rel 9 X-Git-Tag: auto/th/kde4-step-4.14.3-9 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=d6243d584e1fadd7f5a15903ff3c22c4513abac5;p=packages%2Fkde4-step.git - disable doc on ix86, qt4 meinproc is broken, rel 9 --- diff --git a/kde4-step.spec b/kde4-step.spec index 1e57e63..a62b7bd 100644 --- a/kde4-step.spec +++ b/kde4-step.spec @@ -1,15 +1,21 @@ +%bcond_without doc # build handbooks + %define _state stable %define orgname step +%ifarch %{ix86} +%undefine with_doc +%endif Summary: K Desktop Environment - Interactive Physical Simulator Summary(pl.UTF-8): K Desktop Environment - interaktywny symulator fizyczny Name: kde4-step Version: 4.14.3 -Release: 8 +Release: 9 License: GPL Group: X11/Applications/Graphics Source0: http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz # Source0-md5: 9e021e50310f0e99bd621d57ab07b7ef +Patch0: no-doc.patch URL: http://www.kde.org/ BuildRequires: cln-devel BuildRequires: eigen @@ -47,6 +53,7 @@ fizyka. %prep %setup -q -n %{orgname}-%{version} +%{!?with_doc:%patch0 -p1} %build install -d build @@ -64,12 +71,14 @@ rm -rf $RPM_BUILD_ROOT DESTDIR=$RPM_BUILD_ROOT \ kde_htmldir=%{_kdedocdir} +%if %{with doc} %find_lang %{orgname} --with-kde +%endif %clean rm -rf $RPM_BUILD_ROOT -%files -f %{orgname}.lang +%files %{?with_doc:-f %{orgname}.lang} %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/step %{_datadir}/appdata/step.appdata.xml diff --git a/no-doc.patch b/no-doc.patch new file mode 100644 index 0000000..7a0be5b --- /dev/null +++ b/no-doc.patch @@ -0,0 +1,10 @@ +--- step-4.14.3/CMakeLists.txt~ 2014-10-14 08:53:43.000000000 +0200 ++++ step-4.14.3/CMakeLists.txt 2021-12-03 21:50:37.335901045 +0100 +@@ -24,7 +24,6 @@ + if (EIGEN2_FOUND) + include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${EIGEN2_INCLUDE_DIR}) + +- add_subdirectory(doc) + add_subdirectory(stepcore) + add_subdirectory(step) +