1 | Summary: A highly customizable texinfo to HTML and other formats translator |
---|
2 | Summary(ja): 高度にカスタマイズ可能な、texinfoからHTMLや他の形式への変換器 |
---|
3 | Name: texi2html |
---|
4 | Version: 1.82 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | # GPLv2+ is for the code |
---|
8 | # OFSFDL (Old FSF Documentation License) for the documentation |
---|
9 | # CC-BY-SA or GPLv2 for the images |
---|
10 | License: GPLv2+ and OFSFDL and (CC-BY-SA or GPLv2) |
---|
11 | Group: Applications/Text |
---|
12 | URL: http://www.nongnu.org/texi2html/ |
---|
13 | |
---|
14 | Source0: http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.bz2 |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
17 | BuildArch: noarch |
---|
18 | Requires(post): /sbin/install-info |
---|
19 | Requires(preun): /sbin/install-info |
---|
20 | Requires: perl >= 5.004 |
---|
21 | Requires: latex2html |
---|
22 | BuildRequires: perl(Text::Unidecode) |
---|
23 | # not detected automatically because it is required at runtime based on |
---|
24 | # user configuration |
---|
25 | Requires: perl(Text::Unidecode) |
---|
26 | |
---|
27 | %description |
---|
28 | The basic purpose of texi2html is to convert Texinfo documents into HTML, |
---|
29 | and other formats. Configuration files written in perl provide fine degree |
---|
30 | of control over the final output, allowing most every aspect of the final |
---|
31 | output not specified in the Texinfo input file to be specified. |
---|
32 | |
---|
33 | %prep |
---|
34 | %setup -q |
---|
35 | |
---|
36 | %build |
---|
37 | %configure |
---|
38 | make %{?_smp_mflags} |
---|
39 | |
---|
40 | %install |
---|
41 | rm -rf $RPM_BUILD_ROOT |
---|
42 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
43 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
---|
44 | |
---|
45 | # directories shared by all the texinfo implementations for common |
---|
46 | # config files, like htmlxref.cnf |
---|
47 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/texinfo $RPM_BUILD_ROOT%{_sysconfdir}/texinfo |
---|
48 | |
---|
49 | |
---|
50 | %clean |
---|
51 | rm -rf $RPM_BUILD_ROOT |
---|
52 | |
---|
53 | %post |
---|
54 | /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : |
---|
55 | |
---|
56 | %preun |
---|
57 | if [ $1 = 0 ]; then |
---|
58 | /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : |
---|
59 | fi |
---|
60 | |
---|
61 | %files |
---|
62 | %defattr(-,root,root,-) |
---|
63 | %doc AUTHORS COPYING ChangeLog NEWS README TODO %{name}.init |
---|
64 | %{_bindir}/%{name} |
---|
65 | %{_datadir}/texinfo/html/%{name}.html |
---|
66 | %{_mandir}/man*/%{name}* |
---|
67 | %{_infodir}/%{name}.info* |
---|
68 | %dir %{_datadir}/%{name} |
---|
69 | %{_datadir}/%{name}/*.init |
---|
70 | %{_datadir}/%{name}/*.texi |
---|
71 | %dir %{_datadir}/%{name}/i18n/ |
---|
72 | %{_datadir}/%{name}/i18n/* |
---|
73 | %dir %{_datadir}/%{name}/images/ |
---|
74 | %{_datadir}/%{name}/images/* |
---|
75 | %dir %{_datadir}/texinfo |
---|
76 | %dir %{_sysconfdir}/texinfo |
---|
77 | |
---|
78 | %changelog |
---|
79 | * Wed Apr 21 2010 Shu KONNO <owa@bg.wakwak.com> 1.82-1 |
---|
80 | - new upstream release, and rebuilt with new environment |
---|
81 | - added japanese summary |
---|
82 | |
---|
83 | * Sun Oct 12 2008 Shu KONNO <owa@bg.wakwak.com> 1.78-4vl5 |
---|
84 | - applied new versioning policy |
---|
85 | |
---|
86 | * Fri Jan 11 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.78-3vl1 |
---|
87 | - fix Release number. |
---|
88 | |
---|
89 | * Thu Nov 01 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.78-0vl1 |
---|
90 | - initial build for Vine Linux |
---|
91 | |
---|
92 | * Tue Aug 28 2007 Patrice Dumas <pertusus@free.fr> 1.78-3 |
---|
93 | - use the right license tag for the documentation |
---|
94 | |
---|
95 | * Tue Aug 28 2007 Patrice Dumas <pertusus@free.fr> 1.78-2 |
---|
96 | - Requires latex2html and perl(Text::Unidecode) |
---|
97 | - add ownership for directories common for the texinfo implementations |
---|
98 | - correct license |
---|
99 | |
---|
100 | * Wed Jun 6 2007 Jindrich Novy <jnovy@redhat.com> 1.78-1 |
---|
101 | - update to 1.78 |
---|
102 | |
---|
103 | * Wed Feb 14 2007 Jindrich Novy <jnovy@redhat.com> 1.77-0.1.20070214cvs |
---|
104 | - update to 1.77 release candidate (#226487) |
---|
105 | |
---|
106 | * Fri Jan 5 2007 Jindrich Novy <jnovy@redhat.com> 1.76-6 |
---|
107 | - fix post/preun scriptlets so that they won't fail with docs disabled |
---|
108 | (thanks to Ville Skyttä) |
---|
109 | |
---|
110 | * Wed Nov 29 2006 Jindrich Novy <jnovy@redhat.com> 1.76-5 |
---|
111 | - replace PreReq, fix BuildRoot |
---|
112 | |
---|
113 | * Thu Aug 24 2006 Jindrich Novy <jnovy@redhat.com> 1.76-4.fc6 |
---|
114 | - correct URLs, name patch backups correctly |
---|
115 | |
---|
116 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.76-3.1 |
---|
117 | - rebuild |
---|
118 | |
---|
119 | * Sat Feb 25 2006 Jindrich Novy <jnovy@redhat.com> 1.76-3 |
---|
120 | - PreReq info (#182888) |
---|
121 | |
---|
122 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
123 | - rebuilt |
---|
124 | |
---|
125 | * Tue Mar 08 2005 Jindrich Novy <jnovy@redhat.com> 1.76-2 |
---|
126 | - replace %%configure with ./configure to prevent definition of |
---|
127 | target, build and host for noarch package |
---|
128 | |
---|
129 | * Fri Feb 18 2005 Jindrich Novy <jnovy@redhat.com> 1.76-1 |
---|
130 | - we have separate texi2html package now (#121889) |
---|
131 | - fix Source0 |
---|
132 | - BuildArchitectures -> BuildArch |
---|
133 | - create backups for patches |
---|
134 | |
---|
135 | * Thu Feb 10 2005 MATSUURA Takanori <t-matsuu@estyle.ne.jp> - 1.76-0 |
---|
136 | - updated to 1.76 |
---|
137 | |
---|
138 | * Mon Jan 10 2005 MATSUURA Takanori <t-matsuu@estyle.ne.jp> - 1.72-1.fc3 |
---|
139 | - initial build for Fedora Core 3 based on spec file in source tarball |
---|
140 | |
---|
141 | * Mon Mar 23 2004 Patrice Dumas <pertusus@free.fr> 0:1.69-0.fdr.1 |
---|
142 | - Initial build. |
---|