]> git.pld-linux.org Git - packages/emacs.git/blob - emacs.spec
dd3f8311febd54934051eff4a4a9a46c40a65d93
[packages/emacs.git] / emacs.spec
1 # TODO:
2 # - package cedit lisp files files
3 # - package new (non gtk) desktop file?
4 # - package ctags/etags in subpackage?
5 #
6 # Conditional build:
7 %bcond_without  athena  # don't build athena version
8 %bcond_without  gtk     # don't build GTK+2 version
9 %bcond_without  motif   # don't build motif version
10 %bcond_without  nox     # don't build nox version
11
12 Summary:        The Emacs text editor for the X Window System
13 Summary(de.UTF-8):      GNU Emacs
14 Summary(es.UTF-8):      GNU Emacs
15 Summary(fr.UTF-8):      GNU Emacs
16 Summary(pl.UTF-8):      GNU Emacs - edytor tekstu dla systemu X Window
17 Summary(pt_BR.UTF-8):   GNU Emacs
18 Summary(tr.UTF-8):      GNU Emacs
19 Name:           emacs
20 %define ver     23.3
21 Version:        %{ver}a
22 Release:        0.1
23 License:        GPL v3+
24 Group:          Applications/Editors/Emacs
25 Source0:        ftp://ftp.gnu.org/pub/gnu/emacs/%{name}-%{version}.tar.gz
26 # Source0-md5:  20aef9ea5b5bf8050d39f8b1e96a1c04
27 Source1:        %{name}-dot%{name}
28 Source2:        %{name}-site-start.el
29 Source3:        %{name}.png
30 Source4:        %{name}-tuareg.el
31 Source5:        %{name}-nemerle.el
32 Source6:        %{name}-athena.desktop
33 Source7:        %{name}-gtk.desktop
34 Source8:        %{name}-motif.desktop
35 Source9:        %{name}-nox.desktop
36 Patch0:         %{name}-tinfo.patch
37 Patch1:         %{name}-lib64.patch
38 Patch2:         %{name}-fontconfig.patch
39 URL:            http://www.gnu.org/software/emacs/
40 BuildRequires:  autoconf
41 BuildRequires:  automake
42 BuildRequires:  ncurses-devel
43 BuildRequires:  freetype-devel
44 %{?with_gtk:BuildRequires:      gtk+2-devel}
45 BuildRequires:  libdnet-devel
46 BuildRequires:  libjpeg-devel
47 BuildRequires:  libpng-devel
48 BuildRequires:  libtiff-devel
49 BuildRequires:  libtool
50 BuildRequires:  giflib-devel
51 BuildRequires:  ncurses-devel
52 %{?with_motif:BuildRequires:    openmotif-devel}
53 BuildRequires:  pkgconfig
54 BuildRequires:  rpm-pythonprov
55 BuildRequires:  sed >= 4.0
56 BuildRequires:  texinfo
57 BuildRequires:  xorg-lib-libX11-devel
58 %{?with_athena:BuildRequires:   xorg-lib-libXaw-devel}
59 BuildRequires:  xorg-lib-libXext-devel
60 BuildRequires:  xorg-lib-libXft-devel
61 BuildRequires:  xorg-lib-libXmu-devel
62 BuildRequires:  xorg-lib-libXpm-devel
63 Requires:       %{name}-common = %{version}-%{release}
64 Requires:       ctags
65 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
66
67 %description
68 Emacs-X11 includes the Emacs text editor program for use with the X
69 Window System (it provides support for the mouse and other GUI
70 elements). Emacs-X11 will also run Emacs outside of X, but it has a
71 larger memory footprint than the 'non-X' Emacs package (emacs-nox).
72
73 Install emacs-X11 if you're going to use Emacs with the X Window
74 System. You should also install emacs-X11 if you're going to run Emacs
75 both with and without X (it will work fine both ways). You'll also
76 need to install the emacs-common package in order to run Emacs.
77
78 %description -l de.UTF-8
79 Emacs ist der erweiterbare, veränderbare, selbst-dokumentierende
80 Echtzeit-Editor. Emacs enthält spezielle Modi zum Bearbeiten von Code,
81 eine Script-Sprache (elisp) und Pakete für Mail, News und vieles mehr,
82 alles im Editor.
83
84 Dieses Paket enthält die zum Ausführen des emacs-Editors notwendig
85 sind. Das eigentliche Programm ist im Paket 'emacs-nox' bzw.
86 'emacs-X11' enthalten, je nachdem, ob Sie X-Window verwenden oder
87 nicht.
88
89 %description -l es.UTF-8
90 Emacs es un editor común, que se puede personalizar, y muestra los
91 propios documentos en tiempo real. Emacs posee un modo de código
92 especial para edición, un lenguaje script (elisp), y viene con varios
93 paquetes para mail, news, y más cosas, todo en tu editor. Este paquete
94 incluye las bibliotecas necesarias para ejecutar el editor emacs - el
95 programa actual puede ser encontrado en los paquetes emacs-nox o
96 emacs-X11, dependiendo de que uses o no el X Window.
97
98 %description -l pl.UTF-8
99 Emacs-X11 zawiera edytor tekstu Emacs do użytku z X Window System (ma
100 wsparcie dla myszy i innych elementów interfejsu graficznego).
101 Emacs-X11 może działać także bez X, ale wymaga więcej pamięci niż
102 wersja nie-X Emacsa (emacs-nox).
103
104 %description -l pt_BR.UTF-8
105 Emacs é um editor comum, personalizável, e mostra os próprios
106 documentos em tempo real. Emacs possui um modo de código especial para
107 edição, uma linguagem script (elisp), e vem com vários pacotes para
108 mail, news, e mais, tudo no seu editor. Este pacote inclui as
109 bibliotecas necessárias para rodar o editor emacs - o programa atual
110 pode ser achado nos pacotes emacs-nox ou emacs-X11, dependendo se você
111 usa ou não X Window.
112
113 %description -l tr.UTF-8
114 Emacs, son derece gelişmiş bir metin düzenleyicisidir. Bir çok
115 geliştirme ortamında kullanılmak üzere ayarlanabilir (C, Java, VHDL
116 gibi). E-posta okuyabilmek, haber gruplarına erişmek gibi birçok
117 değişik amaç için kullanılabilecek ek yazılımlarla yetenekli bir
118 çalışma ortamı sağlar. Bu paket emacs çalıştırmak için gereken
119 kütüphaneleri içerir. Asıl program kullandığınız ortama göre emacs-nox
120 veya emacs-X11 paketinde yer alır.
121
122 %package el
123 Summary:        The sources for elisp programs included with Emacs
124 Summary(de.UTF-8):      El Quelldateien - zum Betrieb von Emacs nicht erforderlich
125 Summary(es.UTF-8):      Fuentes .el -- no son necesarios para ejecutar Emacs
126 Summary(fr.UTF-8):      Fichiers sources .el - non nécessaires pour exécuter Emacs
127 Summary(pl.UTF-8):      Źródła programów w elispie dołączonych do Emacsa
128 Summary(pt_BR.UTF-8):   Fontes .el -- não são necessários para rodar o Emacs
129 Summary(tr.UTF-8):      Lisp kaynak dosyaları -- Emacs çalıştırmak için gerekmez
130 Group:          Applications/Editors/Emacs
131 Requires:       %{name}-common = %{version}-%{release}
132
133 %description el
134 Emacs-el contains the emacs-elisp sources for many of the elisp
135 programs included with the main Emacs text editor package.
136
137 You need to install emacs-el only if you intend to modify any of the
138 Emacs packages or see some elisp examples.
139
140 %description el -l es.UTF-8
141 Este paquete contiene los fuentes emacs-lisp para muchos de los
142 programas elisp incluido en el programa principal del paquete emacs.
143 Tu no necesitas de este paquete a menos que quieras modificarlos o
144 mirar algunos ejemplos de programas elisp.
145
146 %description el -l fr.UTF-8
147 Ce paquetage contient les sources emacs-lisp de la plupart des
148 programmes elisp inclus avec le paquetage emacs principal. Vous n'avez
149 pas besoin de ce paquetage sauf si vous voulez modifier ces paquetages
150 ou voir quelques exemples elisp.
151
152 %description el -l pl.UTF-8
153 Emacs-el zawiera źródła w emacs-elispie wielu programów dołączonych do
154 głównego pakietu edytora Emacs. Ten pakiet jest potrzebny tylko do
155 modyfikowania elementów Emacsa lub obejrzenia przykładów w elispie.
156
157 %description el -l pt_BR.UTF-8
158 Este pacote contém os fontes emacs-lisp para muitos dos programas
159 elisp incluído com o programa principal do pacote emacs. Você não
160 necessita deste pacote a menos que você queira modificar estes pacotes
161 ou ver alguns exemplos de programas elisp.
162
163 %description el -l tr.UTF-8
164 Bu paket, ana emacs paketinde yer alan çoğu programın lisp kaynak
165 kodlarını içerir. Bu programları değiştirmeyi düşünmüyorsanız gerek
166 duymayacaksınız.
167
168 %package leim
169 Summary:        Emacs Lisp code for input methods for international characters
170 Summary(es.UTF-8):      Código Lisp para internacionalización en Emacs
171 Summary(pl.UTF-8):      Kod w Emacs Lispie do wprowadzania znaków narodowych
172 Summary(pt_BR.UTF-8):   Código Lisp para para internacionalização no Emacs
173 Group:          Applications/Editors/Emacs
174 Requires:       %{name}-common = %{version}-%{release}
175
176 %description leim
177 The emacs-leim package contains Emacs Lisp code for input methods for
178 various international character scripts. Basically, the Lisp code
179 provided by this package describes the consecutive keystrokes that a
180 user must press in order to input a particular character in a
181 non-English character set. Input methods for many different language's
182 character sets are included in this package.
183
184 %description leim -l es.UTF-8
185 Código Lisp para internacionalización en Emacs.
186
187 %description leim -l pl.UTF-8
188 Pakiet emacs-leim zawiera kod w Emacs Lispie do wprowadzania różnych
189 narodowych znaków. Kod zawarty w tym pakiecie opisuje sekwencje
190 klawiszy, które użytkownik musi nacisnąć, by uzyskać dany znak spoza
191 zestawu angielskiego. Pakiet zawiera sposoby wprowadzania znaków w
192 wielu różnych językach.
193
194 %description leim -l pt_BR.UTF-8
195 Código Lisp para para internacionalização no Emacs.
196
197 %package leim-el
198 Summary:        Emacs Lisp source code for input methods for international characters
199 Summary(pl.UTF-8):      Kod źródłowy w Emacs Lispie do wprowadzania znaków narodowych
200 Group:          Applications/Editors/Emacs
201 Requires:       %{name}-leim = %{version}-%{release}
202
203 %description leim-el
204 Emacs Lisp source code for input methods for international characters.
205
206 %description leim-el -l pl.UTF-8
207 Kod źródłowy w Emacs Lispie do wprowadzania znaków narodowych.
208
209 %package nox
210 Summary:        The Emacs text editor without support for the X Window System
211 Summary(de.UTF-8):      emacs-nox - keine X-Libraries erforderlich
212 Summary(es.UTF-8):      emacs-nox - Emacs sin necesidad de bibliotecas X
213 Summary(fr.UTF-8):      emacs-nox - les bibliothèques X ne sont pas nécessaires
214 Summary(pl.UTF-8):      emacs-nox - edytor tekstu Emacs bez wsparcia dla X Window System
215 Summary(pt_BR.UTF-8):   emacs-nox - Emacs sem precisar de bibliotecas X
216 Summary(tr.UTF-8):      X gerektirmeyen emacs paketi
217 Group:          Applications/Editors/Emacs
218 Requires:       %{name}-common = %{version}-%{release}
219
220 %description nox
221 Emacs-nox is the Emacs text editor program without support for the X
222 Window System.
223
224 You need to install this package only if you plan on exclusively using
225 Emacs without the X Window System (emacs-X11 will work both in X and
226 out of X, but emacs-nox will only work outside of X). You'll also need
227 to install the emacs-common package in order to run Emacs.
228
229 %description nox -l de.UTF-8
230 Dieses Paket enthält eine Binärversion von emacs ohne X-Window-
231 Unterstützung. Das emacs-Binärprogramm im emacs-Hauptpaket
232 funktioniert zwar einwandfrei außerhalb von X-Window (z.B. auf der
233 Konsole), die Version in diesem Paket hat jedoch ein kleineres
234 Speicherabbild.
235
236 %description nox -l es.UTF-8
237 Este paquete contiene un binario emacs sin soporte al X Window. Aunque
238 el binario emacs, en el paquete principal, funcione bien fuera del X
239 Window (en la consola, por ejemplo) lo que se encuentra en este
240 paquete utiliza menos memoria.
241
242 %description nox -l fr.UTF-8
243 Ce paquetage contient un binaire emacs construit sans gestion X
244 Window. Bien que le binaire emacs du paquetage emacs principal
245 fonctionne bien sans X Window (sur un terminal, par exemple), celui-ci
246 à une image mémoire plus petite.
247
248 %description nox -l pl.UTF-8
249 Emacs-nox to edytor tekstu Emacs bez wsparcia dla X Window System.
250
251 %description nox -l pt_BR.UTF-8
252 Este pacote contém um binário emacs sem suporte ao X Window. Embora o
253 binário emacs no pacote principal funcione bem fora do X Window (na
254 console por exemplo) o que está neste pacote utiliza menos memória.
255
256 %description nox -l tr.UTF-8
257 Bu paket içinde yer alan emacs programı, X11 desteği içermez ve
258 çalışmak için daha az belleğe gereksinim duyar.
259
260 %package athena
261 Summary:        The Emacs text editor for X Window System (Athena toolkit version)
262 Summary(pl.UTF-8):      Emacs - edytor tekstu Emacs dla X Window System (wersja Athena)
263 Group:          Applications/Editors/Emacs
264 Requires:       %{name}-common = %{version}-%{release}
265
266 %description athena
267 The Emacs text editor for X Window System (Athena toolkit version).
268
269 %description athena -l pl.UTF-8
270 Emacs - edytor tekstu Emacs dla X Window System (wersja Athena).
271
272 %package gtk
273 Summary:        The Emacs text editor for X Window System (GTK+2 toolkit version)
274 Summary(pl.UTF-8):      Emacs - edytor tekstu Emacs dla X Window System (wersja GTK+2)
275 Group:          Applications/Editors/Emacs
276 Requires:       %{name}-common = %{version}-%{release}
277
278 %description gtk
279 The Emacs text editor for X Window System (GTK+2 toolkit version).
280
281 %description gtk -l pl.UTF-8
282 Emacs - edytor tekstu Emacs dla X Window System (wersja GTK+2).
283
284 %package motif
285 Summary:        The Emacs text editor for X Window System (Motif toolkit version)
286 Summary(pl.UTF-8):      Emacs - edytor tekstu Emacs dla X Window System (wersja Motif)
287 Group:          Applications/Editors/Emacs
288 Requires:       %{name}-common = %{version}-%{release}
289
290 %description motif
291 The Emacs text editor for X Window System (Motif toolkit version).
292
293 %description motif -l pl.UTF-8
294 Emacs - edytor tekstu Emacs dla X Window System (wersja Motif).
295
296 %package common
297 Summary:        The libraries needed to run the GNU Emacs text editor
298 Summary(pl.UTF-8):      Biblioteki potrzebne do uruchomienia edytora tekstu GNU Emacs
299 Group:          Applications/Editors/Emacs
300 Requires:       emacscommon
301
302 %description common
303 Emacs is a powerful, customizable, self-documenting, modeless text
304 editor. Emacs contains special code editing features, a scripting
305 language (elisp), and the capability to read mail, news and more
306 without leaving the editor.
307
308 This package includes the libraries you need to run the Emacs editor,
309 so you need to install this package if you intend to use Emacs. You
310 also need to install the actual Emacs program package (emacs-nox or
311 emacs). Install emacs-nox if you are not going to use the X Window
312 System; install emacs if you will be using X.
313
314 %description common -l pl.UTF-8
315 Emacs jest konfigurowalnym, samo-udokumentowanym edytorem tekstu o
316 dużych możliwościach. Zawiera ułatwienia do pisania kodu, język
317 skryptowy (elisp), daje możliwość czytania poczty, newsów i wiele
318 innych rzeczy bez opuszczania edytora.
319
320 Ten pakiet zawiera biblioteki potrzebne do uruchomienia Emacsa. Oprócz
321 tego pakietu potrzebny jest jeszcze właściwy program (emacs-nox lub
322 emacs). Zainstaluj emacs-nox jeżeli nie zamierzasz używasz Emacsa pod
323 X Window System; zainstaluj emacs jeżeli używasz X.
324
325 %package extras
326 Summary:        Files which conflict with XEmacs
327 Summary(pl.UTF-8):      Wspólne pliki XEmacsa i GNU Emacsa
328 Group:          Applications/Editors/Emacs
329 Provides:       emacscommon
330 Obsoletes:      emacscommon
331
332 %description extras
333 These files are common between GNU Emacs and XEmacs.
334
335 %description extras -l pl.UTF-8
336 Są to wspólne pliki GNU Emacs i XEmacs.
337
338 %package gnus
339 Summary:        Gnus is flexible message reader under Emacs
340 Summary(pl.UTF-8):      Gnus jest czytnikiem grup dyskusyjnych pod Emacsa
341 Group:          Applications/Editors/Emacs
342 Requires:       %{name}-common = %{version}-%{release}
343
344 %description gnus
345 Gnus is flexible message reader under Emacs.
346
347 %description gnus -l pl.UTF-8
348 Gnus jest czytnikiem grup dyskusyjnych pod Emacsa.
349
350 %package gnus-el
351 Summary:        Emacs Lisp source code for Gnus
352 Summary(pl.UTF-8):      Kod źródłowy Gnusa w Emacs Lispie
353 Group:          Applications/Editors/Emacs
354 Requires:       %{name}-gnus = %{version}-%{release}
355
356 %description gnus-el
357 Emacs Lisp source code for Gnus.
358
359 %description gnus-el -l pl.UTF-8
360 Kod źródłowy Gnusa w Emacs Lispie.
361
362 %prep
363 #
364 %if %{with gtk}
365 %define default_emacs gtk
366 %else
367 %if %{with motif}
368 %define default_emacs motif
369 %else
370 %if %{with athena}
371 %define default_emacs athena
372 %else
373 %if %{with nox}
374 %define default_emacs nox
375 %else
376 echo "ERROR: building Emacs with passed conditionals is impossible."
377 exit 1
378 %endif
379 %endif
380 %endif
381 %endif
382
383 %setup -q -n %{name}-%{ver}
384 %patch0 -p1
385 %if "%{_lib}" == "lib64"
386 %patch1 -p1
387 %endif
388 %patch2 -p1
389
390 %build
391 cp -f /usr/share/automake/config.* .
392 %{__aclocal} -I m4
393 %{__autoconf}
394 %{__autoheader}
395
396 %define bootstrap 0
397
398 %if %{with athena}
399 echo "Building emacs athena binary ..."
400 rm -rf build-athena
401 mkdir build-athena && cd build-athena
402 ../%configure \
403         --with-pop \
404         --with-xpm \
405         --with-jpeg \
406         --with-tiff \
407         --with-gif \
408         --with-png \
409         --with-x-toolkit=athena
410
411 %{__make} -j1 bootstrap
412 %define bootstrap athena
413 cd ..
414 %endif
415
416 %if %{with gtk}
417 echo "Building emacs GTK+2 binary ..."
418 rm -rf build-gtk
419 mkdir build-gtk && cd build-gtk
420 ../%configure \
421         --with-pop \
422         --with-xpm \
423         --with-jpeg \
424         --with-tiff \
425         --with-gif \
426         --with-png \
427         --with-x-toolkit=gtk
428
429 %if %{?bootstrap}
430 %{__make}
431 %else
432 %{__make} -j1 bootstrap
433 %define bootstrap gtk
434 %endif
435 cd ..
436 %endif
437
438 %if %{with motif}
439 echo "Building emacs motif binary ..."
440 rm -rf build-motif
441 mkdir build-motif && cd build-motif
442 ../%configure \
443         --with-pop \
444         --with-xpm \
445         --with-jpeg \
446         --with-tiff \
447         --with-gif \
448         --with-png \
449         --with-x-toolkit=motif
450
451 %if %{?bootstrap}
452 %{__make}
453 %else
454 %{__make} -j1 bootstrap
455 %define bootstrap motif
456 %endif
457 cd ..
458 %endif
459
460 %if %{with nox}
461 echo "Building emacs binary without X support ..."
462 [ -d build-nox ] && rm -rf build-nox
463 mkdir build-nox && cd build-nox
464 ../%configure \
465         --with-pop \
466         --without-xpm \
467         --without-jpeg \
468         --without-tiff \
469         --without-gif \
470         --without-png \
471         --with-x=no
472
473 %if %{?bootstrap}
474 %{__make}
475 %else
476 %{__make} -j1 bootstrap
477 %define bootstrap nox
478 %endif
479 cd ..
480 %endif
481
482 mv lisp/term/README README.term
483
484 %{__sed} s!@SITE_START_DIR@!%{_datadir}/emacs/site-lisp/site-start.d! \
485         < %{SOURCE2} > site-start.el
486
487 %install
488 rm -rf $RPM_BUILD_ROOT
489
490 install -d $RPM_BUILD_ROOT{%{_infodir},%{_datadir}/emacs/site-lisp/site-start.d} \
491         $RPM_BUILD_ROOT{%{_desktopdir},/etc/skel,%{_pixmapsdir}} \
492
493 %if %{with athena}%{with gtk}%{with motif}%{with nox}
494 %makeinstall -C build-%{bootstrap}
495 %else
496 echo 'ERROR: neither athena nor gtk nor motif nor nox emacs was built.' 1>&2
497 exit 1
498 %endif
499
500 for e in athena gtk motif nox ; do
501         [ -d build-$e ] && install build-${e}/src/emacs $RPM_BUILD_ROOT%{_bindir}/emacs-$e
502 done
503 rm -f $RPM_BUILD_ROOT%{_bindir}/emacs
504 # make "default emacs" from gtk, athena, motif and non-X version
505 for e in gtk athena motif nox ; do
506         if [ -f $RPM_BUILD_ROOT%{_bindir}/emacs-$e ] ; then
507                 (cd $RPM_BUILD_ROOT%{_bindir}
508                  cp -pf emacs-$e emacs
509                  cp -pf emacs-$e emacs-%{ver}
510                 )
511                 break;
512         fi
513 done
514
515 install site-start.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
516 install %{SOURCE1} $RPM_BUILD_ROOT/etc/skel/.emacs
517 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
518 install %{SOURCE4} $RPM_BUILD_ROOT/%{_datadir}/emacs/%{ver}/site-lisp/tuareg.el
519 install %{SOURCE5} $RPM_BUILD_ROOT/%{_datadir}/emacs/%{ver}/site-lisp/nemerle.el
520 install %{SOURCE6} $RPM_BUILD_ROOT%{_desktopdir}
521 install %{SOURCE7} $RPM_BUILD_ROOT%{_desktopdir}
522 install %{SOURCE8} $RPM_BUILD_ROOT%{_desktopdir}
523 install %{SOURCE9} $RPM_BUILD_ROOT%{_desktopdir}
524
525 [ -d build-nox ] && install build-nox/etc/DOC-* $RPM_BUILD_ROOT%{_datadir}/emacs/%{ver}/etc
526
527 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
528 # ERC is in separate spec
529 rm -fr $RPM_BUILD_ROOT%{_datadir}/emacs/%{ver}/lisp/erc
530
531 %clean
532 rm -rf $RPM_BUILD_ROOT
533
534 %post   common -p       /sbin/postshell
535 -/usr/sbin/fix-info-dir -c %{_infodir}
536
537 %postun common -p       /sbin/postshell
538 -/usr/sbin/fix-info-dir -c %{_infodir}
539
540 %triggerin nox -- emacs-X11
541 if [ -L %{_bindir}/emacs ]; then
542         rm -f %{_bindir}/emacs
543 fi
544
545 %triggerpostun nox -- emacs-X11
546 [ $2 = 0 ] || exit 0
547 if [ ! -L %{_bindir}/emacs ]; then
548         ln -sf emacs-nox %{_bindir}/emacs
549 fi
550
551 %post nox
552 if [ ! -x %{_bindir}/emacs -a ! -L %{_bindir}/emacs ]; then
553         ln -sf emacs-nox %{_bindir}/emacs
554 fi
555
556 %postun nox
557 [ $1 = 0 ] || exit 0
558 if [ -L %{_bindir}/emacs ]; then
559         rm -f %{_bindir}/emacs
560 fi
561
562 %files
563 %defattr(644,root,root,755)
564 %attr(755,root,root) %{_bindir}/emacs
565 %attr(755,root,root) %{_bindir}/emacs-%{ver}
566 %{_desktopdir}/emacs-%{default_emacs}.desktop
567 %{_pixmapsdir}/*
568 %{_iconsdir}/hicolor/16x16/apps/emacs*.png
569 %{_iconsdir}/hicolor/24x24/apps/emacs*.png
570 %{_iconsdir}/hicolor/32x32/apps/emacs*.png
571 %{_iconsdir}/hicolor/48x48/apps/emacs*.png
572 %{_iconsdir}/hicolor/128x128/apps/emacs*.png
573 %{_iconsdir}/hicolor/scalable/apps/emacs*.svg
574 %{_iconsdir}/hicolor/scalable/mimetypes/emacs*.svg
575
576 %files common
577 %defattr(644,root,root,755)
578 %config(noreplace) /etc/skel/.emacs
579 %attr(755,root,root) %{_bindir}/emacsclient
580 %attr(755,root,root) %{_bindir}/ebrowse
581 %{_mandir}/man1/ebrowse*
582 %{_mandir}/man1/emacs*
583 %{_infodir}/*
584
585 %dir %{_libdir}/emacs
586 %dir %{_libdir}/emacs/%{ver}
587 %dir %{_libdir}/emacs/%{ver}/*
588
589 %attr(2755,root,mail) %{_libdir}/emacs/%{ver}/*-linux/movemail
590 %attr(755,root,mail) %{_libdir}/emacs/%{ver}/*-linux/digest-doc
591 %attr(755,root,mail) %{_libdir}/emacs/%{ver}/*-linux/fakemail
592 %attr(755,root,mail) %{_libdir}/emacs/%{ver}/*-linux/hexl
593 %attr(755,root,mail) %{_libdir}/emacs/%{ver}/*-linux/profile
594 %attr(755,root,mail) %{_libdir}/emacs/%{ver}/*-linux/rcs2log
595 %attr(755,root,mail) %{_libdir}/emacs/%{ver}/*-linux/sorted-doc
596 %attr(755,root,mail) %{_libdir}/emacs/%{ver}/*-linux/vcdiff
597 %attr(755,root,mail) %{_libdir}/emacs/%{ver}/*-linux/update-game-score
598
599 %dir %{_datadir}/emacs
600 %dir %{_datadir}/emacs/%{ver}
601 %dir %{_datadir}/emacs/%{ver}/site-lisp
602 %dir %{_datadir}/emacs/%{ver}/lisp
603 %dir %{_datadir}/emacs/%{ver}/leim
604 %dir %{_datadir}/emacs/%{ver}/lisp/calc
605 %dir %{_datadir}/emacs/%{ver}/lisp/calendar
606 %dir %{_datadir}/emacs/%{ver}/lisp/emacs-lisp
607 %dir %{_datadir}/emacs/%{ver}/lisp/emulation
608 %dir %{_datadir}/emacs/%{ver}/lisp/eshell
609 %dir %{_datadir}/emacs/%{ver}/lisp/international
610 %dir %{_datadir}/emacs/%{ver}/lisp/language
611 %dir %{_datadir}/emacs/%{ver}/lisp/mail
612 %dir %{_datadir}/emacs/%{ver}/lisp/mh-e
613 %dir %{_datadir}/emacs/%{ver}/lisp/net
614 %dir %{_datadir}/emacs/%{ver}/lisp/nxml
615 %dir %{_datadir}/emacs/%{ver}/lisp/obsolete
616 %dir %{_datadir}/emacs/%{ver}/lisp/org
617 %dir %{_datadir}/emacs/%{ver}/lisp/play
618 %dir %{_datadir}/emacs/%{ver}/lisp/progmodes
619 %dir %{_datadir}/emacs/%{ver}/lisp/term
620 %dir %{_datadir}/emacs/%{ver}/lisp/textmodes
621 %dir %{_datadir}/emacs/%{ver}/lisp/url
622
623 %{_datadir}/emacs/site-lisp
624 %{_datadir}/emacs/%{ver}/etc
625 %{_datadir}/emacs/%{ver}/lisp/*.el
626 %{_datadir}/emacs/%{ver}/lisp/*.elc
627 %{_datadir}/emacs/%{ver}/lisp/README
628 %{_datadir}/emacs/%{ver}/lisp/calc/*.el
629 %{_datadir}/emacs/%{ver}/lisp/calc/*.elc
630 %{_datadir}/emacs/%{ver}/lisp/calc/README*
631 %{_datadir}/emacs/%{ver}/lisp/calendar/*.el
632 %{_datadir}/emacs/%{ver}/lisp/calendar/*.elc
633 %{_datadir}/emacs/%{ver}/lisp/emacs-lisp/*.el
634 %{_datadir}/emacs/%{ver}/lisp/emacs-lisp/*.elc
635 %{_datadir}/emacs/%{ver}/lisp/emulation/*.elc
636 %{_datadir}/emacs/%{ver}/lisp/eshell/*.elc
637 %{_datadir}/emacs/%{ver}/lisp/eshell/esh-groups.el
638 %{_datadir}/emacs/%{ver}/lisp/international/*.el
639 %{_datadir}/emacs/%{ver}/lisp/international/*.elc
640 %{_datadir}/emacs/%{ver}/lisp/international/README
641 %{_datadir}/emacs/%{ver}/lisp/language/*.el
642 %{_datadir}/emacs/%{ver}/lisp/language/*.elc
643 %{_datadir}/emacs/%{ver}/lisp/mail/blessmail.el
644 %{_datadir}/emacs/%{ver}/lisp/mail/*.elc
645 %{_datadir}/emacs/%{ver}/lisp/mh-e/*.el
646 %{_datadir}/emacs/%{ver}/lisp/mh-e/*.elc
647 %{_datadir}/emacs/%{ver}/lisp/net/*.elc
648 %{_datadir}/emacs/%{ver}/lisp/nxml/*.elc
649 %{_datadir}/emacs/%{ver}/lisp/nxml/TODO
650 %{_datadir}/emacs/%{ver}/lisp/obsolete/*.elc
651 %{_datadir}/emacs/%{ver}/lisp/org/*.elc
652 %{_datadir}/emacs/%{ver}/lisp/play/bruce.el
653 %{_datadir}/emacs/%{ver}/lisp/play/*.elc
654 %{_datadir}/emacs/%{ver}/lisp/progmodes/*.elc
655 %{_datadir}/emacs/%{ver}/lisp/term/*.el
656 %{_datadir}/emacs/%{ver}/lisp/term/*.elc
657 %{_datadir}/emacs/%{ver}/lisp/textmodes/*.elc
658 %{_datadir}/emacs/%{ver}/lisp/url/*.elc
659
660 %dir /var/games/emacs
661 /var/games/emacs/tetris-scores
662 /var/games/emacs/snake-scores
663
664 %{_datadir}/emacs/%{ver}/site-lisp/subdirs.el
665 %{_datadir}/emacs/%{ver}/site-lisp/tuareg.el
666 %{_datadir}/emacs/%{ver}/site-lisp/nemerle.el
667
668 %files extras
669 %defattr(644,root,root,755)
670 %attr(755,root,root) %{_bindir}/b2m
671 %attr(755,root,root) %{_bindir}/grep-changelog
672 %attr(755,root,root) %{_bindir}/rcs-checkin
673 %{_mandir}/man1/b2m*
674 %{_mandir}/man1/grep-changelog*
675 %{_mandir}/man1/rcs-checkin*
676
677 %files el
678 %defattr(644,root,root,755)
679 %{_datadir}/emacs/%{ver}/lisp/*.el.gz
680 %{_datadir}/emacs/%{ver}/lisp/calc/*.el.gz
681 %{_datadir}/emacs/%{ver}/lisp/calendar/*.el.gz
682 %{_datadir}/emacs/%{ver}/lisp/emacs-lisp/*.el.gz
683 %{_datadir}/emacs/%{ver}/lisp/emulation/*.el.gz
684 %{_datadir}/emacs/%{ver}/lisp/eshell/*.el.gz
685 %{_datadir}/emacs/%{ver}/lisp/international/*.el.gz
686 %{_datadir}/emacs/%{ver}/lisp/language/*.el.gz
687 %{_datadir}/emacs/%{ver}/lisp/mail/*.el.gz
688 %{_datadir}/emacs/%{ver}/lisp/mh-e/*.el.gz
689 %{_datadir}/emacs/%{ver}/lisp/net/*.el.gz
690 %{_datadir}/emacs/%{ver}/lisp/nxml/*.el.gz
691 %{_datadir}/emacs/%{ver}/lisp/obsolete/*.el
692 %{_datadir}/emacs/%{ver}/lisp/obsolete/*.el.gz
693 %{_datadir}/emacs/%{ver}/lisp/org/*.el.gz
694 %{_datadir}/emacs/%{ver}/lisp/play/*.el.gz
695 %{_datadir}/emacs/%{ver}/lisp/progmodes/*.el.gz
696 %{_datadir}/emacs/%{ver}/lisp/term/*.el.gz
697 %{_datadir}/emacs/%{ver}/lisp/textmodes/*.el.gz
698 %{_datadir}/emacs/%{ver}/lisp/url/*.el.gz
699
700 %files leim
701 %defattr(644,root,root,755)
702 %dir %{_datadir}/emacs/%{ver}/leim/ja-dic
703 %dir %{_datadir}/emacs/%{ver}/leim/quail
704 %{_datadir}/emacs/%{ver}/leim/leim-list.el
705 %{_datadir}/emacs/%{ver}/leim/quail/*.elc
706 %{_datadir}/emacs/%{ver}/leim/ja-dic/*.elc
707
708 %files leim-el
709 %defattr(644,root,root,755)
710 %{_datadir}/emacs/%{ver}/leim/quail/*.el.gz
711 %{_datadir}/emacs/%{ver}/leim/ja-dic/*.el.gz
712
713 %if %{with nox} && %{?default_emacs} != "nox"
714 %files nox
715 %defattr(644,root,root,755)
716 %attr(755,root,root) %{_bindir}/emacs-nox
717 %{_desktopdir}/emacs-nox.desktop
718 %endif
719
720 %if %{with athena} && %{?default_emacs} != "athena"
721 %files athena
722 %defattr(644,root,root,755)
723 %attr(755,root,root) %{_bindir}/emacs-athena
724 %{_desktopdir}/emacs-athena.desktop
725 %endif
726
727 %if %{with gtk} && %{?default_emacs} != "gtk"
728 %files gtk
729 %defattr(644,root,root,755)
730 %attr(755,root,root) %{_bindir}/emacs-gtk
731 %{_desktopdir}/emacs-gtk.desktop
732 %endif
733
734 %if %{with motif} && %{?default_emacs} != "motif"
735 %files motif
736 %defattr(644,root,root,755)
737 %attr(755,root,root) %{_bindir}/emacs-motif
738 %{_desktopdir}/emacs-motif.desktop
739 %endif
740
741 %files gnus
742 %defattr(644,root,root,755)
743 %dir %{_datadir}/emacs/%{ver}/lisp/gnus
744 %{_datadir}/emacs/%{ver}/lisp/gnus/*.*
745 %exclude %{_datadir}/emacs/%{ver}/lisp/gnus/*.el.gz
746
747 %files gnus-el
748 %defattr(644,root,root,755)
749 %{_datadir}/emacs/%{ver}/lisp/gnus/*.el.gz
This page took 0.073799 seconds and 3 git commands to generate.