texi2html-vl.spec 4.4 KB

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