]> git.pld-linux.org Git - packages/OpenImageIO.git/commitdiff
Build and install man pages.
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 11 Jul 2012 22:10:15 +0000 (00:10 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 11 Jul 2012 22:10:15 +0000 (00:10 +0200)
OpenImageIO.spec

index 3656dde34dd2e2cc88ade729986c2189179b68e1..4b4fdd3df5ce8bf79bb572fc84dc55d2ae5cc0ce 100644 (file)
@@ -1,6 +1,3 @@
-# TODO:
-#      - man pages?
-#
 # Conditional build:
 %bcond_without static_libs     # don't build static libraries
 %bcond_without tbb             # Threading Building Blocks
@@ -45,6 +42,7 @@ BuildRequires:        ptex-devel >= 2
 BuildRequires: python-devel >= 1:2.6
 BuildRequires: squish-devel >= 1.10
 %{?with_tbb:BuildRequires:     tbb-devel}
+BuildRequires: txt2man
 BuildRequires: zlib-devel
 Requires:      ilmbase >= 1.0.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -314,6 +312,7 @@ rm -rf $RPM_BUILD_ROOT
 
 # name clash with iv
 %{__mv} -f $RPM_BUILD_ROOT%{_bindir}/{iv,oiiv}
+%{__mv} -f $RPM_BUILD_ROOT%{_mandir}/man1/{iv,oiiv}.1
 
 # installed as %doc
 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/openimageio
@@ -347,6 +346,13 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/softimage.imageio.so
 %attr(755,root,root) %{_libdir}/targa.imageio.so
 %attr(755,root,root) %{_libdir}/zfile.imageio.so
+%{_mandir}/man1/iconvert.1*
+%{_mandir}/man1/idiff.1*
+%{_mandir}/man1/igrep.1*
+%{_mandir}/man1/iinfo.1*
+%{_mandir}/man1/iprocess.1*
+%{_mandir}/man1/maketx.1*
+%{_mandir}/man1/oiiotool.1*
 
 %files devel
 %defattr(644,root,root,755)
@@ -412,6 +418,7 @@ rm -rf $RPM_BUILD_ROOT
 %files iv
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/oiiv
+%{_mandir}/man1/oiiv.1*
 
 %files -n python-OpenImageIO
 %defattr(644,root,root,755)
This page took 0.1894 seconds and 4 git commands to generate.