Fixup non-gui builds

This commit is contained in:
Orion Poplawski 2011-02-24 10:57:30 -07:00
parent 28b2f0dbd1
commit bfbe8d889c

View File

@ -121,14 +121,15 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%defattr(-,root,root,-) %defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/rpm/macros.cmake %config(noreplace) %{_sysconfdir}/rpm/macros.cmake
%{_datadir}/doc/%{name}-%{version}/ %{_datadir}/doc/%{name}-%{version}/
%if %{with gui}
%exclude %{_datadir}/doc/%{name}-%{version}/cmake-gui.* %exclude %{_datadir}/doc/%{name}-%{version}/cmake-gui.*
%endif
%{_bindir}/ccmake %{_bindir}/ccmake
%{_bindir}/cmake %{_bindir}/cmake
%{_bindir}/cpack %{_bindir}/cpack
%{_bindir}/ctest %{_bindir}/ctest
%{_datadir}/%{name}/ %{_datadir}/%{name}/
%{_mandir}/man1/ccmake.1.gz %{_mandir}/man1/ccmake.1.gz
%{_mandir}/man1/cmake-gui.1.gz
%{_mandir}/man1/cmake.1.gz %{_mandir}/man1/cmake.1.gz
%{_mandir}/man1/cmakecommands.1.gz %{_mandir}/man1/cmakecommands.1.gz
%{_mandir}/man1/cmakecompat.1.gz %{_mandir}/man1/cmakecompat.1.gz