rpms/txt2man/devel import.log, NONE, 1.1 txt2man-1.5.5-fixbashisms.patch, NONE, 1.1 txt2man.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Sindre Pedersen Bjørdal sindrepb at fedoraproject.org
Thu Mar 5 21:09:52 UTC 2009


Author: sindrepb

Update of /cvs/pkgs/rpms/txt2man/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21815/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log txt2man-1.5.5-fixbashisms.patch txt2man.spec 
Log Message:
adding txt2man, maintained by me



--- NEW FILE import.log ---
txt2man-1_5_5-1_fc10:HEAD:txt2man-1.5.5-1.fc10.src.rpm:1236287080

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: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/txt2man/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Mar 2009 20:53:20 -0000	1.1
+++ .cvsignore	5 Mar 2009 21:09:21 -0000	1.2
@@ -0,0 +1 @@
+txt2man-1.5.5.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/txt2man/devel/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	5 Mar 2009 21:09:21 -0000	1.2
@@ -0,0 +1 @@
+d10fe6e9876a2969201ea4d75ac9ea48  txt2man-1.5.5.tar.gz




More information about the fedora-extras-commits mailing list