CMake change fixups.
This commit is contained in:
parent
ea7490354c
commit
9381429155
14
fltk.spec
14
fltk.spec
@ -81,23 +81,19 @@ Requires: %{name}-devel
|
||||
|
||||
|
||||
%build
|
||||
mkdir build
|
||||
pushd build
|
||||
%cmake .. \
|
||||
-DFLTK_CONFIG_PATH:PATH=%{_libdir}/cmake/fltk \
|
||||
%cmake -DFLTK_CONFIG_PATH:PATH=%{_libdir}/cmake/fltk \
|
||||
-DOpenGL_GL_PREFERENCE=GLVND \
|
||||
-DOPTION_BUILD_HTML_DOCUMENTATION:BOOL=ON \
|
||||
-DOPTION_BUILD_PDF_DOCUMENTATION:BOOL=OFF \
|
||||
-DOPTION_BUILD_SHARED_LIBS:BOOL=ON
|
||||
popd
|
||||
|
||||
%make_build -C build
|
||||
%cmake_build
|
||||
|
||||
make docs -C build
|
||||
make docs -C %{_vpath_builddir}
|
||||
|
||||
|
||||
%install
|
||||
%make_install -C build
|
||||
%cmake_install
|
||||
|
||||
# we only apply this hack to multilib arch's
|
||||
%ifarch x86_64 %{ix86} ppc64 ppc s390x s390 sparc64 sparc
|
||||
@ -123,7 +119,7 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/fluid.desktop
|
||||
%{_libdir}/libfltk_images.so.1.3*
|
||||
|
||||
%files devel
|
||||
%doc build/documentation/html
|
||||
%doc %{_vpath_builddir}/documentation/html
|
||||
%{_bindir}/fltk-config
|
||||
%{?arch:%{_bindir}/fltk-config-%{arch}}
|
||||
%{_includedir}/FL/
|
||||
|
Loading…
Reference in New Issue
Block a user