package created using the webbuild interface [release 1.5.6-1mamba;Tue Mar 25 2014]
This commit is contained in:
parent
5b7a3d2fdf
commit
19fe6cfba9
@ -1,2 +1,4 @@
|
||||
# txt2man
|
||||
|
||||
Txt2man converts flat ASCII text to man page format. It is a shell script using gnu awk, that should run on any Unix like system.
|
||||
|
||||
|
22
txt2man-1.5.6-mandir.patch
Normal file
22
txt2man-1.5.6-mandir.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff -Nru txt2man-1.5.6.orig/Makefile txt2man-1.5.6/Makefile
|
||||
--- txt2man-1.5.6.orig/Makefile 2011-03-16 22:45:13.000000000 +0100
|
||||
+++ txt2man-1.5.6/Makefile 2014-03-25 16:50:16.379181287 +0100
|
||||
@@ -1,5 +1,6 @@
|
||||
# Makefile
|
||||
prefix ?= /usr/local
|
||||
+datadir ?= $(prefix)/share
|
||||
version = txt2man-1.5.6
|
||||
BIN = src2man bookman txt2man
|
||||
MAN1 = src2man.1 txt2man.1 bookman.1
|
||||
@@ -7,9 +8,9 @@
|
||||
all: $(MAN1)
|
||||
|
||||
install: $(MAN1)
|
||||
- mkdir -p $(prefix)/bin $(prefix)/man/man1
|
||||
+ mkdir -p $(prefix)/bin $(datadir)/man/man1
|
||||
cp $(BIN) $(prefix)/bin/
|
||||
- cp $(MAN1) $(prefix)/man/man1
|
||||
+ cp $(MAN1) $(datadir)/man/man1
|
||||
|
||||
clean:
|
||||
rm -f *.1 *.txt *.ps *.pdf *.html
|
49
txt2man.spec
Normal file
49
txt2man.spec
Normal file
@ -0,0 +1,49 @@
|
||||
Name: txt2man
|
||||
Version: 1.5.6
|
||||
Release: 1mamba
|
||||
Summary: A script which converts flat ASCII text to man page format
|
||||
Group: Applications/Publishing
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://mvertes.free.fr/
|
||||
Source: http://mvertes.free.fr/download/txt2man-%{version}.tar.gz
|
||||
Patch0: txt2man-1.5.6-mandir.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: gawk
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Txt2man converts flat ASCII text to man page format. It is a shell script using gnu awk, that should run on any Unix like system.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeoldinstall
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/bookman
|
||||
%{_bindir}/src2man
|
||||
%{_bindir}/txt2man
|
||||
%{_mandir}/man1/bookman.1*
|
||||
%{_mandir}/man1/src2man.1*
|
||||
%{_mandir}/man1/txt2man.1*
|
||||
%doc COPYING
|
||||
|
||||
%changelog
|
||||
* Tue Mar 25 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.6-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user