From 68411367b7468ef81a2b3d579d434f266ca97691 Mon Sep 17 00:00:00 2001 From: Frantisek Kluknavsky Date: Tue, 16 Apr 2013 16:28:18 +0200 Subject: [PATCH] added man page for wrudf --- udftools.spec | 12 +++++++++--- wrudf.txt | 22 ++++++++++++++++++++++ 2 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 wrudf.txt diff --git a/udftools.spec b/udftools.spec index 227703c..9fd1a60 100644 --- a/udftools.spec +++ b/udftools.spec @@ -1,11 +1,12 @@ Summary: Linux UDF Filesystem userspace utilities Name: udftools Version: 1.0.0b3 -Release: 21%{?dist} +Release: 22%{?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 Patch0: udftools-1.0.0b3-pktsetup-chardev.patch Patch1: udftools-1.0.0b3-mkudffs-bigendian.patch Patch2: udftools-1.0.0b3-wrudf-gcc4.patch @@ -17,6 +18,8 @@ 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. @@ -40,12 +43,12 @@ 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/ %files %doc AUTHORS ChangeLog COPYING @@ -58,6 +61,9 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %changelog +* Tue Apr 16 2013 Frantisek Kluknavsky - 1.0.0b3-22 +- added man page for wrudf + * Mon Apr 15 2013 Frantisek Kluknavsky - 1.0.0b3-21 - added "--help"/"-h" with basic info to wrudf diff --git a/wrudf.txt b/wrudf.txt new file mode 100644 index 0000000..b34b4af --- /dev/null +++ b/wrudf.txt @@ -0,0 +1,22 @@ +NAME +wrudf - Maintain an UDF filesystem. +SYNOPSIS +wrudf device +wrudf --help | -help | -h +DESCRIPTION +wrudf provides an interactive shell with operations on existing UDF filesystem: cp, rm, mkdir, rmdir, ls, cd. + COMMANDS + cp copy + rm remove + mkdir make directory + rmdir remove directory + lsc list files (Compact disc version) + lsh list files (Hard disc version) + cdc change working directory (Compact disc) + cdh change working directory (Hard disc) + quit quit wrudf + exit quit wrudf +AVAILABILITY +wrudf is part of the udftools package and is available from http://linux-udf.sourceforge.net. +SEE ALSO +cdrwtool(1), mkudffs(8), pktsetup(8)