]> git.pld-linux.org Git - packages/openjpeg2.git/commitdiff
- man pages are back
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 5 Nov 2014 18:05:05 +0000 (19:05 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 5 Nov 2014 18:05:05 +0000 (19:05 +0100)
openjpeg2.spec

index 15b0ba630d367fa4dacfa2b27b47a7f51f879275..a71370cced00bba6adfafb13585a0f1cb3f4f5b8 100644 (file)
@@ -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*
This page took 0.116245 seconds and 4 git commands to generate.