source: projects/specs/trunk/f/flim/flim-vl.spec @ 3607

Revision 3607, 6.5 KB checked in by iwaim, 13 years ago (diff)

flim-1.14.9-3

Line 
1%define _noVersionedDependencies        1
2%define emacsen_pkgdir /usr/lib/emacsen-common/packages
3
4
5%define       origver       1.14.9
6%define       origname      flim
7
8Summary:      Library to provide basic features about message for Emacsen
9Summary(ja):  Emacsen 用の message に関する表現形式や符号化のためのライブラリです。
10Name:         %{origname}
11Version:      %{origver}
12Release:      3%{?_dist_release}
13
14Source0:      http://www.kanji.zinbun.kyoto-u.ac.jp/~tomo/comp/emacsen/lisp/flim/flim-1.14/flim-%{origver}.tar.gz
15Source1:      %{origname}-install.sh
16Source2:      %{origname}-remove.sh
17Source3:      %{origname}-init.el
18Patch0:       FLIM-CFG.emacs.patch
19
20License:      1993-1999 Free Software Foundation, Inc., Dan Rich, Morioka Tomohiko, Kobayashi Shuhei
21Group:        Applications/Editors/Emacs
22BuildRoot:    %{_tmppath}/%{name}-%{version}-root
23BuildArch:    noarch
24
25Requires(post): emacsen emacsen-common
26Requires(post): apel
27Obsoletes:    flim-el
28Conflicts:    semi <= 1.14.5-0vl2
29
30Vendor:       Project Vine
31Distribution: Vine Linux
32Packager:     shaolin
33
34
35%description
36FLIM is a library to provide basic features about message
37representation or encoding.
38
39Note: in order to rebuild this SRPM package, you need
40emacsen, emacsen-common and apel installed.
41
42
43%description -l ja
44FLIM は Internet message に関する様々な表現形式や符号化に関する
45基礎的な機能を提供するための汎用部品です.
46
47注意:この SRPM パッケージを rebuild するには、emacsen と emacsen-common
48及び apel がインストールされている必要があります.
49
50
51%prep
52
53rm -rf ${RPM_BUILD_DIR}/%{origname}-%{origver}
54
55
56%setup  -n %{origname}-%{origver}
57
58%patch0 -p1
59
60
61%install
62[ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
63[ "${RPM_BUILD_ROOT}" != "/" ] && mkdir -p ${RPM_BUILD_ROOT}
64
65mkdir -p $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp/%{origname}
66mkdir -p $RPM_BUILD_ROOT/%{emacsen_pkgdir}/install
67mkdir -p $RPM_BUILD_ROOT/%{emacsen_pkgdir}/remove
68
69#
70# remove unnecessary file
71#
72## upstream is dropped in FLIM-ELS: see ChangeLog file 2002-11-15
73%{__rm} -f mailcap.el
74
75#
76# install el files
77#
78
79cp Makefile FLIM-* *.el %{SOURCE3} \
80   ${RPM_BUILD_ROOT}/usr/share/emacs/site-lisp/%{origname}
81
82#
83# install  script( bytecompile el and install elc , remove )   
84#
85
86%_installemacsenscript %{origname} %{SOURCE1}
87
88%_removeemacsenscript  %{origname} %{SOURCE2}
89
90#
91# install info file
92#
93
94mkdir -p ${RPM_BUILD_ROOT}/usr/info
95
96
97%post
98#
99# bytecompile and install
100#
101
102if [ "$1" = 2 ]; then
103
104%_emacsenPackageRemove %{origname}
105
106fi
107
108
109
110%_addemacsenlist %{origname}
111
112%_emacsenPackageInstall %{origname}
113
114
115%preun
116
117if [ "$1" = 0 ]; then
118
119%_emacsenPackageRemove %{origname}
120
121%_removeemacsenlist %{origname}
122
123fi
124
125
126%triggerpostun -- flim-el
127
128%_emacsenPackageInstall %{origname}
129
130
131%clean
132[ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
133
134rm -rf ${RPM_BUILD_DIR}/apel-%{apelver}
135
136
137%files
138%defattr(-,root,root)
139%doc ChangeLog NEWS README* VERSION
140/usr/share/emacs/site-lisp/%{origname}/
141%{emacsen_pkgdir}/install/%{origname}
142%{emacsen_pkgdir}/remove/%{origname}
143
144 
145%changelog
146* Thu Apr 21 2011 IWAI, Masaharu <iwai@alib.jp> 1.14.9-3
147- drop defining prereq_ge macro
148 - using Requires(post) tag
149
150* Thu Mar  4 2010 IWAI, Masaharu <iwai@alib.jp> 1.14.9-2
151- remove mailcap.el: <BTS:VineLinux:935>
152- update Packager's syntax
153- update description-{en,ja}
154
155* Tue Sep 09 2008 Shu KONNO <owa@bg.wakwak.com> 1.14.9-1vl5
156- applied new versioning policy, spec in utf-8
157- added %%emacsen_pkgdir macro
158
159* Fri Dec  7 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.14.9-0vl1
160- updated to 1.14.9
161
162* Wed Jan 10 2007 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.14.8-0vl1
163- updated in sync with 1.14.8 release
164
165* Mon Sep 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.14.7-0vl2
166- changed Group to Appliations/Editors/Emacs <BTS:VineLinux:163>
167- s/Copyright/License/
168
169* Mon Dec 13 2004 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.14.7-0vl1
170- updated in sync with 1.14.7 release
171
172* Wed Dec 24 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.14.6-0vl1
173- updated in sync with 1.14.6 release
174
175* Mon Jun 09 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.14.5-0vl2
176- increased release number for the new apel release
177
178* Wed May 21 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.14.5-0vl1
179- updated in sync with 1.14.5 release
180
181* Mon Jun 03 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.14.4-0vl1
182- updated in sync with 1.14.4 release
183
184* Fri Jan 11 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.14.3-0vl9
185- Obsoletes: flim-el now, instead of Conflicts:
186- added %%triggerpostun -- flim-el
187
188* Fri Dec 28 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.14.3-0vl8
189- package name changed flim-el -> flim again
190- added Source3 for forthcoming site-start mechanism
191
192* Sun Dec 23 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.14.3-0vl7
193- modified Source1 to remove mel-b-ccl.el* if the flavor is xemacs-21.1.x
194  (see http://lists.airs.net/wl/archive/200101/msg00077.html)
195
196* Fri Nov  9 2001 Kazuhisa TAKEI <takei@vinelinux.org>
197- change Patch0( fixed load-path)
198
199* Mon Jul 23 2001 Kazuhisa TAKEI <takei@vinelinux.org>
200- requires: emacsen-common -> prereq
201
202* Wed Jul 18 2001 Kazuhisa TAKEI <takei@vinelinux.org>
203- emacsenize
204
205* Wed Jul 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
206- 1.14.3-0vl2
207- back to Requires: emacs = 20.7 -> emacs >= 20.7 (for emacs-beta)
208
209* Wed Jul 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
210- 1.14.3-0vl1
211- updated to apel-10.3, flim-1.14.3, semi-1.14.3, emh-1.14.1
212
213* Fri Aug 25 2000 MATSUBAYASHI 'Shaolin' Kohji
214- 1.13.7-8
215- added %define _noVersionedDependencies 1
216
217* Fri Aug 25 2000 MATSUBAYASHI 'Shaolin' Kohji
218- 1.13.7-7
219- modified %files section to handle compressed man page(s)
220
221* Wed May 10 2000 MATSUBAYASHI 'Shaolin' Kohji
222- 1.13.7-6
223- apel updated to 10.2
224
225* Mon Jan 24 2000 MATSUBAYASHI 'Shaolin' Kohji
226- 1.13.7-5
227- added patch (see emacs-mime-ja: 00303) to format texinfo correctly
228
229* Thu Dec 24 1999 MATSUBAYASHI 'Shaolin' Kohji
230- 1.13.7-4
231- updated in sync with apel-10.0 / clime-1.13.6 release
232
233* Wed Dec  1 1999 MATSUBAYASHI 'Shaolin' Kohji
234- 1.13.7-3
235- change Group to Applications/Editors/EmacsLisp
236
237* Mon Nov 29 1999 MATSUBAYASHI 'Shaolin' Kohji
238- 1.13.7-2
239- added patches (see emacs-mime-ja:00183, emacs-mime-ja:00184)
240- now emh-1.10.1 and rmail-mime-1.13.0 are also included
241- documentation files are properly stored under /usr/doc directory
242
243* Wed Nov  3 1999 MATSUBAYASHI 'Shaolin' Kohji
244- 1.13.7-1
245- updated to apel-9.23 / clime-1.13.5 / semi-1.13.7 release
246- added Japanese / English info files to be installed
Note: See TracBrowser for help on using the repository browser.