diff --git a/libtiff-manpage-update.patch b/libtiff-manpage-update.patch new file mode 100644 index 0000000..153a9d4 --- /dev/null +++ b/libtiff-manpage-update.patch @@ -0,0 +1,87 @@ +diff --git a/man/tiff2ps.1 b/man/tiff2ps.1 +index c3a9bac..a826ad7 100644 +--- a/man/tiff2ps.1 ++++ b/man/tiff2ps.1 +@@ -100,6 +100,9 @@ Generate \*(Ps Level 2. + Generate \*(Ps Level 3. It basically allows one to use the /flateDecode + filter for ZIP compressed TIFF images. + .TP ++.B \-8 ++Disable use of ASCII85 encoding with PostScript Level 2/3 ++.TP + .B \-a + Generate output for all IFDs (pages) in the input file. + .TP +@@ -123,6 +126,9 @@ directory to the specified directory number. + This option is useful for selecting individual pages in a + multi-page (e.g. facsimile) file. + .TP ++.B \-D ++Enable duplex printing (two pages per sheet of paper) ++.TP + .B \-e + Force the generation of Encapsulated \*(Ps (implies + .BR \-z ). +@@ -185,6 +191,10 @@ like which are hidden using the + .I SubIFD + tag. + .TP ++.B \-O ++Write PostScript to specified file instead of standard output ++Set the initial ++.TP + .B \-p + Force the generation of (non-Encapsulated) \*(Ps. + .TP +@@ -197,6 +207,12 @@ counterclockwise. Auto rotates 90 degrees ccw to produce landscape. + .B \-s + Generate output for a single IFD (page) in the input file. + .TP ++.B \-t ++Specify the document title string ++.TP ++.B \-T ++Print pages for top edge binding ++.TP + .B \-w + Specify the horizontal size of the printed area (in inches). + .TP +diff --git a/man/tiffcp.1 b/man/tiffcp.1 +index 5fdcc47..bf50130 100644 +--- a/man/tiffcp.1 ++++ b/man/tiffcp.1 +@@ -60,6 +60,9 @@ in a file, but it is explicitly intended to not alter or convert + the image data content in any way. + .SH OPTIONS + .TP ++.BI \-a ++Append to an existing output file instead of overwriting it ++.TP + .BI \-b " image" + subtract the following monochrome image from all others + processed. This can be used to remove a noise bias +@@ -179,6 +182,9 @@ overwritten and not when it is appended to. + .B \-M + Suppress the use of memory-mapped files when reading images. + .TP ++.BI \-o " offset" ++Set initial directory offset ++.TP + .B \-p + Specify the planar configuration to use in writing image data + that has one 8-bit sample per pixel. +diff --git a/tools/tiffcp.c b/tools/tiffcp.c +index 0f81b19..8c696db 100644 +--- a/tools/tiffcp.c ++++ b/tools/tiffcp.c +@@ -409,6 +409,10 @@ char* stuff[] = { + " -s write output in strips", + " -t write output in tiles", + " -8 write BigTIFF instead of default ClassicTIFF", ++" -B write big-endian instead of native byte order", ++" -L write little-endian instead of native byte order", ++" -M disable use of memory-mapped files", ++" -C disable strip chopping", + " -i ignore read errors", + " -b file[,#] bias (dark) monochrome image to be subtracted from all others", + " -,=% use % rather than , to separate image #'s (per Note below)", diff --git a/libtiff.spec b/libtiff.spec index b5fc7e5..5693f4e 100644 --- a/libtiff.spec +++ b/libtiff.spec @@ -1,7 +1,7 @@ Summary: Library of functions for manipulating TIFF format image files Name: libtiff Version: 4.0.3 -Release: 7%{?dist} +Release: 8%{?dist} License: libtiff Group: System Environment/Libraries @@ -16,6 +16,7 @@ Patch3: libtiff-printdir-width.patch Patch4: libtiff-jpeg-test.patch Patch5: libtiff-CVE-2013-1960.patch Patch6: libtiff-CVE-2013-1961.patch +Patch7: libtiff-manpage-update.patch BuildRequires: zlib-devel libjpeg-devel jbigkit-devel BuildRequires: libtool automake autoconf pkgconfig @@ -73,6 +74,7 @@ image files using the libtiff library. %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 # Use build system's libtool.m4, not the one in the package. rm -f libtool.m4 @@ -176,6 +178,9 @@ find html -name 'Makefile*' | xargs rm %{_mandir}/man1/* %changelog +* Mon Aug 12 2013 Petr Hracek - 4.0.3-8 +- Manpage fixing (#510240, #510258) + * Sat Aug 03 2013 Fedora Release Engineering - 4.0.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild @@ -504,7 +509,7 @@ Resolves: bz #222729 * Tue Dec 19 2000 Philipp Knirsch - rebuild -* Tue Aug 7 2000 Crutcher Dunnavant +* Mon Aug 7 2000 Crutcher Dunnavant - added a tiff-to-ps.fpi filter for printing * Thu Jul 13 2000 Prospector