highline-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Name: highline
  2. Version: 4.2
  3. Release: 0vl2
  4. Vendor: Project Vine
  5. Distribution: Vine Linux
  6. Packager: USAMI Kosuke <usami-k@yc5.so-net.ne.jp>
  7. License: GPL
  8. Group: Applications/Editors/Emacs
  9. URL: http://www.cpqd.com.br/~vinicius/emacs/
  10. Source0: http://www.cpqd.com.br/~vinicius/emacs/highline.el.gz
  11. Source1: %{name}-install.sh
  12. Source2: %{name}-remove.sh
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildArch: noarch
  15. Prereq: emacsen
  16. Summary: emacs minor mode to highlight current line in buffer
  17. %description
  18. highline is a minor mode to highlight the current line in buffer.
  19. To use highline, insert in your ~/.emacs:
  20. (require 'highline)
  21. %description -l ja
  22. highline は Emacs のマイナーモードで、バッファの現在行をハイライトします。
  23. highline を使うには、次を ~/.emacs に挿入します。
  24. (require 'highline)
  25. %prep
  26. %build
  27. %install
  28. %__rm -rf %{buildroot}
  29. %__mkdir_p %{buildroot}%{_datadir}/emacs/site-lisp/%{name}
  30. %__mkdir_p %{buildroot}%{_libdir}/emacsen-common/packages/install
  31. %__mkdir_p %{buildroot}%{_libdir}/emacsen-common/packages/remove
  32. %__install -m 0644 %{SOURCE0} %{buildroot}%{_datadir}/emacs/site-lisp/%{name}
  33. %__gzip -d %{buildroot}%{_datadir}/emacs/site-lisp/%{name}/*
  34. %_installemacsenscript %{name} %{SOURCE1}
  35. %_removeemacsenscript %{name} %{SOURCE2}
  36. %clean
  37. %__rm -rf %{buildroot}
  38. %post
  39. if [ "$1" = 2 ]; then
  40. %_emacsenPackageRemove %{name}
  41. fi
  42. %_addemacsenlist %{name}
  43. %_emacsenPackageInstall %{name}
  44. %preun
  45. if [ "$1" = 0 ]; then
  46. %_emacsenPackageRemove %{name}
  47. %_removeemacsenlist %{name}
  48. fi
  49. %files
  50. %defattr(-,root,root)
  51. %{_datadir}/emacs/site-lisp/%{name}/
  52. %{_libdir}/emacsen-common/packages/install/%{name}
  53. %{_libdir}/emacsen-common/packages/remove/%{name}
  54. %changelog
  55. * Sat Sep 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.2-0vl2
  56. - Changed Group to Applications/Editors/Emacs
  57. * Wed Sep 3 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 4.2-0vl1
  58. - Initial build.