source: projects/specs/trunk/a/apel/apel-vl.spec @ 11692

Revision 11692, 6.8 KB checked in by iwaim, 5 years ago (diff)

apel 10.8-4

Line 
1%define _noVersionedDependencies        1
2
3%define       origver       10.8
4%define       origname      apel
5
6Summary:      A Portable Emacs Library
7Summary(ja):  Emacs 用の 基礎的な関数を提供するライブラリ
8Name:         %{origname}
9Version:      %{origver}
10Release:      4%{?_dist_release}
11
12Source0:      http://kanji.zinbun.kyoto-u.ac.jp/~tomo/lemi/dist/apel/apel-%{origver}.tar.gz
13Source1:      apel-install.sh
14Source2:      apel-remove.sh
15Source3:      apel-init.el
16
17Patch0:       apel-10.8-20120427.patch
18Patch1:       apel-10.8-ikazuhiro-branch.patch
19Patch2:       apel-10.8-prevent-fontset-error.patch
20Patch3:       apel-10.8-use-new-style-backquotes.patch
21# https://github.com/wanderlust/apel/commit/74e1e49626a4bc7b1e9b87d844d3852e976d1df2
22Patch4:       apel-10.8-docstring.patch
23
24License:      1993-1999 Free Software Foundation, Inc., Dan Rich, Morioka Tomohiko, Kobayashi Shuhei
25Group:        Applications/Editors/Emacs
26Url:          http://git.chise.org/elisp/apel/
27BuildRoot:    %{_tmppath}/%{name}-%{version}-root
28BuildArch:    noarch
29
30Requires: emacsen
31Requires(post,preun): emacsen emacsen-common
32Obsoletes:    %{origname}-el
33Conflicts:    semi <= 1.14.5-0vl2
34
35Vendor:       Project Vine
36Distribution: Vine Linux
37Packager:     shaolin, daisuke
38
39
40%description
41This package contains following .el files for emacsen:
42
43  APEL       %{origver}
44
45APEL stands for "A Portable Emacs Library".
46It provides basic functions and macros for emacsen.
47
48Note: in order to rebuild this SRPM package, you need emacsen
49and emacsen-common installed.
50
51
52%description -l ja
53このパッケージは GNU Emacs %{emacsver} 上で使用する
54以下の elisp を収めています.
55
56  APEL       %{origver}
57
58APEL は "A Portable Emacs Library" の略です.
59Emacs 環境のための基礎的な関数やマクロを提供します.
60
61注意:この SRPM パッケージを rebuild するには、emacsen と emacsen-common が
62インストールされている必要があります.
63
64
65%prep
66%setup -q -n %{origname}-%{origver}
67
68%patch0 -p1
69%patch1 -p1
70%patch2 -p1
71%patch3 -p1
72%patch4 -p1
73
74
75%install
76
77[ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
78[ "${RPM_BUILD_ROOT}" != "/" ] && mkdir -p ${RPM_BUILD_ROOT}
79
80mkdir -p $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp/%{origname}
81mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib/emacsen-common/packages/install
82mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib/emacsen-common/packages/remove
83
84#
85# install el files
86#
87
88cp Makefile EMU-* APEL-* *.el %{SOURCE3} \
89   ${RPM_BUILD_ROOT}/usr/share/emacs/site-lisp/%{origname}
90
91#
92# install  script( bytecompile el and install elc , remove )   
93#
94
95%_installemacsenscript %{origname} %{SOURCE1}
96
97%_removeemacsenscript  %{origname} %{SOURCE2}
98
99
100%post
101
102#
103# bytecompile and install
104#
105
106if [ "$1" = 2 ]; then
107
108%_emacsenPackageRemove %{origname}
109
110fi
111
112%_addemacsenlist %{origname}
113
114%_emacsenPackageInstall %{origname}
115
116
117%preun
118
119if [ "$1" = 0 ]; then
120
121%_emacsenPackageRemove %{origname}
122
123%_removeemacsenlist %{origname}
124
125fi
126
127
128%triggerpostun -- apel-el
129
130%_emacsenPackageInstall %{origname}
131
132
133%clean
134[ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
135
136
137%files
138%defattr(-,root,root)
139%doc ChangeLog README*
140/usr/share/emacs/site-lisp/%{origname}/
141/usr/lib/emacsen-common/packages/install/%{origname}
142/usr/lib/emacsen-common/packages/remove/%{origname}
143
144 
145%changelog
146* Sat Jun  2 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 10.8-4
147- Fix misusage of "\" in docstring. (Patch4)
148
149* Tue May 06 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 10.8-3
150- add patch0 for (original) git master
151- add patch1 to update to ikazuhiro's branch (2014-03-15)
152  https://github.com/ikazuhiro/apel/commits/master
153- add patch2 from debian package
154  (Prevent an error of fontset-pixel-size for Emacs 23.)
155- add patch3 from debian package
156  (use new style backquotes to use on emacs-24.3.90)
157
158* Fri Apr 22 2011 IWAI, Masaharu <iwai@alib.jp> 10.8-2
159- drop defining prereq_ge macro: using Requires(post,preun) tag
160- add Requires: emacsen
161
162* Tue Jun 15 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 10.8-1
163- new upstream release
164
165* Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 10.7-2
166- spec in utf8
167
168* Fri May  2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 10.7-1
169- applied new versioning policy
170
171* Fri Dec  7 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 10.7-0vl1
172- updated to 10.7
173
174* Mon Sep 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 10.6-0vl3
175- changed Group to Appliations/Editors/Emacs <BTS:VineLinux:163>
176
177* Wed Dec 24 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 10.6-0vl2
178- rebuilt
179
180* Tue Jul  8 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 10.6-0vl1
181- updated to new upstream version 10.6
182
183* Mon Jun 09 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 10.5-0vl1
184- updated to new upstream version 10.5
185
186* Mon May 19 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 10.4-0vl1
187- update.
188- Tag Changed(Copyright -> License)
189
190* Fri Jan 11 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 10.3-0vl9
191- Obsoletes: apel-el now, instead of Conflicts:
192- added %%triggerpostun -- apel-el
193
194* Fri Dec 28 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 10.3-0vl8
195- package name changed apel-el -> apel again
196- added Source3 for forthcoming site-start mechanism
197
198* Thu Dec 06 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 10.3-0vl7
199- activate file-detect and atype (Patch10), especially for xemacs
200
201* Thu Dec 06 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 10.3-0vl6
202- fixed the target directory for emu modules to be installed
203- included missing documents again
204- cleanup the spec file
205
206* Wed Jul 18 2001 Kazuhisa TAKEI <takei@vinelinux.org>
207- emacsenize
208
209* Wed Jul 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
210- 1.14.3-0vl2
211- back to Requires: emacs = 20.7 -> emacs >= 20.7 (for emacs-beta)
212
213* Wed Jul 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
214- 1.14.3-0vl1
215- updated to apel-10.3, flim-1.14.3, semi-1.14.3, emh-1.14.1
216
217* Fri Aug 25 2000 MATSUBAYASHI 'Shaolin' Kohji
218- 1.13.7-8
219- added %define _noVersionedDependencies 1
220
221* Fri Aug 25 2000 MATSUBAYASHI 'Shaolin' Kohji
222- 1.13.7-7
223- modified %files section to handle compressed man page(s)
224
225* Wed May 10 2000 MATSUBAYASHI 'Shaolin' Kohji
226- 1.13.7-6
227- apel updated to 10.2
228
229* Mon Jan 24 2000 MATSUBAYASHI 'Shaolin' Kohji
230- 1.13.7-5
231- added patch (see emacs-mime-ja: 00303) to format texinfo correctly
232
233* Fri Dec 24 1999 MATSUBAYASHI 'Shaolin' Kohji
234- 1.13.7-4
235- updated in sync with apel-10.0 / clime-1.13.6 release
236
237* Wed Dec  1 1999 MATSUBAYASHI 'Shaolin' Kohji
238- 1.13.7-3
239- change Group to Applications/Editors/EmacsLisp
240
241* Mon Nov 29 1999 MATSUBAYASHI 'Shaolin' Kohji
242- 1.13.7-2
243- added patches (see emacs-mime-ja:00183, emacs-mime-ja:00184)
244- now emh-1.10.1 and rmail-mime-1.13.0 are also included
245- documentation files are properly stored under /usr/doc directory
246
247* Wed Nov  3 1999 MATSUBAYASHI 'Shaolin' Kohji
248- 1.13.7-1
249- updated to apel-9.23 / clime-1.13.5 / semi-1.13.7 release
250- added Japanese / English info files to be installed
Note: See TracBrowser for help on using the repository browser.