RFC -- xemacs
Tomasz Kłoczko
kloczek w rudy.mif.pg.gda.pl
Pon, 14 Wrz 1998, 09:01:20 CEST
On Mon, 14 Sep 1998, Ziemek Borowski wrote:
> Request For Comments: xemacs
> Najnowsza stabilna wersja, sprawdzałem tylko na stable...
>
> Podzielony na pakiety.
> Z %files w specu więc wielki spec ;-).
> Do przetestowania tak spec, jak i podział na pakiety...
> Że nie wspomnę o marnym tłumaczeniu... jakoś nie man pomysłów...
> (acha, Pagaj, ta wersja jest różna od tej co Ci wysłałem)...
>
> Z podobnych olbrzymów czekają jeszcze GNU Emacs i
> TeX (tylko, że większy)
> I do tego nie istotne czy tetex czy TeXLive...
> (Wojtku, nie wrzucaj tego jeszcze..., którejś nocy siądę i
> skompiluję na magellanie całą ,,moją'' kolejkę (jest nowy jade, za tydzień
> relase)
Dobra .. to będzie trochę luźnych komentaży, bo szczegóły to i tak jak
wezmę to sobie na koniec na stół.
> Summary: The XEmacs editor
> Summary(pl): XEmacs -- Edytor
> Name: xemacs
> version: 20.4
> Release: 5
> Copyright: GPL
> Group: Applications/Editors/Emacs
> Source0: xemacs-%{PACKAGE_VERSION}.tar.gz
> Source1: xemacs-%{PACKAGE_VERSION}-info.tar.gz
> Source2: xemacs-%{PACKAGE_VERSION}-README.i386-pc-linux
> Source3: xemacs-%{PACKAGE_VERSION}-README.sparc-unknown-linux
> Source4: xemacs-%{PACKAGE_VERSION}-README.alpha-pc-linux
s/\%\{PACKAGE_VERSION\}/\%\{version\}/
i to wszędzie .. będzie któcej. W Source#: nie ma pełnych URLi skąd to
zostało wzięte.
> Source4: xemacs.wmconfig
> Patch0: xemacs-%{PACKAGE_VERSION}-static.patch
> Patch1: xemacs-%{PACKAGE_VERSION}-perl.patch
> Patch2: xemacs-%{PACKAGE_VERSION}-alpha.patch
> Url: http://www.xemacs.org/
>
> Buildroot: /var/tmp/%{name}-%{PACKAGE_VERSION}-%{release}-root
> ExclusiveArch: i386 sparc alpha
A na innych architektórach się nie kompiluje ??
Wyrzycić powyższą linijkę.
>
> %description
> XEmacs is a version of Emacs, compatible with and containing many
> improvements over GNU Emacs, written by Richard Stallman of the
> Free Software Foundation. It was originally based on an early release
> of GNU Emacs version 19, and has tracked subsequent releases of GNU
> Emacs as they have become available.
> This XEmacs distribution has been splitted in some rpm :
> - xemacs-%{PACKAGE_VERSION}: the main part
> - xemacs-extras-%{PACKAGE_VERSION}: files in conflict with emacs
> (Install xemacs-extras if you do not have emacs installed.)
> and optional:
> xemacs-el, xemacs-info, xemacs-auctex, xemacs-auctex-el, xemacs-emulators,
> xemacs-emulators-el, xemacs-lisp-programming, xemacs-lisp-programming-el,
> xemacs-mailnews, xemacs-mailnews-el, xemacs-modes, xemacs-modes-el,
> xemacs-psgml, xemacs-psgml-el, xemacs-viper, xemacs-viper-el, xemacs-w3,
> xemacs-w3-el,
Nie wiem czy jest sens opisywać zawartość dystrybucji xemacsa w
%description jednego z pakietów.
> %package static
> Summary: static linked xemacs
> Summary(pl): statycznie zlinkowany xemacs
> Group: Applications/Editors/Emacs
> Requires: xemacs = %{PACKAGE_VERSION}
> %description static
> Static linked xemacs -- independent of the libraries installed
> %description static -l pl
> statycznie zlinkowany xemacs -- niezależny od zainstalowanych bibliotek
To mnie zawsze gryzło .. po co robić statycznie zlinkowanego *emacsa ?
Ja bym to ..
[..]
> %package auctex
> Summary: TeX mode for XEmacs
> Summary(pl): tryb TeXowy dla XEmacsa
> Group: Applications/Editors/Emacs
> Requires: xemacs = %{PACKAGE_VERSION}
> %description auctex
> %{name} -- TeX mode for XEmacs
> %description auctex -l pl
> %{name} -- tryb TeXowy dla XEmacsa
Czy nie byłoby dobrze przy instalacji auctex wymagać posiadania *TeXa?
> %package info
> Summary: info files for XEmacs
> Summary(pl): Pliki info -- niezbędna dokumentacja
> Group: Applications/Editors/Emacs
> Requires: xemacs = %{PACKAGE_VERSION}
> %description info
> Info files -- Install this package if you want the info files
> distributed with XEmacs.
> %description info -l pl
> Pliki info -- niezbędna dokumentacja
Skoro niezbędna to po kiego groma ładować do osobnego pakietu ?
Jakoś kiepsko widzę instalowanie XEmacsa bez stron info. Chyba aż tak dużo
to nie zajmuje (??).
> %package psgml
> Summary: pSGML mode for XEmacs
> Summary(pl): Tryb pSGML dla XEmacsa
> Group: Applications/Editors/Emacs
> Requires: xemacs
> %description psgml
> %{name} -- SGML mode for XEmacs
> %description psgml -l pl
> %{name} -- Tryb SGML dla XEmacsa
Czy tutaj tak jak przy acutex nie wypadałoby wymagać posiadania jakiś
pakietów z narzędziami sgml-owymi ?
> %package mailnews
> Summary: mail & news modes for XEmacs
> Summary(pl): The XEmacs editor
> Group: Applications/Editors/Emacs
> Requires: xemacs
> %description mailnews
> %{name} -- mail & news modes for XEmacs:
> * gnus
> * vm
> * Tools for MIME
> * rmail
> %description mailnews -l pl
> %{name} -- poczta i UseNet News w XEmacsie:
> * gnus
> * vm
> * Tools for MIME
> * rmail
Czy to nie wymaga choćbby posiadania mailx czy sendamila czy czegoś w tym
stylu ?
> %prep
> %setup -q -T -b 0 -n xemacs-%{PACKAGE_VERSION}
> chmod u+wXr * -R
> %setup -q -T -D -b 1 -n xemacs-%{PACKAGE_VERSION}
> chmod u+wXr * -R
> %patch0 -p1
> chmod u+wXr * -R
> %patch1 -p0
Te chmody chyba nie są potrzebne.
> %build
>
> %ifarch i386
> %define HOSTTYPE i386-pldpc-linux
Niepotrzebnie nazwę architektóry uzależniasz od nazwy dystrybucji. Kiedyś
chłopaki z RH też mieli taki nawyk ale obecnie się z tego wycofują. Co jak
ktoś to będzie chcia użyć na Solarisie x86 ?
Także wogóle makro HOSTTYPE powinno zniknąć.
> %install
> [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
Jeżeli Buildroot jest ustalony to po co go sprawdzać ?
Pakiet ma być budowany z nie root-a czyli i tak nic wielkiego stać się nie
może.
Tylko:
rm -rf $RPM_BUILD_ROOT
>
> mv $RPM_BUILD_ROOT/usr/bin/xemacs-%{PACKAGE_VERSION} \
> $RPM_BUILD_ROOT/usr/bin/xemacs-static
> install -c -m755 xemacs-dynamic \
^^^^^
Jeżeli w %files będzie wszystko jednoznacznie to takie szczegóły powinny
stąd zniknąć.
> strip $RPM_BUILD_ROOT/usr/bin/%{name}-%{PACKAGE_VERSION}
> strip $RPM_BUILD_ROOT/usr/bin/gnuclient
> strip $RPM_BUILD_ROOT/usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/cvtmail
> strip $RPM_BUILD_ROOT/usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/digest-doc
> strip $RPM_BUILD_ROOT/usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/fakemail
> strip $RPM_BUILD_ROOT/usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/gnuserv
> strip $RPM_BUILD_ROOT/usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/hexl
> strip $RPM_BUILD_ROOT/usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/make-docfile
> strip $RPM_BUILD_ROOT/usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/make-path
> strip $RPM_BUILD_ROOT/usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/mmencode
> strip $RPM_BUILD_ROOT/usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/profile
> strip $RPM_BUILD_ROOT/usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/sorted-doc
> strip $RPM_BUILD_ROOT/usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/yow
> strip $RPM_BUILD_ROOT/usr/bin/*tags
> strip $RPM_BUILD_ROOT/usr/bin/b2m
Może zamiasat powyższego lepiej byłoby przelecieć to findem z exec file z
wyszukiwaniem plików elf wykonywalnych żeby je zestripować w jednej linjce
zamiast w tak dużej ilości tekstu :>
Albo tylko:
strip $RPM_BUILD_ROOT/usr/{bin/*,lib/*/*/*} || :
> %clean
> [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
Jak wyżej. Tylko "rm -rf $RPM_BUILD_ROOT"
> %files
> %defattr(644, root, root, 755)
> %attr(644, root, root) %config /etc/X11/wmconfig/xemacs
skoro jest już %defattr to w powyższym wystarczy:
%config /etc/X11/wmconfig/xemacs
> %attr(2755, root, mail) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/movemail
> %attr(711, root, root) /usr/bin/%{name}-%{PACKAGE_VERSION}
> %attr(711, root, root) /usr/bin/%{name}
Czy muszą być dwie pozycje w /usr/bin/ ? Czy nie można tego zrobić od razu
tak żeby było tylko /usr/bin/%{name} ? Przecież /usr/bin/%{name} to
zapewne link na /usr/bin/%{name}-%{PACKAGE_VERSION} (??). Ja bym w install
dodał:
mv -f $RPM_BUILD_ROOT/usr/bin/%{name}-%{version} /
$RPM_BUILD_ROOT/usr/bin/%{name}
> %attr(711, root, root) /usr/bin/gnuclient
> %attr(711, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/cvtmail
> %attr(711, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/digest-doc
> %attr(711, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/fakemail
> %attr(711, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/gnuserv
> %attr(711, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/hexl
> %attr(711, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/make-docfile
> %attr(711, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/make-path
> %attr(711, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/mmencode
> %attr(711, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/profile
> %attr(711, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/sorted-doc
> %attr(711, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/yow
> %attr(755, root, root) /usr/bin/gnuattach
> %attr(755, root, root) /usr/bin/gnudoit
> %attr(755, root, root) /usr/bin/install-sid
> %attr(755, root, root) /usr/bin/pstogif
> %attr(755, root, root) /usr/bin/send-pr
> %attr(755, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/add-big-package.sh
> %attr(755, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/add-little-package.sh
> %attr(755, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/gzip-el.sh
> %attr(755, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/install-sid
> %attr(755, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/rcs2log
> %attr(755, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/send-pr
> %attr(755, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/vcdiff
> %attr(755, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/wakeup
> %config /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/XKeysymDB
> %doc %lang(de) /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/TUTORIAL.de
> %doc %lang(fr) /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/TUTORIAL.fr
> %doc %lang(hr) /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/TUTORIAL.hr
> %doc %lang(ja) /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/TUTORIAL.ja
> %doc %lang(ko) /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/TUTORIAL.ko
> %doc %lang(no) /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/TUTORIAL.no
> %doc %lang(pl) /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/TUTORIAL.pl
> %doc %lang(th) /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/TUTORIAL.th
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/DOC
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/*.doc
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/*.sco
Powyższa linijka powinna być inaczej:
%ifos SCO
...
%endif
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/README.HYPERBOLE
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/README.OO-BROWSER
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/e/README
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/gnuattach.1
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/gnuclient.1
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/gnudoit.1
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/gnuserv.1
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/gnuserv.README
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/hypb-mouse.txt
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/refcard.ps
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/refcard.tex
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/refcard3.ps
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/sample.Xdefaults
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/sample.emacs
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/xemacs.1
Czy te strony man nie powinny przeskoczyć do /usr/man/man1 ?
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ChangeLog
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/README
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/apel/ChangeLog*
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ediff/README
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/efs/README
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/eterm/ChangeLog
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/eterm/QUESTIONS
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/eterm/README.term
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/eterm/TODO.term
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/mel/ChangeLog
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/term/README
> %doc /usr/man/man1/gnuattach.1
> %doc /usr/man/man1/gnuclient.1
> %doc /usr/man/man1/gnudoit.1
> %doc /usr/man/man1/gnuserv.1
> %doc /usr/man/man1/xemacs.1
O tu są strony man :)
Czy to nie powielenie z tym co jest wyżej ?
> %doc INSTALL README COPYING GETTING.GNU.SOFTWARE PROBLEMS
Cyz INSTALL jest tu do czegoś potrzebne ?
> %doc Installation
> %doc etc/NEWS etc/MAILINGLISTS BUGS README.i386-pc-linux
> %lang(ja) %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/xemacs-ja.1
> /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/config.values
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/*.xbm
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/*.xpm
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/*.xpm.Z
dlaczego jest *.xpm i *.xpm.Z ? Jedno nie wystarczy ?
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/app-defaults/ja/Emacs
to powinno raczej wlecieć do /usr/X11R6/lib/X11/ja/app-defaults
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/categories
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/cbx.gif
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/custom/*
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/eos/*
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/frame-icon/*
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/gnats/*
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/idd/*
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/message/*
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/mine/*
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/ms-kermit
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/ms-kermit-7bit
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/smilies/*
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/sounds/*
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/sparcworks/*
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/spook.lines
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/tests/external-widget/Makefile
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/tests/external-widget/test-ew-motif.c
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/tests/external-widget/test-ew-xlib.c
Te tests są do czegoś potrzebne ? Jeżeli pakiet będzie poprawnie działał
to chyba nie (??). Zresztą to są jakieś źródła ..
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/time/*
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/toolbar/*
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/xemacs-fe.sh
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/yow.lines
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/*.el
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/apel/*.el
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/apel/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/calendar/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/cc-mode/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/comint/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/custom/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ediff/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ediff/Makefile
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/efs/*.el
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/efs/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/efs/Makefile
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/electric/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/eos/*.el
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/eos/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/eos/Makefile
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/eterm/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/games/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/gnats/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/iso/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/mel/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/mu/*.el
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/mu/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/packages/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/prim/*.el
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/prim/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/sunpro/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/term/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/tl/*.el
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/tl/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/tooltalk/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/tooltalk/Makefile
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/utils/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/utils/forms-d2.dat
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/vc/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/x11/*.elc
>
> %files info
> %defattr(644, root, root, 755)
> %config /usr/lib/%{name}-%{PACKAGE_VERSION}/info/dir
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/cc-mode.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/custom.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/ediff.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/efs.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/external-widget.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/forms.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/gnats.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/info.info*gz
to chyba przychodzi z info.
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/internals.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/ispell.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/message.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/new-users-guide.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/ph.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/reftex.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/send-pr.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/standards.info*gz
standards.info*gz jest chyba w glibc.
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/term.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/termcap.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/texinfo.info*gz
Tu mi sie wydaje, że też już egzemplaże powyższych są już w /usr/info.
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/vhdl-mode.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/widget.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/xemacs-faq.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/xemacs.info*gz
>
> %files emulators
> %defattr(644, root, root, 755)
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/emulators/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/emulators/tpu-edt.xmodmap
>
> %files emulators-el
> %defattr(644, root, root, 755)
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/emulators/*.el.gz
>
> %files viper
> %defattr(644, root, root, 755)
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/viperCard.tex
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/viper.info*gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/viper/*.elc
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/viper/README
>
> %files viper-el
> %defattr(644, root, root, 755)
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/viper/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/viper/Makefile
>
> %files mailnews
> %defattr(644, root, root, 755)
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/MH-E-NEWS
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/gnusrefcard/*
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/gnus-mime-en.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/gnus.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/mailcrypt.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/mh-e.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/rmail.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/supercite.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/tm-edit-en.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/tm-en.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/tm-mh-e-en.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/tm-view-en.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/tm-vm-en.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/vm.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/mailcrypt/ANNOUNCE
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/mailcrypt/ChangeLog
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/mailcrypt/NEWS
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/mailcrypt/ONEWS
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/mailcrypt/README
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/rmail/README
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/vm/README
> %attr(755, root, root) /usr/lib/%{name}-%{PACKAGE_VERSION}/%{HOSTTYPE}/tm*
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/gnus/*
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/vm/*
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/gnus/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/mailcrypt/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/mh-e/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/rmail/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/tm/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/vm/*.el
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/vm/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/vm/.autoload
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/vm/Makefile
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/vm/make-autoloads
>
> %files mailnews-el
> %defattr(644, root, root, 755)
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/tm/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/vm/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/mh-e/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/gnus/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/gnus/Makefile
Kurcze. gnusa to chyba wartoby odseparować. Czesto się zmienia i jest
obecnie w osobnych źródłąch.
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/mailcrypt/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/rmail/*.el.gz
>
> %files el
> %defattr(644, root, root, 755)
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/apel/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/calendar/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/cc-mode/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/comint/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/custom/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ediff/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/efs/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/electric/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/eos/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/eterm/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/games/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/gnats/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/iso/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/mel/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/mu/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/packages/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/prim/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/sunpro/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/term/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/tl/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/tooltalk/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/utils/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/vc/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/x11/*.el.gz
>
> %files lisp-programming
> %defattr(644, root, root, 755)
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/cl.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/ilisp.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/lispref.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/edebug/README
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ilisp/ACKNOWLEDGMENTS
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ilisp/COPYING
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ilisp/GETTING-ILISP
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ilisp/HISTORY
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ilisp/INSTALLATION
Potrzebne ?
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ilisp/README
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ilisp/Welcome
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/bytecomp/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/cl/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/edebug/*.el
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/edebug/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/edebug/Makefile
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/edebug/edebug-history
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ilisp/*.el
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ilisp/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ilisp/*.lisp
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ilisp/ild.mail
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ilisp/ilisp.emacs
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ilisp/scheme2c.mail
>
> %files lisp-programming-el
> %defattr(644, root, root, 755)
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ilisp/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/edebug/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/bytecomp/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/cl/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/ilisp/Makefile
>
> %files auctex
> %defattr(644, root, root, 755)
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/auctex.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/auctex/CHANGES
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/auctex/ChangeLog
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/auctex/README
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/auctex/style/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/auctex/*.el
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/auctex/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/auctex/INSTALLATION
Czy INSTALLATION jest tu jeszcze do czegoś potrzebne ?
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/auctex/PROBLEMS
>
> %files auctex-el
> %defattr(644, root, root, 755)
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/auctex/Makefile
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/auctex/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/auctex/style/*.el.gz
>
> %files w3
> %defattr(644, root, root, 755)
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/w3-faq.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/w3.info*gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/w3/*.el
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/w3/*.elc
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/w3/ChangeLog
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/w3/descrip.mms
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/w3/*
>
> %files w3-el
> %defattr(644, root, root, 755)
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/w3/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/w3/Makefile
>
> %files psgml
> %defattr(644, root, root, 755)
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/hm--html-mode.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/psgml-api.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/psgml.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/hm--html-menus/ANNOUNCEMENT
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/hm--html-menus/NEWS
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/hm--html-menus/README
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/psgml/ChangeLog
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/psgml/README.psgml
> /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/sgml/*
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/hm--html-menus/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/hm--html-menus/command-description.html.tmpl
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/hm--html-menus/frame.html.tmpl
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/hm--html-menus/templates.doc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/psgml/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/psgml/psgml-style.fs
>
> %files psgml-el
> %defattr(644, root, root, 755)
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/psgml/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/hm--html-menus/*.el.gz
>
> %files modes
> %defattr(644, root, root, 755)
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/info/pcl-cvs.info*gz
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/pcl-cvs/ChangeLog
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/pcl-cvs/README
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/modes/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/pcl-cvs/*.elc
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/pcl-cvs/INSTALL
Czy INSTALL jest tu jeszcze do czegoś potrzebne ?
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/pcl-cvs/NEWS
>
> %files modes-el
> %defattr(644, root, root, 755)
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/pcl-cvs/*.el.gz
> /usr/lib/%{name}-%{PACKAGE_VERSION}/lisp/modes/*.el.gz
>
> %files extras
> %defattr(644, root, root, 755)
> %attr(711, root, root) /usr/bin/b2m
> %attr(711, root, root) /usr/bin/ctags
> %attr(711, root, root) /usr/bin/etags
> %attr(755, root, root) /usr/bin/rcs-checkin
> #/usr/man/man1/ctags.1
> #/usr/man/man1/etags.1
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/ctags.1
> %doc /usr/lib/%{name}-%{PACKAGE_VERSION}/etc/etags.1
to już jest w ctags i ewentulnie któryś z pakietów powinien mieć:
Requires: ctags
Tak mi się jewszcze nasuwa, że chyba nie ma dwuch katalogów /usr/lib więc
wszędzie zamiast pisać /usr/lib/%{name}-%{PACKAGE_VERSION}/ wystarczyłoby
/usr/lib/*/
Czy wszystkie pliki info nie mogą wlecieć do /usr/info ? Ziemek sprawdź
czy ścieżki gdzie mają być info nie można przekazać w configure.
kloczek
--
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek w rudy.mif.pg.gda.pl*
Więcej informacji o liście dyskusyjnej pld-devel-pl