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