rpm2html-vl.spec 3.7 KB

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