vine-desktop-guide-vl.spec 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Name: vine-desktop-guide
  2. Version: 6.0.0
  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. * Sat Nov 10 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 6.0.0-1
  58. - new upstream release
  59. * Mon Aug 01 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.4-1
  60. - delete unnecessary part.
  61. - Obsoletes Vine-manual.
  62. * Sat Jul 30 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.3-1
  63. - update about ibus etc.
  64. * Mon Mar 07 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.1-1
  65. - Don't run postun when package was upgrade.
  66. * Mon Mar 07 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.0-1
  67. - written first.