vine-vlgpl-vl.spec 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. Name: vine-vlgpl
  2. Version: 4.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: Vine Linux General Public License
  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. Vine Linux General Public License
  20. %description -l ja
  21. Vine Linuxの利用および再配布について
  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 890 %{_docdir}/Vine/VLGPL/vine-vlgpl.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/VLGPL/vine-vlgpl.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/VLGPL
  53. %{_datadir}/omf/vine-vlgpl
  54. # Change Log
  55. %changelog
  56. * Sun Mar 20 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 4.0-1
  57. - written first.