source: projects/specs/trunk/t/txt2man/txt2man-vl.spec @ 9277

Revision 9277, 2.8 KB checked in by Takemikaduchi, 9 years ago (diff)

blender: new upstream release
others: new package

Line 
1Name:           txt2man
2Version:        1.5.6
3Release:        1%{?_dist_release}
4Summary:        Convert flat ASCII text to man page format
5
6Group:          Applications/Text
7License:        GPLv2+
8URL:            http://mvertes.free.fr/txt2man/
9Source0:        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.
15Patch1:         txt2man-1.5.6-fixbashisms.patch
16
17BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18BuildArch:      noarch
19
20Requires:       gawk
21
22%description
23tx2man is a shell script using gnu awk, that should run on any
24Unix-like system. The syntax of the ASCII text is very straightforward
25and 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
36rm -rf $RPM_BUILD_ROOT
37#manual install
38install -p -m 0755 -D bookman $RPM_BUILD_ROOT%{_bindir}/bookman
39install -p -m 0755 -D src2man $RPM_BUILD_ROOT%{_bindir}/src2man
40install -p -m 0755 -D txt2man $RPM_BUILD_ROOT%{_bindir}/txt2man
41
42install -p -m 0644 -D bookman.1 $RPM_BUILD_ROOT%{_mandir}/man1/bookman.1
43install -p -m 0644 -D src2man.1 $RPM_BUILD_ROOT%{_mandir}/man1/src2man.1
44install -p -m 0644 -D txt2man.1 $RPM_BUILD_ROOT%{_mandir}/man1/txt2man.1
45
46
47%clean
48rm -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
Note: See TracBrowser for help on using the repository browser.