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