[packages/openjpeg2] - man pages are back

qboosh qboosh at pld-linux.org
Wed Nov 5 19:04:50 CET 2014


commit a95415a5b8fe0c94385a68d315587b6916779daf
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Nov 5 19:05:05 2014 +0100

    - man pages are back

 openjpeg2.spec | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/openjpeg2.spec b/openjpeg2.spec
index 15b0ba6..a71370c 100644
--- a/openjpeg2.spec
+++ b/openjpeg2.spec
@@ -5,12 +5,12 @@ Version:	2.1.0
 Release:	1
 License:	BSD
 Group:		Libraries
-#Source0Download: http://code.google.com/p/openjpeg/downloads/list
 Source0:	http://downloads.sourceforge.net/openjpeg.mirror/openjpeg-%{version}.tar.gz
 # Source0-md5:	f6419fcc233df84f9a81eb36633c6db6
 Patch0:		%{name}-headers.patch
 URL:		http://www.openjpeg.org/
 BuildRequires:	cmake >= 2.8.2
+BuildRequires:	doxygen
 BuildRequires:	lcms2-devel >= 2
 BuildRequires:	libpng-devel
 BuildRequires:	libtiff-devel
@@ -62,6 +62,7 @@ Programy kodujące/dekodujące dla biblioteki OpenJPEG 2.
 
 %build
 %cmake . \
+	-DBUILD_DOC=ON \
 	-DOPENJPEG_INSTALL_LIB_DIR=%{_lib}
 
 # not ready for openjpeg 2:
@@ -81,6 +82,10 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# packaged as doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/openjpeg-2.1
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/html
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -100,9 +105,13 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libdir}/openjpeg-2.1
 %{_libdir}/openjpeg-2.1/OpenJPEG*.cmake
 %{_pkgconfigdir}/libopenjp2.pc
+%{_mandir}/man3/libopenjp2.3*
 
 %files progs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/opj_compress
 %attr(755,root,root) %{_bindir}/opj_decompress
 %attr(755,root,root) %{_bindir}/opj_dump
+%{_mandir}/man1/opj_compress.1*
+%{_mandir}/man1/opj_decompress.1*
+%{_mandir}/man1/opj_dump.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openjpeg2.git/commitdiff/a95415a5b8fe0c94385a68d315587b6916779daf



More information about the pld-cvs-commit mailing list