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

This commit is contained in:
Frantisek Kluknavsky 2013-04-16 18:04:09 +02:00
parent 68411367b7
commit 70e1edcc4b
3 changed files with 66 additions and 28 deletions

View File

@ -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@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@redhat.com> - 1.0.0b3-22
- added man page for wrudf

60
wrudf.1 Normal file
View File

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

View File

@ -1,22 +0,0 @@
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)