1 | Name: txt2man |
---|
2 | Version: 1.5.6 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Convert flat ASCII text to man page format |
---|
5 | |
---|
6 | Group: Applications/Text |
---|
7 | License: GPLv2+ |
---|
8 | URL: http://mvertes.free.fr/txt2man/ |
---|
9 | Source0: http://mvertes.free.fr/download/%{name}-%{version}.tar.gz |
---|
10 | #Fixes bug with bashisms in /bin/sh script, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473696 |
---|
11 | #Patch0: txt2man-1.5.5-fixbashisms.patch |
---|
12 | |
---|
13 | # Fixes same bug as above, but code was changed in new release so old patch |
---|
14 | # no longer worked. |
---|
15 | Patch1: txt2man-1.5.6-fixbashisms.patch |
---|
16 | |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
18 | BuildArch: noarch |
---|
19 | |
---|
20 | Requires: gawk |
---|
21 | |
---|
22 | %description |
---|
23 | tx2man is a shell script using gnu awk, that should run on any |
---|
24 | Unix-like system. The syntax of the ASCII text is very straightforward |
---|
25 | and looks very much like the output of the man(1) program. |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup -q |
---|
29 | #%patch0 -p1 |
---|
30 | %patch1 |
---|
31 | |
---|
32 | %build |
---|
33 | #no build needed |
---|
34 | |
---|
35 | %install |
---|
36 | rm -rf $RPM_BUILD_ROOT |
---|
37 | #manual install |
---|
38 | install -p -m 0755 -D bookman $RPM_BUILD_ROOT%{_bindir}/bookman |
---|
39 | install -p -m 0755 -D src2man $RPM_BUILD_ROOT%{_bindir}/src2man |
---|
40 | install -p -m 0755 -D txt2man $RPM_BUILD_ROOT%{_bindir}/txt2man |
---|
41 | |
---|
42 | install -p -m 0644 -D bookman.1 $RPM_BUILD_ROOT%{_mandir}/man1/bookman.1 |
---|
43 | install -p -m 0644 -D src2man.1 $RPM_BUILD_ROOT%{_mandir}/man1/src2man.1 |
---|
44 | install -p -m 0644 -D txt2man.1 $RPM_BUILD_ROOT%{_mandir}/man1/txt2man.1 |
---|
45 | |
---|
46 | |
---|
47 | %clean |
---|
48 | rm -rf $RPM_BUILD_ROOT |
---|
49 | |
---|
50 | |
---|
51 | %files |
---|
52 | %defattr(-,root,root,-) |
---|
53 | %doc COPYING Changelog README |
---|
54 | %{_bindir}/* |
---|
55 | %{_mandir}/man?/* |
---|
56 | |
---|
57 | |
---|
58 | %changelog |
---|
59 | * Sun Jan 18 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.6-1 |
---|
60 | - initial build for Vine Linux |
---|
61 | |
---|
62 | |
---|
63 | * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-4 |
---|
64 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
65 | |
---|
66 | * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-3 |
---|
67 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
68 | |
---|
69 | * Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-2 |
---|
70 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
71 | |
---|
72 | * Mon May 09 2011 Adam Miller <maxamillion@fedoraproject.org> - 1.5.6-1 |
---|
73 | - New upstream release, fixes old bugs. |
---|
74 | - Upstream release notes claim POSIX shell code, but bookman still relies on |
---|
75 | bash styled syntax so we continue to patch it out. |
---|
76 | |
---|
77 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.5-3 |
---|
78 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
79 | |
---|
80 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.5-2 |
---|
81 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
82 | |
---|
83 | * Wed Mar 04 2009 Sindre Pedersen Bjordal <sindrepb@fedoraproject.org> - 1.5.5-1 |
---|
84 | - Initial build |
---|
85 | - Include debian patch to fix bashisms |
---|