vine-rescue-guide-vl.spec 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. Name: vine-rescue-guide
  2. Version: 0.9
  3. Release: 2%{?_dist_release}
  4. License: GFDL
  5. Group: Applications/Documentation
  6. Source0: %{name}-%{version}.tar.bz2
  7. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  8. BuildArch: noarch
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Packager: yasumichi
  12. Summary: User Guide of Vine Linux rescue mode
  13. Summary(ja): Vine Linux レスキューモード利用ガイド
  14. # Dependency
  15. Obsoletes: Vine-manual
  16. Requires: vine-manual-base
  17. BuildRequires: vine-manual-base
  18. BuildRequires: vine-manual-build
  19. %description
  20. This guide description how to use rescue mode of Vine Linux installer.
  21. See %{_docdir}/Vine/rescue-guide/vine-rescue-guide.html after this package
  22. is installed.
  23. %description -l ja
  24. このガイドは、Vine Linux インストーラーのレスキューモードを利用する方法に
  25. ついて説明します。
  26. このパッケージをインストール後、
  27. %{_docdir}/Vine/rescue-guide/vine-rescue-guide.html をご覧ください。
  28. # Prepare
  29. %prep
  30. %setup -q
  31. # Build
  32. %build
  33. %configure
  34. %{__make} html
  35. # Install
  36. %install
  37. %{__rm} -rf ${RPM_BUILD_ROOT}
  38. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  39. %{__make} install-html DESTDIR=${RPM_BUILD_ROOT}
  40. # Clean
  41. %clean
  42. %{__rm} -rf ${RPM_BUILD_ROOT}
  43. # after install
  44. %post
  45. scrollkeeper-update > /dev/null 2>&1 || :
  46. vine-manual-regist -p 20 %{_docdir}/Vine/rescue-guide/vine-rescue-guide.html
  47. vine-manual-index-update
  48. %postun
  49. if [ $1 -eq 0 ]; then
  50. scrollkeeper-update > /dev/null 2>&1 || :
  51. vine-manual-regist -r %{_docdir}/Vine/rescue-guide/vine-rescue-guide.html
  52. vine-manual-index-update
  53. fi
  54. # File list
  55. %files
  56. %defattr(-,root,root)
  57. %doc AUTHORS COPYING ChangeLog NEWS README
  58. %{_docdir}/Vine/rescue-guide
  59. %{_datadir}/omf/vine-rescue-guide
  60. # Change Log
  61. %changelog
  62. * Tue Oct 23 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.9-2
  63. - fixed Summary and description.
  64. * Tue Sep 06 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.9-1
  65. - initial build for Vine Linux.