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