vine-install-guide-vl.spec 1.9 KB

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