SHA256
1
0
forked from pool/cmake

- Provide cmake-mans subpackage and use it to avoid buildcycle

- Move manpages building to -gui part to avoid buildcycle.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=163
This commit is contained in:
Tomáš Chvátal
2014-07-03 08:00:27 +00:00
committed by Git OBS Bridge
parent 7e88e30e7e
commit 1e7bc5e598
4 changed files with 24 additions and 5 deletions

View File

@@ -35,6 +35,7 @@ BuildRequires: update-desktop-files
BuildRequires: zlib-devel
BuildRequires: pkgconfig(bzip2)
Requires: cmake
Recommends: cmake-man
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} >= 1320
BuildRequires: pkgconfig(Qt5Widgets)
@@ -46,6 +47,13 @@ BuildRequires: libqt4-devel
This is a Graphical User Interface for CMake, a cross-platform,
open-source build system.
%package -n cmake-man
Summary: Cross-platform, open-source make system - manual pages
Group: Development/Tools/Building
%description -n cmake-man
Manual pages for cmake, Cross-platform, open-source make system
%prep
%setup -q -n cmake-%{version}
@@ -81,8 +89,6 @@ rm -rf %{buildroot}%{_bindir}/{cpack,cmake,ctest}
rm -rf %{buildroot}%{_datadir}/cmake
rm -rf %{buildroot}%{_datadir}/aclocal/cmake.m4
rm -rf %{buildroot}%{_docdir}/cmake
rm -rf %{buildroot}%{_mandir}/man7/
rm -rf %{buildroot}%{_mandir}/man1/{ccmake,cmake,cpack,ctest}.*
%files
%defattr(-,root,root)
@@ -90,6 +96,10 @@ rm -rf %{buildroot}%{_mandir}/man1/{ccmake,cmake,cpack,ctest}.*
%{_datadir}/applications/CMake.desktop
%{_datadir}/mime/packages/cmakecache.xml
%{_datadir}/pixmaps/CMakeSetup32.png
%{_mandir}/man1/cmake-gui.1.*
%files -n cmake-man
%defattr(-,root,root)
%{_mandir}/man7/*
%{_mandir}/man1/*
%changelog