docbook2X-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. Name: docbook2X
  2. Summary: Convert DocBook documents into man and Texinfo
  3. Summary(ja): DocBook ドキュメントを man と Texinfo へ変換
  4. Version: 0.8.8
  5. Release: 6%{?_dist_release}
  6. Group: publishing
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: BSD
  10. URL: https://docbook2x.sourceforge.net/
  11. Source0: https://downloads.sourceforge.net/docbook2x/docbook2X-%{version}.tar.gz
  12. Patch0: 01_fix_static_datadir_evaluation.patch
  13. Patch1: 02_fix_418703_dont_use_abbreviated_sfnet_address.patch
  14. Patch2: 03_fix_420153_filename_whitespace_handling.patch
  15. Patch3: 04_fix_442782_preprocessor_declaration_syntax.patch
  16. Patch4: 05_fix_439214_error_on_missing_refentry.patch
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. BuildRequires: perl libxslt openjade texinfo opensp
  19. # required by the perl -c calls during build
  20. BuildRequires: perl-XML-SAX
  21. # rpmlint isn't happy with libxslt, but we need xsltproc
  22. Requires: libxslt openjade texinfo %{_bindir}/sgml2xml
  23. %description
  24. docbook2X converts DocBook documents into man pages and Texinfo
  25. documents.
  26. %description -l ja
  27. docbook2X は DocBook ドキュメントを man ページと Texinfo ドキュメントへ
  28. 変換します。
  29. %debug_package
  30. %prep
  31. %setup -q
  32. %patch0 -p1
  33. %patch1 -p1
  34. %patch2 -p1
  35. %patch3 -p1
  36. %patch4 -p1
  37. %build
  38. # to avoid clashing with docbook2* from docbook-utils
  39. %configure --program-transform-name='s/docbook2/db2x_docbook2/'
  40. make %{?_smp_mflags}
  41. rm -rf __dist_html
  42. mkdir -p __dist_html/html
  43. cp -p doc/*.html __dist_html/html
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -c -p'
  47. rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/
  48. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %files
  52. %defattr(-,root,root,-)
  53. %doc COPYING README THANKS AUTHORS __dist_html/html/
  54. %{_bindir}/db2x_manxml
  55. %{_bindir}/db2x_texixml
  56. %{_bindir}/db2x_xsltproc
  57. %{_bindir}/db2x_docbook2man
  58. %{_bindir}/db2x_docbook2texi
  59. %{_bindir}/sgml2xml-isoent
  60. %{_bindir}/utf8trans
  61. %dir %{_datadir}/docbook2X
  62. %{_datadir}/docbook2X/VERSION
  63. %dir %{_datadir}/docbook2X/charmaps
  64. %dir %{_datadir}/docbook2X/dtd
  65. %dir %{_datadir}/docbook2X/xslt
  66. %{_datadir}/docbook2X/charmaps/*
  67. %{_datadir}/docbook2X/dtd/*
  68. %{_datadir}/docbook2X/xslt/*
  69. %{_mandir}/man1/*.1*
  70. %{_infodir}/docbook2*
  71. %changelog
  72. * Thu Oct 06 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.8.8-6
  73. - rebuilt with perl-5.34.
  74. - dropped install-info scriptlets.
  75. * Mon Sep 02 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.8.8-5
  76. - rebuilt with perl-5.26.
  77. * Wed Jul 8 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.8.8-4
  78. - rebuilt to fix dependency.
  79. * Sat Jul 12 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.8-3
  80. - rebuilt with current environment
  81. - fix %%{_bindir}/sgml2xml to opensp in BuildRequires
  82. * Tue Sep 8 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.8-2
  83. - added Patch0,1,2,3,4 from Debian
  84. * Mon Mar 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.8-1vl5
  85. - initial build for VineSeed
  86. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-4
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  88. * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.8.8-3
  89. Rebuild for new perl
  90. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.8.8-2
  91. - Autorebuild for GCC 4.3
  92. * Wed Aug 8 2007 Patrice Dumas <pertusus@free.fr> 0.8.8-1
  93. - update to 0.8.8
  94. * Mon Sep 11 2006 Patrice Dumas <pertusus@free.fr> 0.8.7-2
  95. - correct the perl-XML-SAX to be perl(XML::SAX::ParserFactory)
  96. * Thu May 18 2006 Patrice Dumas <pertusus@free.fr> - 0.8.7-1
  97. - update to 0.8.7
  98. * Fri Feb 17 2006 Patrice Dumas <pertusus@free.fr> - 0.8.6-1
  99. - update to 0.8.6
  100. - drop patch as SGMLSpl.pm is included in the scripts, not distributed
  101. - BR perl-XML-SAX (close 188481)
  102. * Fri Feb 17 2006 Patrice Dumas <pertusus@free.fr> - 0.8.5-2
  103. - rebuild for fc5
  104. * Fri Feb 3 2006 Patrice Dumas <pertusus@free.fr> - 0.8.5-1
  105. - FE submission