rpms/txt2man/F-10 txt2man-1.5.5-fixbashisms.patch, NONE, 1.1 txt2man.spec, NONE, 1.1 sources, 1.1, 1.2
Sindre Pedersen Bjørdal
sindrepb at fedoraproject.org
Fri Mar 6 10:37:13 UTC 2009
- Previous message (by thread): rpms/iok/devel iok-enable-combo-en-locale.patch, NONE, 1.1 iok.spec, 1.9, 1.10
- Next message (by thread): rpms/txt2man/F-9 txt2man-1.5.5-fixbashisms.patch, NONE, 1.1 txt2man.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: sindrepb
Update of /cvs/pkgs/rpms/txt2man/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21191
Modified Files:
sources
Added Files:
txt2man-1.5.5-fixbashisms.patch txt2man.spec
Log Message:
adding files to branch
txt2man-1.5.5-fixbashisms.patch:
--- NEW FILE txt2man-1.5.5-fixbashisms.patch ---
diff -Nru txt2man-1.5.5/bookman txt2man-1.5.5/bookman
--- txt2man-1.5.5/bookman 2007-03-21 11:07:24.000000000 +0000
+++ txt2man-1.5.5/bookman 2008-04-12 03:29:07.000000000 +0100
@@ -83,16 +83,16 @@
shift $(($OPTIND - 1))
date=${date:-$(date +'%d %B %Y')}
-[[ $1 ]] || set -- $(while read; do echo $REPLY; done)
+[ $1 ] || set -- $(while read REPLY; do echo $REPLY; done)
-[[ $outfile ]] && post="$post >$outfile"
+[ $outfile ] && post="$post >$outfile"
{
# Compute table of content from postscript output.
# Generate output in gtroff intermediate format, so
# it can be merged with content.
{
- [[ -f $cover ]] && cat $cover || {
+ [ -f $cover ] && cat $cover || {
printf ".af %% i\n.P1\n"
printf ".OH ||%s||\n" "$volume"
printf ".EH ||%s||\n" "$volume"
--- NEW FILE txt2man.spec ---
Name: txt2man
Version: 1.5.5
Release: 1%{?dist}
Summary: Convert flat ASCII text to man page format
Group: Applications/Text
License: GPLv2+
URL: http://mvertes.free.fr/txt2man/
Source0: http://mvertes.free.fr/download/%{name}-%{version}.tar.gz
#Fixes bug with bashisms in /bin/sh script, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473696
Patch0: txt2man-1.5.5-fixbashisms.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: gawk
%description
tx2man is a shell script using gnu awk, that should run on any
Unix-like system. The syntax of the ASCII text is very straightforward
and looks very much like the output of the man(1) program.
%prep
%setup -q
%patch0 -p1
%build
#no build needed
%install
rm -rf $RPM_BUILD_ROOT
#manual install
install -p -m 0755 -D bookman $RPM_BUILD_ROOT%{_bindir}/bookman
install -p -m 0755 -D src2man $RPM_BUILD_ROOT%{_bindir}/src2man
install -p -m 0755 -D txt2man $RPM_BUILD_ROOT%{_bindir}/txt2man
install -p -m 0644 -D bookman.1 $RPM_BUILD_ROOT%{_mandir}/man1/bookman.1
install -p -m 0644 -D src2man.1 $RPM_BUILD_ROOT%{_mandir}/man1/src2man.1
install -p -m 0644 -D txt2man.1 $RPM_BUILD_ROOT%{_mandir}/man1/txt2man.1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING Changelog README
%{_bindir}/*
%{_mandir}/man?/*
%changelog
* Tue Mar 04 2009 Sindre Pedersen Bjordal <sindrepb at fedoraproject.org> - 1.5.5-1
- Initial build
- Include debian patch to fix bashisms
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/txt2man/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 5 Mar 2009 20:53:20 -0000 1.1
+++ sources 6 Mar 2009 10:36:42 -0000 1.2
@@ -0,0 +1 @@
+d10fe6e9876a2969201ea4d75ac9ea48 txt2man-1.5.5.tar.gz
- Previous message (by thread): rpms/iok/devel iok-enable-combo-en-locale.patch, NONE, 1.1 iok.spec, 1.9, 1.10
- Next message (by thread): rpms/txt2man/F-9 txt2man-1.5.5-fixbashisms.patch, NONE, 1.1 txt2man.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list