source: projects/specs/branches/6/h/howm/howm-vl.spec @ 6171

Revision 6171, 4.0 KB checked in by munepi, 12 years ago (diff)

updated howm-vl.spec

Line 
1%define rcversion 2
2
3Name:           howm
4Version:        1.4.0
5Release:        1%{?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* Sat May 12 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.4.0-1.rc2
92- updated to 1.4.0rc2
93
94* Sat Mar 31 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.9.2-1
95- new upstream release
96
97* Sat Jan 29 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.9.1-2
98- updated howm-init.el
99  - output "Loading vine-default-howm ..." to the buffer *Messages*
100
101* Sun Jan 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.9.1-1
102- new upstream release
103- dropped howm-1.3.9-check-make-local-hook.patch
104  - this patch merged into upstream
105- changed to Requires(post,preun): emacsen
106  - Prereq tag is already deprecated
107- supported vine-default
108
109* Sun Jan 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.9-1
110- new upstream release
111- supported emacs-24.0.50
112  - applied howm-1.3.9-check-make-local-hook.patch
113
114* Fri Jan 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.8-1
115- new upstream release
116- use %%{emacsen_pkgdir}
117
118* Sat Jan 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.3.7-1
119- new upstream release
120
121* Sat Nov 01 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.3.6-1
122- apply new versioning policy
123- spec in utf-8
124- source update
125
126# * Sat Aug 30 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.3.6-0vl1
127# - new upstream
128
129* Tue Jan 09 2007 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.3.4-0vl1
130- New upstream version.
131- Change Group.
132
133* Sun May 15 2005 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.2.3-0vl1
134- New upstream version.
135
136* Sun Nov 21 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.2-0vl2
137- Fix howm-en-dir and howm-ja-dir.
138
139* Fri Oct 01 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.2-0vl1
140- New upstream version.
141
142* Mon Jun 14 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.1.2.1-0vl1
143- New upstream version.
144
145* Tue Feb 24 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.1.1-0vl1
146- New upstream version.
147
148* Wed Feb 11 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.1.0.4-0vl1
149- Initial build.
150
Note: See TracBrowser for help on using the repository browser.