added man page for wrudf

This commit is contained in:
Frantisek Kluknavsky 2013-04-16 16:28:18 +02:00
parent 7e90784fe4
commit 68411367b7
2 changed files with 31 additions and 3 deletions

View File

@ -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 <fkluknav@redhat.com> - 1.0.0b3-22
- added man page for wrudf
* Mon Apr 15 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.0.0b3-21
- added "--help"/"-h" with basic info to wrudf

22
wrudf.txt Normal file
View File

@ -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)