]> git.pld-linux.org Git - packages/kde4-step.git/commitdiff
- disable doc on ix86, qt4 meinproc is broken, rel 9 master auto/th/kde4-step-4.14.3-9
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 3 Dec 2021 20:55:50 +0000 (21:55 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 3 Dec 2021 20:55:50 +0000 (21:55 +0100)
kde4-step.spec
no-doc.patch [new file with mode: 0644]

index 1e57e63d683abaf945370163a49084ce3b9024ce..a62b7bd1ee5abe3eb73db66aa72e450c83896719 100644 (file)
@@ -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 (file)
index 0000000..7a0be5b
--- /dev/null
@@ -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)
This page took 0.109191 seconds and 4 git commands to generate.