source: projects/specs/trunk/h/howm/howm-vl.spec @ 7219

Revision 7219, 4.1 KB checked in by munepi, 9 years ago (diff)

added howm-vl.spec

Line 
1#% define rcversion 2
2
3Name:           howm
4Version:        1.4.0
5Release:        2%{?rcversion:.rc%rcversion}%{?_dist_release}
6Summary:        a note-taking tool on Emacs
7Summary(ja):    Emacs で断片的なメモをどんどんとるための環境
8License:        GPL
9Group:          Applications/Editors/Emacs
10URL:            http://howm.sourceforge.jp/
11Source0:        http://howm.sourceforge.jp/a/%{name}-%{version}%{?rcversion:rc%rcversion}.tar.gz
12Source1:        %{name}-install.sh
13Source2:        %{name}-remove.sh
14Source3:        %{name}-init.el
15Source4:        vine-default-%{name}.el
16
17BuildRoot:      %{_tmppath}/%{name}-root
18BuildArch:      noarch
19Requires(post,preun): emacsen
20
21%description
22Howm is a note-taking tool on Emacs. It is similar to emacs-wiki;
23you can enjoy hyperlinks and full-text search easily. It is not
24similar to emacs-wiki; it can be combined with any format.
25
26%description -l ja
27Emacs で断片的なメモをどんどんとるための環境です. 分類機能はあえてつけ
28ません. かわりに, 全文検索とメモ間リンクが手軽にできるようにしました.
29自由書式なので改宗も不要 :-)
30
31%prep
32%setup -q %{?rcversion:-n %{name}-%{version}rc%{rcversion}}
33
34%build
35%__rm -rf */Makefile.am */Makefile.in
36
37%install
38%__rm -rf %{buildroot}
39%__mkdir_p %{buildroot}%{_datadir}/emacs/site-lisp/%{name}
40%__mkdir_p %{buildroot}%{emacsen_pkgdir}/install
41%__mkdir_p %{buildroot}%{emacsen_pkgdir}/remove
42
43#
44# install el files
45#
46
47%__install -m 0644 *.el %{buildroot}%{_datadir}/emacs/site-lisp/%{name}
48%__install -m 0644 %{SOURCE3} %{SOURCE4} \
49    ${RPM_BUILD_ROOT}/%{_datadir}/emacs/site-lisp/%{name}/
50
51#
52# install script (bytecompile el and install elc, remove)
53#
54
55%_installemacsenscript %{name} %{SOURCE1}
56
57%_removeemacsenscript  %{name} %{SOURCE2}
58
59%clean
60%__rm -rf %{buildroot}
61
62%post
63#
64# bytecompile and install
65#
66
67if [ "$1" = 2 ]; then
68%_emacsenPackageRemove %{name}
69
70fi
71%_addemacsenlist %{name}
72
73%_emacsenPackageInstall %{name}
74
75%preun
76if [ "$1" = 0 ]; then
77%_emacsenPackageRemove %{name}
78
79%_removeemacsenlist %{name}
80
81fi
82
83%files
84%defattr(-,root,root)
85%doc COPYING ChangeLog doc en ext ja sample
86%{_datadir}/emacs/site-lisp/%{name}/
87%{emacsen_pkgdir}/install/%{name}
88%{emacsen_pkgdir}/remove/%{name}
89
90%changelog
91* Mon Dec 03 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.4.0-2
92- new upstream release
93
94* Sat May 12 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.4.0-1.rc2
95- updated to 1.4.0rc2
96
97* Sat Mar 31 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.9.2-1
98- new upstream release
99
100* Sat Jan 29 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.9.1-2
101- updated howm-init.el
102  - output "Loading vine-default-howm ..." to the buffer *Messages*
103
104* Sun Jan 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.9.1-1
105- new upstream release
106- dropped howm-1.3.9-check-make-local-hook.patch
107  - this patch merged into upstream
108- changed to Requires(post,preun): emacsen
109  - Prereq tag is already deprecated
110- supported vine-default
111
112* Sun Jan 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.9-1
113- new upstream release
114- supported emacs-24.0.50
115  - applied howm-1.3.9-check-make-local-hook.patch
116
117* Fri Jan 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.8-1
118- new upstream release
119- use %%{emacsen_pkgdir}
120
121* Sat Jan 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.3.7-1
122- new upstream release
123
124* Sat Nov 01 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.3.6-1
125- apply new versioning policy
126- spec in utf-8
127- source update
128
129# * Sat Aug 30 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.3.6-0vl1
130# - new upstream
131
132* Tue Jan 09 2007 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.3.4-0vl1
133- New upstream version.
134- Change Group.
135
136* Sun May 15 2005 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.2.3-0vl1
137- New upstream version.
138
139* Sun Nov 21 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.2-0vl2
140- Fix howm-en-dir and howm-ja-dir.
141
142* Fri Oct 01 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.2-0vl1
143- New upstream version.
144
145* Mon Jun 14 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.1.2.1-0vl1
146- New upstream version.
147
148* Tue Feb 24 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.1.1-0vl1
149- New upstream version.
150
151* Wed Feb 11 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.1.0.4-0vl1
152- Initial build.
153
Note: See TracBrowser for help on using the repository browser.