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