vine-tex-guide-vl.spec 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Name: vine-tex-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: Japanese Tex guide for Vine Linux
  13. Summary(ja): 日本語 Tex 利用ガイド
  14. # Dependency
  15. Requires: vine-manual-base
  16. BuildRequires: vine-manual-base
  17. BuildRequires: vine-manual-build
  18. Obsoletes: Vine-manual
  19. %description
  20. Japanese Tex guide for Vine Linux
  21. %description -l ja
  22. 日本語 Tex 利用ガイド
  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 50 %{_docdir}/Vine/tex-guide/vine-tex-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/tex-guide/vine-tex-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/tex-guide
  54. %{_datadir}/omf/vine-tex-guide
  55. # Change Log
  56. %changelog
  57. * Mon Aug 01 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.1-1
  58. - update for Vine Linux 6.0.
  59. * Tue Mar 08 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.0-1
  60. - written first.