]> git.pld-linux.org Git - packages/xemacs.git/blob - xemacs.spec
- (blind) ppc fix
[packages/xemacs.git] / xemacs.spec
1 # _with_postgresql      - postgresql support
2 # _with_gtk             - gtk enabled version
3 %define         ver             21.4
4 %define         basepkgver      1.81
5 Summary:        The XEmacs -- Emacs: The Next Generation
6 Summary(es):    El editor XEmacs
7 Summary(ja):    XEmacs ¥¨¥Ç¥£¥¿
8 Summary(pl):    XEmacs -- Emacs nastêpnej generacji
9 Summary(pt_BR): Editor XEmacs
10 Summary(ru):    ÷ÅÒÓÉÑ GNU Emacs ÄÌÑ X Window System
11 Summary(uk):    ÷ÅÒӦѠGNU Emacs ÄÌÑ X Window System
12 Name:           xemacs
13 Version:        %{ver}.14
14 Release:        1
15 License:        GPL
16 Group:          Applications/Editors/Emacs
17 Source0:        ftp://ftp.xemacs.org/xemacs/%{name}-%{ver}/%{name}-%{version}.tar.gz
18 # Source0-md5:  d3f0b4e26810de179e31100a83ee2e1d
19 Source1:        ftp://ftp.xemacs.org/xemacs/%{name}-%{ver}/%{name}-%{version}-elc.tar.gz
20 # Source1-md5:  05408e9bb2c0a199528fa463c766a890
21 Source2:        ftp://ftp.xemacs.org/xemacs/packages/%{name}-base-%{basepkgver}-pkg.tar.gz
22 # Source2-md5:  da5dd98ad1163954f26abb8ce6d3b6fa
23 Source3:        %{name}.desktop
24 Source4:        %{name}.ad-pl
25 Source5:        %{name}-default.el
26 Source6:        %{name}-ogony-mule.el
27 Source7:        %{name}-ogony-nomule.el
28 Source8:        %{name}.png
29 Patch0:         %{name}-info.patch
30 Patch1:         %{name}-fix_ldflafs.patch
31 Patch2:         %{name}-ldscript.patch
32 URL:            http://www.xemacs.org/
33 BuildRequires:  XFree86-devel
34 BuildRequires:  motif-devel
35 BuildRequires:  zlib-devel
36 BuildRequires:  libtiff-devel
37 BuildRequires:  libjpeg-devel
38 BuildRequires:  libpng >= 1.0.8
39 %{?_with_postgresql:BuildRequires:      postgresql-devel >= 7.1}
40 BuildRequires:  gpm-devel
41 BuildRequires:  ncurses-devel >= 5.0
42 BuildRequires:  gpm-devel
43 %if %{?_with_gtk:1}%{!?_with_gtk:0}
44 BuildRequires:  gtk+-devel >= 1.2.10
45 BuildRequires:  glib-devel
46 %endif
47 Requires:       ctags
48 Requires:       %{name}-common = %{version}
49 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
50
51 %description
52 XEmacs is a highly customizable open source text editor and
53 application development system. XEmacs is a version of Emacs,
54 compatible with and containing many improvements over GNU Emacs,
55 written by Richard Stallman of the Free Software Foundation. It was
56 originally based on an early release of GNU Emacs version 19, and has
57 tracked subsequent releases of GNU Emacs as they have become
58 available. This XEmacs distribution has been splitted in some rpm:
59
60 xemacs-common - common files needed by xemacs and xemacs-nox packages
61 xemacs - XEmacs binary with both X11 and TTY support xemacs-nox -
62 XEmacs binary with TTY support only xemacs-extras - files in conflict
63 with emacs
64
65 Install xemacs-extras if you haven't emacs installed.
66
67 %description -l ja
68 XEmacs ¤Ï Free Software Foundation ¤Î Richard Stallman ¤Ë¤è¤Ã¤Æ
69 ½ñ¤«¤ì¤¿ GNU Emacs ¤È¤Î¸ß´¹À­¤ò°Ý»ý¤·¤Ä¤Ä¿ô¿¤¯¤Î²þÎɤ¬»Ü¤µ¤ì¤¿
70 ÇÉÀ¸¥Ð¡¼¥¸¥ç¥ó¤Ç¤¹¡¥ ¸µ¡¹ Emacs 19 ¤ò¸µ¤Ë³«È¯¤µ¤ì¡¤Emacs
71 ¤Î¸å³¥ê¥ê¡¼¥¹¤ËÄɲ䵤줿 µ¡Ç½¤ÈƱ´ü¤¬¼è¤é¤ì¤Æ¤¤¤Þ¤¹¡¥
72
73 %description -l es
74 XEmacs es una versión de Emacs, compatible con GNU Emacs y conteniendo
75 muchas mejoras. Fue basado originalmente en una versión anterior de
76 GNU Emacs, y ha seguido las versiones subsecuentes.
77
78 %description -l pl
79 XEmacs jest odmian± Emacsa, zgodn± (i zawieraj±c± wiele udogodnieñ) z
80 GNU Emacsem tworzonym przez Richarda Stallmana z Free Software
81 Foundation. Wywodzi siê z wczesnych odmian GNU Emacs 19, wprowadza
82 wiele mi³ych ulepszeñ nie trac±c jednak wiêzi z oryginaln± wersj±.
83
84 Ta dystrubucja XEmacsa zosta³a podzielona na wiele pakietów binarnych:
85
86 xemacs-common - pakiet zawieraj±cy pliki wspó³dzielone przez pakiety
87 xemacs i xemacs-nox xemacs - XEmacs skompilowany ze wsparciem dla X11
88 i konsoli xemacs-nox - XEmacs skompilowany bez wsparcia dla X11
89 (pracuje tylko na konsoli tekstowej) xemacs-extras - pliki wchodz±ce w
90 sk³ad dystrybucji GNU Emacs
91
92 Do pracy niezbêdne s± xemacs-common oraz xemacs b±d¼ xemacs-nox.
93 Zainstaluj tak¿e xemacs-extras je¶li nie posiadasz GNU Emacsa.
94
95 %description -l pt_BR
96 XEmacs é uma versão do Emacs, compatível com o GNU Emacs, contendo
97 muitos adicionais. Foi baseado numa versão anterior do GNU Emacs, e
98 seguiu as versões subseqüentes.
99
100 %description -l ru
101 XEmacs (ÒÁ×ÎÏ ËÁË É ÏÒÉÇÉÎÁÌØÎÙÊ GNU Emacs) - ÜÔÏ
102 ÓÁÍÏÄÏËÕÍÅÎÔÉÒÏ×ÁÎÎÙÊ, ÎÁÓÔÒÁÉ×ÁÅÍÙÊ, ÒÁÓÛÉÒÑÅÍÙÊ ÒÅÄÁËÔÏÒ Ó
103 ÏÔÏÂÒÁÖÅÎÉÅÍ × ÒÅÁÌØÎÏÍ ×ÒÅÍÅÎÉ. XEmacs ÓÁÍÏÄÏËÕÍÅÎÔÉÒÏ×ÁΠÐÏÔÏÍÕ ÞÔÏ
104 × ÌÀÂÏÅ ×ÒÅÍÑ ×Ù ÍÏÖÅÔÅ ÎÁÖÁÔØ control-h ÄÌÑ ÐÏÄÓËÁÚËÉ Ï ×ÏÚÍÏÖÎÙÈ
105 ÏÐÃÉÑÈ ÉÌÉ Ï ÔÏÍ, ÞÔÏ ÄÅÌÁÅÔ ËÏÍÁÎÄÁ. XEmacs ÎÁÓÔÒÁÉ×ÁÅÍ ÐÏÔÏÍÕ ÞÔÏ ×Ù
106 ÍÏÖÅÔÅ ÉÚÍÅÎÉÔØ ÏÐÒÅÄÅÌÅÎÉÑ ÅÇÏ ËÏÍÁÎÄ ÎÁ ×ÓÅ, ÞÔÏ ×ÁÍ ÕÇÏÄÎÏ. XEmacs
107 ÒÁÓÛÉÒÑÅÍ ÐÏÔÏÍÕ ÞÔÏ ×Ù ÍÏÖÅÔÅ ÎÁÐÉÓÁÔØ ÓÏ×ÅÒÛÅÎÎÏ ÎÏ×ÙÅ
108 ËÏÍÁÎÄÙ-ÐÒÏÇÒÁÍÍÙ ÎÁ ÑÚÙËÅ Lisp, ËÏÔÏÒÙÅ ÂÕÄÕÔ ÉÓÐÏÌÎÑÔØÓÑ ×ÓÔÒÏÅÎÎÙÍ
109 ÉÎÔÅÒÐÒÅÔÁÔÏÒÏÍ Lisp. XEmacs ×ËÌÀÞÁÅÔ ÏÔÏÂÒÁÖÅÎÉÅ × ÒÅÁÌØÎÏÍ ×ÒÅÍÅÎÉ,
110 ÞÔÏ ÚÎÁÞÉÔ ÞÔÏ ÒÅÄÁËÔÉÒÕÅÍÙÊ ÔÅËÓÔ ×ÉÄÉÍ ÎÁ ÜËÒÁÎÅ É ÏÂÎÏ×ÌÑÅÔÓÑ ÏÞÅÎØ
111 ÞÁÓÔÏ (ÏÂÙÞÎÏ ÐÏÓÌÅ ËÁÖÄÏÇÏ ÓÉÍ×ÏÌÁ ÉÌÉ ÐÁÒÙ ÓÉÍ×ÏÌÏ×) ÐÏ ÍÅÒÅ ÎÁÂÏÒÁ
112 ÔÅËÓÔÁ.
113
114 %description -l uk
115 XEmacs (ÔÁË ÓÁÍÏ ÑË ¦ ÏÒÉǦÎÁÌØÎÉÊ GNU Emacs) - ÃÅ ÓÁÍÏÄÏËÕÍÅÎÔÏ×ÁÎÉÊ,
116 ÎÁÓÔÒÏÀ×ÁÎÉÊ, ÒÏÚÛÉÒÀ×ÁÎÉÊ ÒÅÄÁËÔÏҠڠצÄÏÂÒÁÖÅÎÎÑÍ Õ ÒÅÁÌØÎÏÍÕ ÞÁÓ¦.
117 XEmacs ÓÁÍÏÄÏËÕÍÅÎÔÏ×ÁÎÉÊ ÔÏÍÕ ÝÏ Õ ÌÀÂÉÊ ÞÁÓ ×É ÍÏÖÅÔÅ ÎÁÔÉÓÎÕÔÉ
118 control-h ÄÌѠЦÄËÁÚËÉ ÐÒÏ ÍÏÖÌÉצ ÏÐ槠ÁÂÏ ÐÒÏ ÔÅ, ÝÏ ÒÏÂÉÔØ
119 ËÏÍÁÎÄÁ. XEmacs ÎÁÓÔÒÏÀ×ÁÎÉÊ ÔÏÍÕ ÝÏ ×É ÍÏÖÅÔÅ ÚͦÎÉÔÉ ×ÉÚÎÁÞÅÎÎÑ ÊÏÇÏ
120 ËÏÍÁÎÄ ÎÁ ×ÓÅ, ÝÏ ×ÁÍ ÚÁ×ÇÏÄÎÏ. XEmacs ÒÏÚÛÉÒÀ×ÁÎÉÊ ÔÏÍÕ ÝÏ ×É ÍÏÖÅÔÅ
121 ÎÁÐÉÓÁÔÉ ÁÂÓÏÌÀÔÎÏ ÎÏצ ËÏÍÁÎÄÉ-ÐÒÏÇÒÁÍÉ ÎÁ ÍÏצ Lisp, Ñ˦ ÂÕÄÕÔØ
122 ×ÉËÏÎÕ×ÁÔÉÓÑ ×ÂÕÄÏ×ÁÎÉÍ ¦ÎÔÅÒÐÒÅÔÁÔÏÒÏÍ Lisp. XEmacs ×ËÌÀÞÁ¤
123 צÄÏÂÒÁÖÅÎÎÑ Õ ÒÅÁÌØÎÏÍÕ ÞÁÓ¦, ÝÏ ÏÚÎÁÞÁ¤ ÝÏ ÒÅÄÁÇÏ×ÁÎÉÊ ÔÅËÓÔ ×ÉÄÎÏ
124 ÎÁ ÅËÒÁΦ ¦ ×¦Î ÐÏÎÏ×ÌÀ¤ÔØÓÑ ÄÕÖÅ ÞÁÓÔÏ (ÚÁÚ×ÉÞÁʠЦÓÌÑ ËÏÖÎÏÇÏ
125 ÓÉÍ×ÏÌÕ ÁÂÏ ÐÁÒÉ ÓÉÍ×Ï̦×) ÐϠͦҦ ÎÁÂÏÒÕ ÔÅËÓÔÕ.
126
127 %package common
128 Summary:        Common part of XEmacs distribution
129 Summary(pl):    Wspólne czê¶ci XEmacsa
130 Group:          Applications/Editors/Emacs
131 Provides:       xemacs-base-pkg
132 Requires:       emacscommon
133
134 %description common
135 Common files of XEmacs distribution. This package does not contain
136 XEmacs editor binary, you must install xemacs or xemacs-nox package to
137 use XEmacs -- Emacs: The Next Generation editor.
138
139 %description common -l pl
140 Wspólne pliki XEmacsa. Ten pakiet nie zawiera pliku wykonywalnego
141 edytora, musisz zainstalowaæ xemacs lub xemacs-nox, aby u¿ywaæ XEmacsa
142 b±d¼ Emacsa: edytor Nastêpnej Generacji.
143
144 %package nox
145 Summary:        XEmacs binary compiled without X11 support
146 Summary(pl):    XEmacs skompilowany bez wsparcia dla X11
147 Group:          Applications/Editors/Emacs
148 Requires:       %{name}-common = %{version}
149 Provides:       %{name} = %{version}
150
151 %description nox
152 XEmacs binary compiled with TTY support only, without X11 support.
153
154 %description nox -l pl
155 XEmacs skompilowany bez wsparcia dla X11 (pracuje tylko na konsoli lub
156 w okienku xterma).
157
158 %package extras
159 Summary:        Files which conflict with GNU Emacs
160 Summary(pl):    Wspólne pliki XEmacsa i GNU Emacsa
161 Group:          Applications/Editors/Emacs
162 Provides:       emacscommon
163 Obsoletes:      emacscommon
164
165 %description extras
166 These files are common between GNU Emacs and XEmacs. If you do not
167 have GNU Emacs installed, be sure to install this package as well when
168 you install XEmacs.
169
170 %description extras -l pl
171 S± to wpólne pliki GNU Emacs i XEmacs. Je¶li nie zainstalowa³e¶ GNU
172 Emacsa, to koniecznie zainstaluj ten pakiet.
173
174 %prep
175 %setup0 -q -b1 -a2
176 %patch0 -p1
177 %patch1 -p1
178 %patch2 -p1
179
180 %build
181 CFLAGS=" %{rpmcflags}"
182 CPPFLAGS=" %{rpmcflags}"
183 LDFLAGS=" %{rpmldflags} -lc"
184 sitelispdir=%{_libdir}/%{name}/site-lisp
185 export CFLAGS CPPFLAGS LDFLAGS sitelispdir
186
187 # no X
188 ./configure %{_target_platform} \
189         --prefix=%{_prefix} \
190         --infodir=%{_infodir} \
191         --mandir=%{_mandir}/man1 \
192         --datadir=%{_datadir} \
193         --package_path="~/.xemacs::%{_datadir}/%{name}-packages" \
194         --with-mule \
195         --with-site-lisp \
196         --without-postgresql \
197         --without-sound \
198         --without-x11 \
199         --without-jpeg \
200         --without-png \
201         --without-xpm \
202         --with-gpm \
203         --with-ncurses \
204         --with-database=no \
205         --without-tiff \
206         --without-dnet \
207         --without-ldap \
208         --without-dragndrop \
209         --without-msw
210
211 sitelispdir=%{_libdir}/%{name}/site-lisp \
212 %{__make} \
213         CC="%{__cc}"
214 cp src/xemacs src/xemacs-nox
215 cp lib-src/gnuserv lib-src/gnuserv-nox
216 %{__make} distclean
217
218 # X
219 ./configure %{_target_platform} \
220         --prefix=%{_prefix} \
221         --infodir=%{_infodir} \
222         --mandir=%{_mandir}/man1 \
223         --datadir=%{_datadir} \
224         --package_path="~/.xemacs::%{_datadir}/%{name}-packages" \
225         --with-mule \
226         --with-site-lisp \
227         --with%{?!_with_postgresql:out}-postgresql \
228         --without-sound \
229         --with-jpeg \
230         --with-png \
231         --with-xpm \
232         --with-gpm \
233         --with-ncurses \
234         --with%{?!_with_gtk:out}-gtk \
235         %{?!_with_gtk:--with-x11 --with-menubars=lucid --with-scrollbars=motif} \
236         %{?!_with_gtk:--with-dialogs=motif --with-widgets=motif} \
237         --with-database=no \
238         --with-gnome=no \
239         --without-tiff \
240         --without-dnet \
241         --without-ldap \
242         --without-dragndrop \
243         --without-msw
244
245 # if you want to xemacs sings and plays sounds add option
246 #       --with-sound=native
247
248 #       --lispdir=%{_datadir}/%{name}/lisp \
249 #       --pkgdir=%{_datadir}/%{name}/lisp \
250 #       --etcdir=%{_datadir}/%{name}/etc \
251 #       --cflags="$RPM_OPT_FLAGS" \
252 #       --error-checking=none \
253 #       --debug=no \
254 #       --with-session=yes \
255
256 sitelispdir=%{_libdir}/%{name}/site-lisp \
257 %{__make} \
258         CC="%{__cc}"
259
260 %install
261 rm -rf $RPM_BUILD_ROOT
262 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Editors,%{_pixmapsdir},/var/lock/xemacs} \
263         $RPM_BUILD_ROOT{%{_mandir}/{ja/man1,man1},%{_prefix}/X11R6/lib/X11/app-defaults/pl} \
264         $RPM_BUILD_ROOT%{_datadir}/%{name}/lisp \
265         $RPM_BUILD_ROOT%{_libdir}/%{name} \
266         $RPM_BUILD_ROOT%{_datadir}/%{name}-packages/{etc,lib-src}
267
268 %{__make} install-arch-dep install-arch-indep \
269         prefix=$RPM_BUILD_ROOT%{_prefix} \
270         infodir=$RPM_BUILD_ROOT%{_infodir} \
271         mandir=$RPM_BUILD_ROOT%{_mandir}/man1 \
272         datadir=$RPM_BUILD_ROOT%{_datadir} \
273
274 install %{SOURCE3} $RPM_BUILD_ROOT%{_applnkdir}/Editors/xemacs.desktop
275
276 ( cd $RPM_BUILD_ROOT%{_datadir}/%{name}-packages; gzip -dc %{SOURCE2} | tar xf - )
277
278 install %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/%{name}-packages/lisp/default.el
279 install %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/%{name}-packages/lisp/ogony-mule.el
280 install %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/%{name}-packages/lisp/ogony-nomule.el
281 install %{SOURCE8} $RPM_BUILD_ROOT%{_pixmapsdir}
282
283 #mv $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}/%{_target_platform}/config.values $RPM_BUILD_ROOT%{_libdir}/%{name}
284
285 [ -d $RPM_BUILD_ROOT%{_datadir}/%{name}/site-lisp ] || \
286 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/site-lisp
287 ln -s %{_datadir}/%{name}/site-lisp $RPM_BUILD_ROOT%{_libdir}/%{name}/site-lisp
288
289 install $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}%{_sysconfdir}/Emacs.ad \
290         $RPM_BUILD_ROOT%{_prefix}/X11R6/lib/X11/app-defaults/Emacs
291 install $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}%{_sysconfdir}/Emacs.ad \
292         $RPM_BUILD_ROOT%{_prefix}/X11R6/lib/X11/app-defaults/pl/Emacs
293 cat %{SOURCE4} >>$RPM_BUILD_ROOT%{_prefix}/X11R6/lib/X11/app-defaults/pl/Emacs
294
295 mv $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}%{_sysconfdir}/xemacs-ja.1 \
296         $RPM_BUILD_ROOT%{_mandir}/ja/man1/xemacs.1
297
298 mv -f $RPM_BUILD_ROOT%{_bindir}/xemacs-%{version} \
299         $RPM_BUILD_ROOT%{_bindir}/xemacs
300
301 find $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/* -type f -name "ChangeLog*" | xargs gzip -9nf
302
303 install src/xemacs-nox $RPM_BUILD_ROOT%{_bindir}
304
305 # hack...
306 install lib-src/gnuserv-nox $RPM_BUILD_ROOT%{_bindir}
307 mv -f $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}/%{_target_platform}/gnuserv $RPM_BUILD_ROOT%{_bindir}
308
309 # remove .el file if corresponding .elc file exists
310 find $RPM_BUILD_ROOT -type f -name "*.el" | while read i; do test ! -f ${i}c || rm -f $i; done
311 rm -f $RPM_BUILD_ROOT%{_bindir}/{c,e}tags
312 # hmm, maybe xemacs-devel is necessary?
313 rm -rf  $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}/%{_target_platform}/include \
314         $RPM_BUILD_ROOT%{_infodir}/dir* \
315         $RPM_BUILD_ROOT%{_infodir}/{info,standards,texinfo}.info*
316
317 find $RPM_BUILD_ROOT -regex '.*~$' -exec rm -f {} \;
318
319 %clean
320 rm -rf $RPM_BUILD_ROOT
321
322 %post
323 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
324
325 %postun
326 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
327
328 %files
329 %defattr(644,root,root,755)
330 %{_prefix}/X11R6/lib/X11/app-defaults/Emacs
331 %lang(pl) %{_prefix}/X11R6/lib/X11/app-defaults/pl/Emacs
332 %attr(755,root,root) %{_bindir}/gnuattach
333 %attr(755,root,root) %{_bindir}/gnuclient
334 %attr(755,root,root) %{_bindir}/gnudoit
335 %attr(755,root,root) %{_bindir}/gnuserv
336 %attr(755,root,root) %{_bindir}/xemacs
337 %attr(755,root,root) %{_bindir}/ootags
338 %attr(755,root,root) %{_bindir}/ellcc
339 %{_applnkdir}/Editors/xemacs.desktop
340 %{_pixmapsdir}/*
341 %{_mandir}/man1/gnuattach.1*
342 %{_mandir}/man1/gnuclient.1*
343 %{_mandir}/man1/gnudoit.1*
344 %{_datadir}/%{name}-%{version}%{_sysconfdir}/custom
345 %{_datadir}/%{name}-%{version}%{_sysconfdir}/eos
346 %{_datadir}/%{name}-%{version}%{_sysconfdir}/toolbar
347 %{_datadir}/%{name}-%{version}%{_sysconfdir}/*.png
348 %{_datadir}/%{name}-%{version}%{_sysconfdir}/*.xbm
349 %{_datadir}/%{name}-%{version}%{_sysconfdir}/*.xpm
350
351 %files common
352 %defattr(644,root,root,755)
353 %doc README GETTING.GNU.SOFTWARE PROBLEMS BUGS etc/{NEWS,MAILINGLISTS,TERMS,SERVICE}
354 %dir %{_datadir}/%{name}-%{version}%{_sysconfdir}
355 %{_datadir}/%{name}-%{version}%{_sysconfdir}/package-index.LATEST.pgp
356 %doc %{_datadir}/%{name}-%{version}%{_sysconfdir}/TUTORIAL
357 %doc %lang(de) %{_datadir}/%{name}-%{version}%{_sysconfdir}/TUTORIAL.de
358 %doc %lang(fr) %{_datadir}/%{name}-%{version}%{_sysconfdir}/TUTORIAL.fr
359 %doc %lang(hr) %{_datadir}/%{name}-%{version}%{_sysconfdir}/TUTORIAL.hr
360 %doc %lang(ja) %{_datadir}/%{name}-%{version}%{_sysconfdir}/TUTORIAL.ja
361 %doc %lang(ko) %{_datadir}/%{name}-%{version}%{_sysconfdir}/TUTORIAL.ko
362 %doc %lang(no) %{_datadir}/%{name}-%{version}%{_sysconfdir}/TUTORIAL.no
363 %doc %lang(pl) %{_datadir}/%{name}-%{version}%{_sysconfdir}/TUTORIAL.pl
364 %doc %lang(ro) %{_datadir}/%{name}-%{version}%{_sysconfdir}/TUTORIAL.ro
365 %doc %lang(ru) %{_datadir}/%{name}-%{version}%{_sysconfdir}/TUTORIAL.ru
366 %doc %lang(th) %{_datadir}/%{name}-%{version}%{_sysconfdir}/TUTORIAL.th
367 %doc %{_datadir}/%{name}-%{version}%{_sysconfdir}/[A-SU-Z]*
368 %doc %{_datadir}/%{name}-%{version}%{_sysconfdir}/refcard.ps.gz
369 %doc %{_datadir}/%{name}-%{version}%{_sysconfdir}/refcard.tex
370 %doc %{_datadir}/%{name}-%{version}%{_sysconfdir}/sample.*
371
372 %{_libdir}/%{name}
373
374 %{_datadir}/%{name}
375
376 %dir %{_datadir}/%{name}-%{version}
377 # do not know it is necessary
378 %{_libdir}/%{name}-%{version}/%{_target_platform}/modules
379 %attr(755,root,root) %{_libdir}/%{name}-%{version}/%{_target_platform}/[Dacdfghprsvwy]*
380 %attr(755,root,root) %{_libdir}/%{name}-%{version}/%{_target_platform}/m[am]*
381 %attr(755,root,root) %{_libdir}/%{name}-%{version}/%{_target_platform}/mov*
382
383 %{_datadir}/%{name}-%{version}/lisp/
384
385 %dir %{_datadir}/%{name}-packages
386 %{_datadir}/%{name}-packages%{_sysconfdir}
387 %{_datadir}/%{name}-packages/lisp
388 %{_datadir}/%{name}-packages/lib-src
389
390 %{_mandir}/man1/xemacs.1*
391 %lang(ja) %{_mandir}/ja/man1/*
392
393 %{_infodir}/*
394
395 /var/lock/xemacs
396
397 %files nox
398 %defattr(644,root,root,755)
399 %attr(755,root,root) %{_bindir}/xemacs-nox
400 %attr(755,root,root) %{_bindir}/gnuserv-nox
401
402 %files extras
403 %defattr(644,root,root,755)
404 %attr(755,root,root) %{_bindir}/b2m
405 %attr(755,root,root) %{_bindir}/rcs-checkin
This page took 0.053779 seconds and 4 git commands to generate.