rpm2html-vl.spec 4.0 KB

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