vine-tex-guide-vl.spec 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. Name: vine-tex-guide
  2. Version: 5.9.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: 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. %description
  19. Japanese Tex guide for Vine Linux
  20. %description -l ja
  21. 日本語 Tex 利用ガイド
  22. # Prepare
  23. %prep
  24. %setup -q
  25. # Build
  26. %build
  27. %configure
  28. %{__make} html
  29. # Install
  30. %install
  31. %{__rm} -rf ${RPM_BUILD_ROOT}
  32. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  33. %{__make} install-html DESTDIR=${RPM_BUILD_ROOT}
  34. # Clean
  35. %clean
  36. %{__rm} -rf ${RPM_BUILD_ROOT}
  37. # after install
  38. %post
  39. scrollkeeper-update > /dev/null 2>&1 || :
  40. vine-manual-regist -p 50 %{_docdir}/Vine/tex-guide/vine-tex-guide.html
  41. vine-manual-index-update
  42. %postun
  43. if [ $1 -eq 0 ]; then
  44. scrollkeeper-update > /dev/null 2>&1 || :
  45. vine-manual-regist -r %{_docdir}/Vine/tex-guide/vine-tex-guide.html
  46. vine-manual-index-update
  47. fi
  48. # File list
  49. %files
  50. %defattr(-,root,root)
  51. %doc AUTHORS COPYING ChangeLog NEWS README
  52. %{_docdir}/Vine/tex-guide
  53. %{_datadir}/omf/vine-tex-guide
  54. # Change Log
  55. %changelog
  56. * Tue Mar 08 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.0-1
  57. - written first.