[udftools/f19] Build dependency on txt2man unacceptable. Included final man page wrudf.1 instead of source.

Frantisek Kluknavsky fkluknav at fedoraproject.org
Tue Apr 16 16:06:03 UTC 2013


commit 70e1edcc4baa06570c53c758865a26b4b3167f17
Author: Frantisek Kluknavsky <fkluknav at redhat.com>
Date:   Tue Apr 16 18:04:09 2013 +0200

    Build dependency on txt2man unacceptable. Included final man page wrudf.1 instead of source.

 udftools.spec |   12 +++++-----
 wrudf.1       |   60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 wrudf.txt     |   22 --------------------
 3 files changed, 66 insertions(+), 28 deletions(-)
---
diff --git a/udftools.spec b/udftools.spec
index 9fd1a60..58bf737 100644
--- a/udftools.spec
+++ b/udftools.spec
@@ -1,12 +1,12 @@
 Summary: Linux UDF Filesystem userspace utilities
 Name: udftools
 Version: 1.0.0b3
-Release: 22%{?dist}
+Release: 23%{?dist}
 License: GPLv2+
 Group: Applications/Archiving
 URL: http://sourceforge.net/projects/linux-udf/
 Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-Source2: wrudf.txt
+Source2: wrudf.1
 Patch0: udftools-1.0.0b3-pktsetup-chardev.patch
 Patch1: udftools-1.0.0b3-mkudffs-bigendian.patch
 Patch2: udftools-1.0.0b3-wrudf-gcc4.patch
@@ -18,8 +18,6 @@ Patch7: udftools-1.0.0b3-staticanal.patch
 Patch8: udftools-1.0.0b3-wrudf_help.patch
 BuildRequires: readline-devel, ncurses-devel
 BuildRequires: autoconf, automake, libtool, perl-Carp
-#needed to generate wrudf man page
-BuildRequires: txt2man
 
 %description
 Linux UDF Filesystem userspace utilities.
@@ -43,12 +41,11 @@ Linux UDF Filesystem userspace utilities.
 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 %configure
 %{__make} %{?_smp_mflags}
-txt2man -p -s1 %{SOURCE2} > wrudf.1
 
 %install
 %makeinstall
 ./libtool --finish %{buildroot}%{_libdir}
-install -m 644 wrudf.1 %buildroot%{_mandir}/man1/
+install -m 644 %{SOURCE2} %buildroot%{_mandir}/man1/
 
 %files
 %doc AUTHORS ChangeLog COPYING
@@ -61,6 +58,9 @@ install -m 644 wrudf.1 %buildroot%{_mandir}/man1/
 
 
 %changelog
+* Tue Apr 16 2013 Frantisek Kluknavsky <fkluknav at redhat.com> - 1.0.0b3-23
+- Build dependency on txt2man unacceptable. Included final man page wrudf.1 instead of source.
+
 * Tue Apr 16 2013 Frantisek Kluknavsky <fkluknav at redhat.com> - 1.0.0b3-22
 - added man page for wrudf
 
diff --git a/wrudf.1 b/wrudf.1
new file mode 100644
index 0000000..cab2d53
--- /dev/null
+++ b/wrudf.1
@@ -0,0 +1,60 @@
+.\" Text automatically generated by txt2man
+.TH wrudf 1 "16 April 2013" "udftools" "Linux Reference Manual"
+.SH NAME
+\fBwrudf \fP- Maintain an UDF filesystem.
+.SH SYNOPSIS
+.nf
+.fam C
+\fBwrudf\fP \fIdevice\fP
+\fBwrudf\fP \fB--help\fP | \fB-help\fP | \fB-h\fP 
+.fam T
+.fi
+.fam T
+.fi
+.SH DESCRIPTION
+\fBwrudf\fP provides an interactive shell with operations on existing UDF filesystem: cp, rm, mkdir, rmdir, ls, cd.
+.SS COMMANDS
+.TP
+.B
+cp
+copy 
+.TP
+.B
+rm
+remove
+.TP
+.B
+mkdir
+make directory
+.TP
+.B
+rmdir
+remove directory
+.TP
+.B
+lsc
+list files (Compact disc version)
+.TP
+.B
+lsh
+list files (Hard disc version)
+.TP
+.B
+cdc
+change working directory (Compact disc)
+.TP
+.B
+cdh
+change working directory (Hard disc)
+.TP
+.B
+quit
+quit \fBwrudf\fP 
+.TP
+.B
+exit
+quit \fBwrudf\fP
+.SH AVAILABILITY
+\fBwrudf\fP is part of the udftools package and is available from http://linux-udf.sourceforge.net.
+.SH SEE ALSO
+\fBcdrwtool\fP(1), \fBmkudffs\fP(8), \fBpktsetup\fP(8)


More information about the scm-commits mailing list