texi2html-vl.spec 4.1 KB

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