source: projects/specs/trunk/h/highline/highline-vl.spec @ 521

Revision 521, 1.9 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

RevLine 
[521]1Name: highline
2Version: 4.2
3Release: 0vl2
4Vendor: Project Vine
5Distribution: Vine Linux
6Packager: USAMI Kosuke <usami-k@yc5.so-net.ne.jp>
7License: GPL
8Group: Applications/Editors/Emacs
9URL: http://www.cpqd.com.br/~vinicius/emacs/
10Source0: http://www.cpqd.com.br/~vinicius/emacs/highline.el.gz
11Source1: %{name}-install.sh
12Source2: %{name}-remove.sh
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildArch: noarch
15Prereq: emacsen
16Summary: emacs minor mode to highlight current line in buffer
17
18%description
19highline is a minor mode to highlight the current line in buffer.
20To use highline, insert in your ~/.emacs:
21    (require 'highline)
22
23%description -l ja
24highline ¤Ï Emacs ¤Î¥Þ¥¤¥Ê¡¼¥â¡¼¥É¤Ç¡¢¥Ð¥Ã¥Õ¥¡¤Î¸½ºß¹Ô¤ò¥Ï¥¤¥é¥¤¥È¤·¤Þ¤¹¡£
25highline ¤ò»È¤¦¤Ë¤Ï¡¢¼¡¤ò ~/.emacs ¤ËÁÞÆþ¤·¤Þ¤¹¡£
26    (require 'highline)
27
28%prep
29
30%build
31
32%install
33%__rm -rf %{buildroot}
34%__mkdir_p %{buildroot}%{_datadir}/emacs/site-lisp/%{name}
35%__mkdir_p %{buildroot}%{_libdir}/emacsen-common/packages/install
36%__mkdir_p %{buildroot}%{_libdir}/emacsen-common/packages/remove
37
38%__install -m 0644 %{SOURCE0} %{buildroot}%{_datadir}/emacs/site-lisp/%{name}
39%__gzip -d %{buildroot}%{_datadir}/emacs/site-lisp/%{name}/*
40
41%_installemacsenscript %{name} %{SOURCE1}
42
43%_removeemacsenscript  %{name} %{SOURCE2}
44
45%clean
46%__rm -rf %{buildroot}
47
48%post
49if [ "$1" = 2 ]; then
50%_emacsenPackageRemove %{name}
51
52fi
53%_addemacsenlist %{name}
54
55%_emacsenPackageInstall %{name}
56
57%preun
58if [ "$1" = 0 ]; then
59%_emacsenPackageRemove %{name}
60
61%_removeemacsenlist %{name}
62
63fi
64
65%files
66%defattr(-,root,root)
67%{_datadir}/emacs/site-lisp/%{name}/
68%{_libdir}/emacsen-common/packages/install/%{name}
69%{_libdir}/emacsen-common/packages/remove/%{name}
70
71%changelog
72* Sat Sep 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.2-0vl2
73- Changed Group to Applications/Editors/Emacs
74
75* Wed Sep  3 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 4.2-0vl1
76- Initial build.
Note: See TracBrowser for help on using the repository browser.