]> git.pld-linux.org Git - packages/xemacs.git/blob - xemacs.spec
- "GTK+" unification (hope thats all)
[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.86
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}.15
18 Release:        5
19 License:        GPL
20 Group:          Applications/Editors/Emacs
21 Source0:        ftp://ftp.xemacs.org/xemacs/%{name}-%{ver}/%{name}-%{version}.tar.gz
22 # Source0-md5:  b80e040d9cb85c9210999554dc210fa6
23 Source1:        ftp://ftp.xemacs.org/xemacs/%{name}-%{ver}/%{name}-%{version}-elc.tar.gz
24 # Source1-md5:  0fcacb62b115dd34d2d59fbe8be36166
25 Source2:        ftp://ftp.xemacs.org/xemacs/packages/%{name}-base-%{basepkgver}-pkg.tar.gz
26 # Source2-md5:  ab5151789560a085f901dea51f22fbfd
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 Patch2:         %{name}-ldscript.patch
36 Patch3:         %{name}-no-memory-warnings.patch
37 Patch4:         %{name}-dump-paths-lispdir.patch
38 URL:            http://www.xemacs.org/
39 BuildRequires:  XFree86-devel
40 BuildRequires:  automake
41 BuildRequires:  libjpeg-devel
42 BuildRequires:  libpng >= 1.0.8
43 BuildRequires:  libtiff-devel
44 BuildRequires:  gpm-devel
45 %{?with_gtk:BuildRequires:      gtk+-devel >= 1.2.10}
46 BuildRequires:  motif-devel
47 BuildRequires:  ncurses-devel >= 5.0
48 %{?with_postgresql:BuildRequires:       postgresql-devel >= 7.1}
49 BuildRequires:  sed >= 4.0
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 dystrubucja 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 %patch2 -p1
186 %ifarch alpha ia64
187 # disable memory_warnings() - it doesn't support memory model used on alpha
188 %patch3 -p1
189 %endif
190 %patch4 -p1
191 rm lisp/dump-paths.elc
192 sed -i -e "s#@srcdir@#$PWD#" lisp/dump-paths.el
193
194 %build
195 cp /usr/share/automake/config.sub .
196 CFLAGS=" %{rpmcflags}"
197 CPPFLAGS=" %{rpmcflags}"
198 LDFLAGS=" %{rpmldflags} -lc"
199 sitelispdir=%{_ulibdir}/%{name}/site-lisp
200 export CFLAGS CPPFLAGS LDFLAGS sitelispdir
201
202 # no X
203 ./configure %{_target_platform} \
204         --prefix=%{_prefix} \
205         --infodir=%{_infodir} \
206         --mandir=%{_mandir}/man1 \
207         --datadir=%{_datadir} \
208         --package_path="~/.xemacs::%{_datadir}/%{name}-packages" \
209         --with-mule \
210         --with-site-lisp \
211 %if %{with postgreql}
212         --with-postgresql \
213 %else
214         --without-postgresql \
215 %endif
216         --without-sound \
217         --without-x11 \
218         --without-jpeg \
219         --without-png \
220         --without-xpm \
221         --with-gpm \
222         --with-ncurses \
223         --with-database=no \
224 %if %{with pdump}
225         --pdump=yes \
226 %else
227         --pdump=no \
228 %endif
229         --without-tiff \
230         --without-dnet \
231         --without-ldap \
232         --without-dragndrop \
233         --without-msw
234
235 sitelispdir=%{_ulibdir}/%{name}/site-lisp \
236 %{__make} -j1 \
237         CC="%{__cc}"
238 cp src/xemacs src/xemacs-nox
239 %if %{with pdump}
240 cp src/xemacs.dmp src/xemacs-nox.dmp
241 %endif
242 cp lib-src/gnuserv lib-src/gnuserv-nox
243 %{__make} -j1 distclean
244
245 # X
246 ./configure %{_target_platform} \
247         --prefix=%{_prefix} \
248         --infodir=%{_infodir} \
249         --mandir=%{_mandir}/man1 \
250         --datadir=%{_datadir} \
251         --package_path="~/.xemacs::%{_datadir}/%{name}-packages" \
252         --with-mule \
253         --with-site-lisp \
254 %if %{with postgresql}
255         --with-postgresql \
256 %else
257         --without-postgresql \
258 %endif
259         --without-sound \
260         --with-jpeg \
261         --with-png \
262         --with-xpm \
263         --with-gpm \
264         --with-ncurses \
265 %if %{with gtk}
266         --with-gtk \
267 %else
268         --without-gtk \
269 %endif
270 %if %{undefined gtk}
271         --with-x11 --with-menubars=lucid --with-scrollbars=motif \
272         --with-dialogs=motif --with-widgets=motif \
273 %endif
274         --with-database=no \
275         --with-gnome=no \
276         --without-tiff \
277         --without-dnet \
278         --without-ldap \
279         --without-dragndrop \
280         --without-msw \
281 %if %{without pdump}
282         --pdump=no
283 %endif
284
285
286 # if you want to xemacs sings and plays sounds add option
287 #       --with-sound=native
288
289 #       --lispdir=%{_datadir}/%{name}/lisp \
290 #       --pkgdir=%{_datadir}/%{name}/lisp \
291 #       --etcdir=%{_datadir}/%{name}/etc \
292 #       --cflags="$RPM_OPT_FLAGS" \
293 #       --error-checking=none \
294 #       --debug=no \
295 #       --with-session=yes \
296
297 sitelispdir=%{_ulibdir}/%{name}/site-lisp \
298 %{__make} -j1 \
299         CC="%{__cc}"
300
301 %install
302 rm -rf $RPM_BUILD_ROOT
303 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/var/lock/xemacs} \
304         $RPM_BUILD_ROOT{%{_mandir}/{ja/man1,man1},%{_appdefsdir}/pl} \
305         $RPM_BUILD_ROOT%{_datadir}/%{name}/lisp \
306         $RPM_BUILD_ROOT%{_ulibdir}/%{name} \
307         $RPM_BUILD_ROOT%{_datadir}/%{name}-packages/{etc,lib-src}
308
309 %{__make} install-arch-dep install-arch-indep \
310         prefix=$RPM_BUILD_ROOT%{_prefix} \
311         infodir=$RPM_BUILD_ROOT%{_infodir} \
312         mandir=$RPM_BUILD_ROOT%{_mandir}/man1 \
313         datadir=$RPM_BUILD_ROOT%{_datadir} \
314
315 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
316
317 ( cd $RPM_BUILD_ROOT%{_datadir}/%{name}-packages; gzip -dc %{SOURCE2} | tar xf - )
318
319 install %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/%{name}-packages/lisp/default.el
320 install %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/%{name}-packages/lisp/ogony-mule.el
321 install %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/%{name}-packages/lisp/ogony-nomule.el
322 install %{SOURCE8} $RPM_BUILD_ROOT%{_pixmapsdir}
323
324 #mv $RPM_BUILD_ROOT%{_ulibdir}/%{name}-%{version}/%{_target_platform}/config.values $RPM_BUILD_ROOT%{_ulibdir}/%{name}
325
326 [ -d $RPM_BUILD_ROOT%{_datadir}/%{name}/site-lisp ] || \
327 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/site-lisp
328 ln -s %{_datadir}/%{name}/site-lisp $RPM_BUILD_ROOT%{_ulibdir}/%{name}/site-lisp
329
330 install $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}%{_sysconfdir}/Emacs.ad \
331         $RPM_BUILD_ROOT%{_appdefsdir}/Emacs
332 install $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}%{_sysconfdir}/Emacs.ad \
333         $RPM_BUILD_ROOT%{_appdefsdir}/pl/Emacs
334 cat %{SOURCE4} >>$RPM_BUILD_ROOT%{_appdefsdir}/pl/Emacs
335
336 mv $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}%{_sysconfdir}/xemacs-ja.1 \
337         $RPM_BUILD_ROOT%{_mandir}/ja/man1/xemacs.1
338
339 mv -f $RPM_BUILD_ROOT%{_bindir}/xemacs-%{version} \
340         $RPM_BUILD_ROOT%{_bindir}/xemacs
341
342 %if %{with pdump}
343 install src/xemacs.dmp $RPM_BUILD_ROOT/%{_bindir}
344 %endif
345
346 find $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/* -type f -name "ChangeLog*" | xargs gzip -9nf
347
348 install src/xemacs-nox $RPM_BUILD_ROOT%{_bindir}
349 %if %{with pdump}
350 install src/xemacs-nox.dmp $RPM_BUILD_ROOT%{_bindir}
351 %endif
352
353 # hack...
354 install lib-src/gnuserv-nox $RPM_BUILD_ROOT%{_bindir}
355 mv -f $RPM_BUILD_ROOT%{_ulibdir}/%{name}-%{version}/%{_target_platform}/gnuserv $RPM_BUILD_ROOT%{_bindir}
356
357 # remove .el file if corresponding .elc file exists
358 find $RPM_BUILD_ROOT -type f -name "*.el" | while read i; do test ! -f ${i}c || rm -f $i; done
359 rm -f $RPM_BUILD_ROOT%{_bindir}/{c,e}tags
360 # hmm, maybe xemacs-devel is necessary?
361 rm -rf  $RPM_BUILD_ROOT%{_ulibdir}/%{name}-%{version}/%{_target_platform}/include \
362         $RPM_BUILD_ROOT%{_infodir}/dir* \
363         $RPM_BUILD_ROOT%{_infodir}/{info,standards,texinfo}.info*
364
365 find $RPM_BUILD_ROOT -regex '.*~$' -exec rm -f {} \;
366
367 %clean
368 rm -rf $RPM_BUILD_ROOT
369
370 %post
371 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
372
373 %postun
374 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
375
376 %files
377 %defattr(644,root,root,755)
378 %attr(755,root,root) %{_bindir}/gnuattach
379 %attr(755,root,root) %{_bindir}/gnuclient
380 %attr(755,root,root) %{_bindir}/gnudoit
381 %attr(755,root,root) %{_bindir}/gnuserv
382 %attr(755,root,root) %{_bindir}/xemacs
383 %if %{with pdump}
384 %attr(644,root,root) %{_bindir}/xemacs.dmp
385 %endif
386 %attr(755,root,root) %{_bindir}/ootags
387 %attr(755,root,root) %{_bindir}/ellcc
388 %{_datadir}/%{name}-%{version}/etc/custom
389 %{_datadir}/%{name}-%{version}/etc/eos
390 %{_datadir}/%{name}-%{version}/etc/toolbar
391 %{_datadir}/%{name}-%{version}/etc/*.png
392 %{_datadir}/%{name}-%{version}/etc/*.xbm
393 %{_datadir}/%{name}-%{version}/etc/*.xpm
394 %{_appdefsdir}/Emacs
395 %lang(pl) %{_appdefsdir}/pl/Emacs
396 %{_desktopdir}/*
397 %{_pixmapsdir}/*
398 %{_mandir}/man1/gnuattach.1*
399 %{_mandir}/man1/gnuclient.1*
400 %{_mandir}/man1/gnudoit.1*
401
402 %files common
403 %defattr(644,root,root,755)
404 %doc README GETTING.GNU.SOFTWARE PROBLEMS BUGS etc/{NEWS,MAILINGLISTS,TERMS,SERVICE}
405 %dir %{_datadir}/%{name}-%{version}
406 %dir %{_datadir}/%{name}-%{version}/etc
407 %{_datadir}/%{name}-%{version}/etc/package-index.LATEST.gpg
408 %doc %{_datadir}/%{name}-%{version}/etc/TUTORIAL
409 %doc %lang(de) %{_datadir}/%{name}-%{version}/etc/TUTORIAL.de
410 %doc %lang(fr) %{_datadir}/%{name}-%{version}/etc/TUTORIAL.fr
411 %doc %lang(hr) %{_datadir}/%{name}-%{version}/etc/TUTORIAL.hr
412 %doc %lang(ja) %{_datadir}/%{name}-%{version}/etc/TUTORIAL.ja
413 %doc %lang(ko) %{_datadir}/%{name}-%{version}/etc/TUTORIAL.ko
414 %doc %lang(nb) %{_datadir}/%{name}-%{version}/etc/TUTORIAL.no
415 %doc %lang(pl) %{_datadir}/%{name}-%{version}/etc/TUTORIAL.pl
416 %doc %lang(ro) %{_datadir}/%{name}-%{version}/etc/TUTORIAL.ro
417 %doc %lang(ru) %{_datadir}/%{name}-%{version}/etc/TUTORIAL.ru
418 %doc %lang(th) %{_datadir}/%{name}-%{version}/etc/TUTORIAL.th
419 %doc %{_datadir}/%{name}-%{version}/etc/[A-SU-Z]*
420 %doc %{_datadir}/%{name}-%{version}/etc/refcard.ps.gz
421 %doc %{_datadir}/%{name}-%{version}/etc/refcard.tex
422 %doc %{_datadir}/%{name}-%{version}/etc/sample.*
423
424 %{_ulibdir}/%{name}
425
426 %{_datadir}/%{name}
427
428 # do not know it is necessary
429 %dir %{_ulibdir}/%{name}-%{version}
430 %dir %{_ulibdir}/%{name}-%{version}/%{_target_platform}
431 %{_ulibdir}/%{name}-%{version}/%{_target_platform}/modules
432 %attr(755,root,root) %{_ulibdir}/%{name}-%{version}/%{_target_platform}/[Dacdfghprsvwy]*
433 %attr(755,root,root) %{_ulibdir}/%{name}-%{version}/%{_target_platform}/m[am]*
434 %attr(755,root,root) %{_ulibdir}/%{name}-%{version}/%{_target_platform}/mov*
435
436 %{_datadir}/%{name}-%{version}/lisp
437
438 %dir %{_datadir}/%{name}-packages
439 %{_datadir}/%{name}-packages/etc
440 %{_datadir}/%{name}-packages/lisp
441 %{_datadir}/%{name}-packages/lib-src
442
443 %{_mandir}/man1/xemacs.1*
444 %lang(ja) %{_mandir}/ja/man1/*
445
446 %{_infodir}/*.info*
447
448 /var/lock/xemacs
449
450 %files nox
451 %defattr(644,root,root,755)
452 %attr(755,root,root) %{_bindir}/xemacs-nox
453 %if %{with pdump}
454 %attr(644,root,root) %{_bindir}/xemacs-nox.dmp
455 %endif
456 %attr(755,root,root) %{_bindir}/gnuserv-nox
457
458 %files extras
459 %defattr(644,root,root,755)
460 %attr(755,root,root) %{_bindir}/b2m
461 %attr(755,root,root) %{_bindir}/rcs-checkin
This page took 0.061194 seconds and 4 git commands to generate.