- Install manpages. Patch idea by Christoph Grüninger.
- Install manpages. Patch idea by Christoph Grüninger. OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=162
This commit is contained in:
parent
19a8bafd89
commit
7e88e30e7e
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 2 13:04:33 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
- Install manpages. Patch idea by Christoph Grüninger.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 21 12:59:23 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
|
@ -30,6 +30,7 @@ BuildRequires: gcc-c++
|
||||
BuildRequires: libarchive-devel
|
||||
BuildRequires: libexpat-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: python-sphinx
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: pkgconfig(bzip2)
|
||||
@ -57,6 +58,7 @@ export CFLAGS="$CXXFLAGS"
|
||||
--datadir=/share/cmake \
|
||||
--docdir=/share/doc/packages/cmake \
|
||||
--mandir=/share/man \
|
||||
--sphinx-man \
|
||||
%if 0%{?suse_version} && !0%{?sles_version}
|
||||
--system-libs \
|
||||
%else
|
||||
@ -79,6 +81,8 @@ 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)
|
||||
@ -86,5 +90,6 @@ rm -rf %{buildroot}%{_docdir}/cmake
|
||||
%{_datadir}/applications/CMake.desktop
|
||||
%{_datadir}/mime/packages/cmakecache.xml
|
||||
%{_datadir}/pixmaps/CMakeSetup32.png
|
||||
%{_mandir}/man1/cmake-gui.1.*
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 2 13:03:54 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
- Install manpages. Patch idea by Christoph Grüninger.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 2 08:25:13 UTC 2014 - sleep_walker@suse.cz
|
||||
|
||||
|
@ -33,6 +33,7 @@ BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libexpat-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: python-sphinx
|
||||
BuildRequires: zlib-devel
|
||||
Requires: make
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -57,6 +58,7 @@ export CFLAGS="$CXXFLAGS"
|
||||
--datadir=/share/%{name} \
|
||||
--docdir=/share/doc/packages/%{name} \
|
||||
--mandir=/share/man \
|
||||
--sphinx-man \
|
||||
--system-libs \
|
||||
--no-system-curl \
|
||||
%if 0%{?suse_version} <= 1110
|
||||
@ -78,6 +80,8 @@ install -m644 %{SOURCE2} -D %{buildroot}%{_datadir}/cmake/Modules/opensuse_rules
|
||||
sed -i \
|
||||
-e 's:OPTFLAGS:%{optflags}:g' \
|
||||
%{buildroot}%{_datadir}/cmake/Modules/opensuse_rules.cmake
|
||||
# manpage for gui is in different spec
|
||||
rm %{buildroot}%{_mandir}/man1/cmake-gui.*
|
||||
|
||||
%fdupes %{buildroot}%{_datadir}/cmake
|
||||
|
||||
@ -93,5 +97,10 @@ sed -i \
|
||||
%dir %{_datadir}/aclocal
|
||||
%{_datadir}/aclocal/cmake.m4
|
||||
%doc %{_docdir}/%{name}
|
||||
%{_mandir}/man1/ccmake.1.*
|
||||
%{_mandir}/man1/cmake.1.*
|
||||
%{_mandir}/man1/cpack.1.*
|
||||
%{_mandir}/man1/ctest.1.*
|
||||
%{_mandir}/man7/*.7.*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user