rpm2html-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. Summary: Translates an RPM database and dependency information into HTML.
  2. Summary(ja): RPM パッケージの解説を HTML および RDF 形式にて生成するツール
  3. Name: rpm2html
  4. Version: 1.11.1
  5. Release: 2%{?_dist_release}
  6. Group: Applications/System
  7. License: MIT
  8. URL: http://www.nongnu.org/rpm2html/
  9. Source: http://download.savannah.gnu.org/releases/rpm2html/%{name}/%{name}-%{version}.tar.gz
  10. Patch0: rpm2html-1.11.1-db53.patch
  11. Patch1: rpm-4.9.patch
  12. Patch2: rpm2html-1.9.2-jp.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: bzip2-devel
  15. BuildRequires: libdb-devel
  16. BuildRequires: libxml2-devel
  17. BuildRequires: popt-devel
  18. BuildRequires: rpm-devel
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. %description
  22. The rpm2html utility automatically generates web pages that describe a
  23. set of RPM packages. The goals of rpm2html are to identify the
  24. dependencies between various packages, and to find the package(s) that
  25. will provide the resources needed to install a given package.
  26. Rpm2html analyzes the provides and requires of the given set of RPMs,
  27. and then shows the dependency cross-references using hypertext links.
  28. Rpm2html can now dump the metadata associated with RPM files into
  29. standard RDF files.
  30. Install rpm2html if you want a utility for translating information
  31. from an RPM database into HTML.
  32. %description -l ja
  33. RPM パッケージのファイル郡からパッケージの情報を取り出して、HTML 形式のページと RDF 形式のデータを生成するツールです。グループやパッケージ名などの索引ページも自動的に生成され、依存情報やリソースなども相互にリンクが張られるため、必要なパッケージの検索などが素早く行えます。
  34. %prep
  35. %setup -q
  36. %patch0 -p1 -b .db53
  37. %patch1 -p1 -b .rpm49
  38. ## %patch2 -p1 -b .jp
  39. #libtoolize --force --copy
  40. aclocal -I .
  41. #autoheader-2.13
  42. automake -a -c
  43. autoconf
  44. %build
  45. %configure
  46. make
  47. %install
  48. %{__rm} -rf %{buildroot}
  49. %{__install} -d -m0755 %{buildroot}%{_bindir} \
  50. %{buildroot}%{_sysconfdir} \
  51. %{buildroot}%{_datadir}/rpm2html \
  52. %{buildroot}%{_mandir}/man1
  53. %{__install} -s -m0755 rpm2html %{buildroot}%{_bindir}
  54. %{__install} -m0644 rpm2html.config %{buildroot}%{_sysconfdir}
  55. %{__install} -m0644 rpm2html.1 %{buildroot}%{_mandir}/man1
  56. rm -f msg.ja.jp
  57. for i in msg.*; do
  58. %{__install} -m0644 $i %{buildroot}%{_datadir}/rpm2html/
  59. done
  60. %clean
  61. %{__rm} -rf %{buildroot}
  62. %files
  63. %defattr(-, root, root, 0755)
  64. %doc BUGS CHANGES Copyright PRINCIPLES README TODO
  65. %doc rpm2html-cdrom.config rpm2html-en.config
  66. %doc %{_mandir}/man1/*
  67. %config %{_sysconfdir}/rpm2html.config
  68. %{_bindir}/*
  69. %{_datadir}/rpm2html/
  70. %changelog
  71. * Sat Dec 13 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.11.1-2
  72. - update Patch0 to built with libdb 5.3.28
  73. - added Patch1 to built with current rpm
  74. * Thu Oct 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.11.1-1
  75. - new upstream release
  76. - update Patch0(rpm2html-1.11.1-db48.patch)
  77. - drop Patch2
  78. - add BuildRequires: bzip2-devel, popt-devel, libxml2-devel
  79. * Sat May 2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.9.2-2
  80. - updated Patch0 for building with db-4.6.21
  81. * Fri Oct 10 2008 Shu KONNO <owa@bg.wakwak.com> 1.9.2-1vl5
  82. - applied new versioning policy, spec in utf-8
  83. * Thu Aug 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.9.2-0vl2
  84. - rebuilt with new toolchain
  85. - update Patch0
  86. * Wed Dec 21 2005 KOBAYASHI Taizo <tkoba@vinelinux.org> 1.9.2-0vl1
  87. - source update
  88. * Tue Mar 15 2005 KOBAYASHI Taizo <tkoba@vinelinux.org> 1.7-0vl2
  89. - fix char-code in this spec file to EUC-JP
  90. * Wed Nov 10 2004 KOBAYASHI Taizo <tkoba@vinelinux.org> 1.7-0vl1
  91. - source update
  92. * Thu Mar 23 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  93. - clean up old global namespace patch for libxml (>1.8)
  94. * Thu Mar 23 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  95. - 1.3-1vl1
  96. - version number/release theory changed from 1.3_jp-1 to 1.3-1vl1
  97. - added a patch for a problem with libxml > 1.8
  98. (the patch itself is written by Mr. Yasuyuki Furukawa. Thanks!)
  99. - %prep, %install and %clean section slightly modified
  100. - added Requires: libxml
  101. * Thu Dec 16 1999 Jun Nishii <jun@vinelinux.org>
  102. - typo fixed
  103. - use euc
  104. - build for Vine Linux 2.0
  105. * Thu Aug 4 1999 Yoshi. Kajiki <kajiki@3dpro.tao.go.jp>
  106. - Japanese l10n.
  107. * Fri Apr 2 1999 Jeff Johnson <jbj@redhat.com>
  108. - repackage for Red Hat 6.0.