vine-desktop-guide-vl.spec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. Name: vine-desktop-guide
  2. Version: 5.9.4
  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: Desktop user 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. Desktop user guide for Vine Linux
  21. %description -l ja
  22. Vine Linux デスクトップユーザーガイド
  23. # Prepare
  24. %prep
  25. %setup -q
  26. # Build
  27. %build
  28. %configure
  29. %{__make} html
  30. # Install
  31. %install
  32. %{__rm} -rf ${RPM_BUILD_ROOT}
  33. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  34. %{__make} install-html DESTDIR=${RPM_BUILD_ROOT}
  35. # Clean
  36. %clean
  37. %{__rm} -rf ${RPM_BUILD_ROOT}
  38. # after install
  39. %post
  40. scrollkeeper-update > /dev/null 2>&1 || :
  41. vine-manual-regist -p 20 %{_docdir}/Vine/desktop-guide/vine-desktop-guide.html
  42. vine-manual-index-update
  43. %postun
  44. if [ $1 -eq 0 ]; then
  45. scrollkeeper-update > /dev/null 2>&1 || :
  46. vine-manual-regist -r %{_docdir}/Vine/desktop-guide/vine-desktop-guide.html
  47. vine-manual-index-update
  48. fi
  49. # File list
  50. %files
  51. %defattr(-,root,root)
  52. %doc AUTHORS COPYING ChangeLog NEWS README
  53. %{_docdir}/Vine/desktop-guide
  54. %{_datadir}/omf/vine-desktop-guide
  55. # Change Log
  56. %changelog
  57. * Mon Aug 01 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.4-1
  58. - delete unnecessary part.
  59. - Obsoletes Vine-manual.
  60. * Sat Jul 30 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.3-1
  61. - update about ibus etc.
  62. * Mon Mar 07 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.1-1
  63. - Don't run postun when package was upgrade.
  64. * Mon Mar 07 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.0-1
  65. - written first.