vine-install-guide-vl.spec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. Name: vine-install-guide
  2. Version: 5.9.3
  3. Release: 1%{?_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: Install guide for Vine Linux
  13. Summary(ja): Vine Linux インストールガイド
  14. # Dependency
  15. Requires: vine-manual-base
  16. BuildRequires: vine-manual-base
  17. BuildRequires: vine-manual-build
  18. Obsoletes: Vine-manual
  19. %description
  20. Install guide for Vine Linux
  21. %description -l ja
  22. Vine Linux インストールガイド
  23. %package html
  24. Summary: Install guide for Vine Linux (html)
  25. Summary(ja): Vine Linux インストールガイド(HTML形式)
  26. Requires: %{name} = %{version}
  27. %description html
  28. Install guide for Vine Linux (html)
  29. %description -l ja html
  30. Vine Linux インストールガイド(HTML形式)
  31. # Prepare
  32. %prep
  33. %setup -q
  34. # Build
  35. %build
  36. %configure
  37. #%%{__make} %{?_smp_mflags}
  38. %{__make} html
  39. # Install
  40. %install
  41. %{__rm} -rf ${RPM_BUILD_ROOT}
  42. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  43. %{__make} install-html DESTDIR=${RPM_BUILD_ROOT}
  44. # Clean
  45. %clean
  46. %{__rm} -rf ${RPM_BUILD_ROOT}
  47. # after install
  48. %post
  49. scrollkeeper-update > /dev/null 2>&1 || :
  50. vine-manual-regist -p 10 %{_docdir}/Vine/install-guide/vine-install-guide.html
  51. vine-manual-index-update
  52. %postun
  53. if [ $1 -eq 0 ]; then
  54. scrollkeeper-update > /dev/null 2>&1 || :
  55. vine-manual-regist -r %{_docdir}/Vine/install-guide/vine-install-guide.html
  56. vine-manual-index-update
  57. fi
  58. # File list
  59. %files
  60. %defattr(-,root,root)
  61. %doc AUTHORS COPYING ChangeLog NEWS README
  62. %{_docdir}/Vine/install-guide
  63. %{_datadir}/omf/vine-install-guide
  64. #%%files html
  65. #%%{_docdir}/Vine/install-guide/*.html
  66. # Change Log
  67. %changelog
  68. * Sat Jul 30 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.3-1
  69. - update version.
  70. * Mon Mar 07 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.2-1
  71. - Don't run postun when package upgrade.
  72. * Sat Mar 05 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.1-1
  73. - update manual directory.
  74. - use rpm macro for Source0.
  75. * Thu Feb 24 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9-1
  76. - written first.