X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=texinfo.spec;h=6c286769f68d5081cc6237945c6c8cdee0f19512;hb=d32f778da2b061a621d644106bc282b1ec848966;hp=321321c72ec324f692952477b5f497fbe2ec4837;hpb=7bb84f3cca34e1683f621022ac0324e1be82f011;p=packages%2Ftexinfo.git diff --git a/texinfo.spec b/texinfo.spec index 321321c..6c28676 100644 --- a/texinfo.spec +++ b/texinfo.spec @@ -1,200 +1,255 @@ Summary: Tools needed to create Texinfo format documentation files Summary(de): Tools zum Erstellen von texinfo-Dokumentationsdateien +Summary(es): Formateador texinfo y lector de archivos info Summary(fr): Outils créant des documentations au format texinfo Summary(pl): Narzêdzia potrzebne przy tworzeniu dokumentacji w formacie texinfo +Summary(pt_BR): Formatador texinfo e leitor de arquivos info +Summary(ru): éÎÓÔÒÕÍÅÎÔÙ ÄÌÑ ÓÏÚÄÁÎÉÑ ÆÁÊÌÏ× ÄÏËÕÍÅÎÔÁÃÉÉ ÆÏÒÍÁÔÁ Texinfo Summary(tr): texinfo biçimleyici ve info okuyucu +Summary(uk): ¶ÎÓÔÒÕÍÅÎÔÉ ÄÌÑ ÓÔ×ÏÒÅÎÎÑ ÆÁÊÌ¦× ÄÏËÕÍÅÎÔÁæ§ ÆÏÒÍÁÔÕ Texinfo Name: texinfo -Version: 3.12s -Release: 3 -Copyright: GPL +Version: 4.8 +Release: 2 +License: GPL Group: Applications/Publishing -Group(pl): Aplikacje/Publikowanie -Source: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz +Source0: ftp://ftp.gnu.org/gnu/texinfo/%{name}-%{version}.tar.bz2 +# Source0-md5: 6ba369bbfe4afaa56122e65b3ee3a68c Source1: info.desktop -Patch1: texinfo-fix.patch -Patch3: texinfo-zlib.patch -Patch4: texinfo-info.patch -Patch5: texinfo-version.texi.patch -Patch6: texinfo-DESTDIR.patch -Patch7: texinfo-fix-info-dir.patch +Patch0: %{name}-info.patch +Patch1: %{name}-ac_am.patch +URL: http://texinfo.org/ +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gettext-devel +BuildRequires: ncurses-devel >= 5.0 +BuildRequires: sed >= 4.0 BuildRequires: zlib-devel -Prereq: /usr/sbin/fix-info-dir -Requires: info = %{version} -Requires: mktemp -Buildroot: /tmp/%{name}-%{version}-root - -%define _sysconfdir /etc +Requires: info = %{version}-%{release} +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -Texinfo is a documentation system that can produce both online information -and printed output from a single source file. Normally, you'd have to write -two separate documents: one for online help or other online information and -the other for a typeset manual or other printed work. Using Texinfo, you -only need to write one source document. Then when the work needs revision, -you only have to revise one source document. The GNU Project uses the -Texinfo file format for most of its documentation. - -Install texinfo if you want a documentation system for producing both online -and print documentation from the same source file and/or if you are going to -write documentation for the GNU Project. +Texinfo is a documentation system that can produce both online +information and printed output from a single source file. Normally, +you'd have to write two separate documents: one for online help or +other online information and the other for a typeset manual or other +printed work. Using Texinfo, you only need to write one source +document. Then when the work needs revision, you only have to revise +one source document. The GNU Project uses the Texinfo file format for +most of its documentation. %description -l de -Texinfo ist ein Dokumentationssystem, das sowohl Online-Information und -gedruckte Ausgabe von einer einzigen Source-Datei erzeugen kann. -Normalerweise würden Sie zwei verschiedene Dokumente schreiben, eins für -Onlinehilfe und eins für ein gedrucktes Handbuch. Mit Texinfo reicht es, ein -Dokument zu schreiben (und später zu aktualisieren). Das GNU-Projekt benutzt -texinfo für den größten Teil seiner Dokumentation. - -Installieren Sie texinfo, wenn Sie ein Dokumentationssystem für Online- und -gedruckte Dokumentation brauchen, oder wenn Sie Dokumentationen für das -GNU-Projekt schreiben wollen. +Texinfo ist ein Dokumentationssystem, das sowohl Online-Information +und gedruckte Ausgabe von einer einzigen Source-Datei erzeugen kann. +Normalerweise würden Sie zwei verschiedene Dokumente schreiben, eins +für Onlinehilfe und eins für ein gedrucktes Handbuch. Mit Texinfo +reicht es, ein Dokument zu schreiben (und später zu aktualisieren). +Das GNU-Projekt benutzt texinfo für den größten Teil seiner +Dokumentation. + +%description -l es +Texinfo es un sistema de documentación que puede producir tanto, +información online como salida impresa a partir de un único archivo +fuente. Generalmente, tenía que escribir dos documentos por separado: +uno para la ayuda u otro tipo de información online, y otro para un +manual u otro tipo de trabajos impresos. Usando Texinfo, basta con +escribir un único documento fuente. El día que sea necesaria una +revisión del trabajo, sólo tendrá que revisar un único documento. El +Proyecto GNU usa el formato de archivo Texinfo para la mayoría de su +documentación. + +Instale Texinfo si quiere un sistema de documentación para producir +tanto documentación online como impresa a partir del mismo archivo +fuente y si va a escribir documentación para el Proyecto GNU. %description -l fr Texinfo est un système de documentation capable de produire de la -documentation online ou imprimée à partir d'un seul fichier. -Habituellement, il faut écrire deux documents : l'un orienté hypertexte, -l'autre axé sur une présentation de type PAO. En utilisant texinfo, vous -n'avez plus besoin que d'un seul fichier source. Le projet GNU utilie le -format de fichier Texinfo pour la plupart de ses documentations. - -Vous devriez installer texinfo si vous compter écrire des documents en ligne -et sur papier à partir du même fichier ou si vous désirez écrire une -documentation pour le projet GNU. +documentation online ou imprimée à partir d'un seul fichier. +Habituellement, il faut écrire deux documents : l'un orienté +hypertexte, l'autre axé sur une présentation de type PAO. En utilisant +texinfo, vous n'avez plus besoin que d'un seul fichier source. Le +projet GNU utilie le format de fichier Texinfo pour la plupart de ses +documentations. %description -l pl -Texinfo jest systemem dokumentowania umo¿liwiaj±cym wyprodukowanie zarówno -dokumentacji online jak i postaci do wydruku z pojedynczego pliku -¼ród³owego. bardzo czêsto piszê siedwie dokumentacje: jedna do przegl±dania -online i inna do przyszykowanai wysokiej jako¶ci postaci drukowane. U¿ywaj±c -Texinfo do powy¿szego potzrebujesz przygotowaæ dokumentacjê tylko w jednej -postaci ¼ród³owej. Podczas modyfikacji dokumentacji modyfikujesz w takim -razie tylko jeden dokument. Wiêkszo¶æ projektów GNU u¿ywa do dukumentowania -formatu Texinfo. - -Zainstaluj Texinfo je¿eli potzrebujesz sporz±dzaæ dokumentacjê która bêdzie -przegl±dana zarówno online jak i bêdzie drukowan lub je¿eli zamierzasz pisaæ -dokumentacjê do projektów GNU. +Texinfo jest systemem dokumentowania umo¿liwiaj±cym wyprodukowanie +zarówno dokumentacji online jak i w postaci do wydruku z pojedynczego +pliku ¼ród³owego. Bardzo czêsto pisze siê dwie dokumentacje: jedn± do +przegl±dania online i drug± do przyszykowania wysokiej jako¶ci postaci +drukowanej. U¿ywaj±c Texinfo do powy¿szego potrzebujesz przygotowaæ +dokumentacjê tylko w jednej postaci ¼ród³owej. Podczas modyfikacji +dokumentacji modyfikujesz w takim razie tylko jeden dokument. +Wiêkszo¶æ projektów GNU u¿ywa do dokumentowania formatu Texinfo. + +%description -l pt_BR +O texinfo é um sistema de documentação que pode produzir tanto +informação on-line como saída impressa a partir de um único +arquivo-fonte. Geralmente, você teria que escrever dois documentos +separados: um para ajuda on-line ou outro tipo de informação on-line, +e outro para um manual ou outro tipo de trabalho impresso. Usando o +Texinfo, basta escrever um único documento-fonte. Quando houver +necessidade de revisão, é preciso apenas revisar um único +documento-fonte. O projeto GNU usa o formato de arquivo texinfo para a +maioria da sua documentação. + +%description -l ru +ðÒÏÅËÔ GNU ÉÓÐÏÌØÚÕÅÔ ÆÏÒÍÁÔ texinfo ÄÌÑ ÂÏÌØÛÉÎÓÔ×Á ÄÏËÕÍÅÎÔÁÃÉÉ, +ÓÏÚÄÁÎÎÏÊ × ÅÇÏ ÒÁÍËÁÈ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÉÎÓÔÒÕÍÅÎÔÙ, ÎÅÏÂÈÏÄÉÍÙÅ +ÄÌÑ ÓÏÚÄÁÎÉÑ ÆÁÊÌÏ× .info ÉÚ ÉÓÈÏÄÎÙÈ ÆÁÊÌÏ× .texinfo É ÉÎÔÅÒÆÅÊÓ Ë +emacs ÄÌÑ ×ÓÅÈ ÜÔÉÈ ÉÎÓÔÒÕÍÅÎÔÏ×. %description -l tr -GNU projesi, belgelemesinin büyük bölümünde texinfo dosyalarýný kullanýr. -Bu paket, texinfo dosyalarýndan info dosyalarýnýn türetilmesini saðlayan -araçlarla birlikte, tüm bu araçlar için bir emacs arayüzü de sunar. +[6~GNU projesi, belgelemesinin büyük bölümünde texinfo dosyalarýný +kullanýr. Bu paket, texinfo dosyalarýndan info dosyalarýnýn +türetilmesini saðlayan araçlarla birlikte, tüm bu araçlar için bir +emacs arayüzü de sunar. + +%description -l uk +ðÒÏÅËÔ GNU ×ÉËÏÒÉÓÔÏ×Õ¤ ÆÏÒÍÁÔ texinfo ÄÌÑ Â¦ÌØÛÏÓÔ¦ ÄÏËÕÍÅÎÔÁæ§, +ÓÔ×ÏÒÅÎϧ × ÊÏÇÏ ÒÁÍËÁÈ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ¦ÎÓÔÒÕÍÅÎÔÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ +ÓÔ×ÏÒÅÎÎÑ ÆÁÊÌ¦× .info Ú ×ȦÄÎÉÈ ÆÁÊÌ¦× .texinfo ÔÁ ¦ÎÔÅÒÆÅÊÓ ÄÏ emacs +ÄÌÑ ×Ó¦È ÃÉÈ ¦ÎÓÔÒÕÍÅÎÔ¦×. %package -n info -Summary: A stand-alone TTY-based reader for GNU texinfo documentation. -Summary(de): Ein TTY-basiertes Leseprogramm für GNU info-Dokumentation. +Summary: A stand-alone TTY-based reader for GNU texinfo documentation +Summary(de): Ein TTY-basiertes Leseprogramm für GNU info-Dokumentation +Summary(es): Lector basado en tty para documentos texinfo GNU Summary(fr): un lecteur de documentations info -Summary(pl): Samodzielny, bazuj±cy na terminalu czytnik dokumentów GNU texinfo +Summary(pl): Samodzielny, terminalowy czytnik dokumentów GNU texinfo +Summary(pt_BR): Leitor baseado em tty para documentos texinfo GNU +Summary(ru): ðÒÏÇÒÁÍÍÁ ÄÌÑ ÐÒÏÓÍÏÔÒÁ ÄÏËÕÍÅÎÔÏ× × ÆÏÒÍÁÔÅ GNU texinfo ÎÁ ÔÅËÓÔÏ×ÏÊ ËÏÎÓÏÌÉ Summary(tr): GNU texinfo belgeleri için tty tabanlý görüntüleyici -Group: Utilities/System -Group(pl): Narzêdzia/System +Summary(uk): ðÒÏÇÒÁÍÁ ÄÌÑ ÐÅÒÅÇÌÑÄÕ ÄÏËÕÍÅÎÔ¦× × ÆÏÒÍÁÔ¦ GNU texinfo ÎÁ ÔÅËÓÔÏ×ÏÍÕ ÔÅÒͦÎÁ̦ +Group: Applications/System +PreReq: fix-info-dir +Obsoletes: info-install %description -n info -The GNU project uses the texinfo file format for much of its documentation. -This package includes a standalone browser program to view these files. +The GNU project uses the texinfo file format for much of its +documentation. This package includes a standalone browser program to +view these files. + +%description -n info -l de +Das GNU-Projekt benutzt das texinfo-Dateiformat für den Großteil +seiner Dokumentation. Dieses Paket enthält ein selbständiges +Browser-Programm zum Einsehen dieser Dateien. + +%description -n info -l fr +Le projet GNU utilise le format de fichier texinfo pour la plupart de +sa documentation. Ce paquetage contient un navigateur pour visualiser +ces fichiers. + +%description -n info -l pl +Projekty GNU u¿ywaj± formatu texinfo do tworzenia dokumentacji. Pakiet +ten zawiera samodzieln± przegl±darkê tych¿e plików. + +%description -n info -l pt_BR +O projeto GNU usa o formato de arquivos texinfo para a maioria de sua +documentação. Este pacote inclui um browser para visualização destes +arquivos. + +%description -n info -l ru +ðÒÏÅËÔ GNU ÉÓÐÏÌØÚÕÅÔ ÆÏÒÍÁÔ texinfo ÄÌÑ ÂÏÌØÛÉÎÓÔ×Á ÄÏËÕÍÅÎÔÁÃÉÉ, +ÓÏÚÄÁÎÎÏÊ × ÅÇÏ ÒÁÍËÁÈ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÐÒÏÇÒÁÍÍÕ ÄÌÑ ÐÒÏÓÍÏÔÒÁ +ÄÏËÕÍÅÎÔÏ× × ÆÏÒÍÁÔÅ GNU texinfo ÎÁ ÔÅËÓÔÏ×ÏÊ ËÏÎÓÏÌÉ. + +%description -n info -l tr +Bu pakette, info biçimindeki dosyalarý okumak için bir görüntüleyici +bulunur. -%description -l de -n info -Das GNU-Projekt benutzt das texinfo-Dateiformat für den Großteil seiner -Dokumentation. Dieses Paket enthält ein selbständiges Browser-Programm -zum Einsehen dieser Dateien. +%description -n info -l uk +ðÒÏÅËÔ GNU ×ÉËÏÒÉÓÔÏ×Õ¤ ÆÏÒÍÁÔ texinfo ÄÌÑ Â¦ÌØÛÏÓÔ¦ ÄÏËÕÍÅÎÔÁæ§, +ÓÔ×ÏÒÅÎϧ × ÊÏÇÏ ÒÁÍËÁÈ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÐÒÏÇÒÁÍÕ ÄÌÑ ÐÅÒÅÇÌÑÄÕ +ÄÏËÕÍÅÎÔ¦× × ÆÏÒÍÁÔ¦ GNU texinfo ÎÁ ÔÅËÓÔÏ×ÏÍÕ ÔÅÒͦÎÁ̦. -%description -l fr -n info -Le projet GNU utilise le format de fichier texinfo pour la plupart de sa -documentation. Ce paquetage contient un navigateur pour visualiser ces -fichiers. +%package texi2dvi +Summary: Texinfo to dvi conversion tool +Summary(pl): Narzêdzie do konwersji texinfo na dvi +Group: Applications/Publishing +Requires: %{name} = %{version}-%{release} +Requires: tetex-format-plain -%description -l pl -n info -Projekty GNU u¿ywaj± formatu texinfo do tworzenia dokumentacji. -Pakiet ten zawiera samodzieln± przegl±darkê tych¿e plików. +%description texi2dvi +Texinfo to dvi conversion tool. -%description -l tr -n info -Bu pakette, info biçimindeki dosyalarý okumak için bir görüntüleyici -bulunur. +%description texi2dvi -l pl +Narzêdzie do konwersji plików texinfo na dvi. %prep %setup -q +%patch0 -p1 %patch1 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 + +# nb was added but outdated no not removed +sed -i -e '/^no$/d' po/LINGUAS %build -ln -s version.texi doc/version2.texi -automake -gettextize --copy --force -aclocal -autoconf -LDFLAGS="-s -lz"; export LDFLAGS -%configure \ - --without-included-gettext -make -rm util/install-info -make -C util +# don't touch - too fresh m4 macros required (newer than in gettext 0.14.1) +#%%{__autopoint} +%{__aclocal} -I m4 +%{__autoconf} +%{__automake} +%configure + +%{__make} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{/usr/X11R6/share/applnk/Utilities,%{_sbindir}} \ - $RPM_BUILD_ROOT{/sbin,%{_sysconfdir}} - -make install DESTDIR=$RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_sbindir},/sbin} -install util/fix-info-dir $RPM_BUILD_ROOT%{_sbindir} +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT mv -f $RPM_BUILD_ROOT%{_bindir}/install-info $RPM_BUILD_ROOT%{_sbindir} -ln -s %{_sbindir}/install-info $RPM_BUILD_ROOT/sbin/install-info - -install %{SOURCE1} $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Utilities +ln -sf %{_sbindir}/install-info $RPM_BUILD_ROOT/sbin/install-info -gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*info* \ - ChangeLog INTRODUCTION NEWS README info/README +install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} %find_lang %{name} +%clean +rm -rf $RPM_BUILD_ROOT + %post -/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 +[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 %postun -/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 - -%pre -n info -if [ -e /usr/info ] && [ ! -L /usr/info ]; then - cp -af /usr/info %{_infodir} -fi +[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 %post -n info -if [ -e /usr/info ] && [ ! -L /usr/info ]; then - rm -rf /usr/info - ln -sf %{_infodir} /usr/info -fi -if [ -L %{_infodir}/dir ]; then - rm -f %{_infodir}/dir -fi -/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 - -%clean -rm -rf $RPM_BUILD_ROOT +/usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 %files %defattr(644,root,root,755) -%doc {ChangeLog,INTRODUCTION,NEWS,README,info/README}.gz +%doc AUTHORS ChangeLog INTRODUCTION NEWS README TODO %attr(755,root,root) %{_bindir}/makeinfo -%attr(755,root,root) %{_bindir}/texi2dvi %attr(755,root,root) %{_bindir}/texindex +%{_datadir}/texinfo %{_infodir}/texinfo* +%{_mandir}/man1/makeinfo.1* +%{_mandir}/man1/texindex.1* +%{_mandir}/man5/texinfo.5* %files -n info -f texinfo.lang %defattr(644,root,root,755) +%doc info/README %attr(755,root,root) %{_bindir}/info +%attr(755,root,root) %{_bindir}/infokey %attr(755,root,root) /sbin/install-info -%attr(755,root,root) %{_sbindir}/fix-info-dir %attr(755,root,root) %{_sbindir}/install-info -/usr/X11R6/share/applnk/Utilities/info.desktop +%{_desktopdir}/info.desktop -%ghost %{_infodir}/dir %{_infodir}/info.info* %{_infodir}/info-stnd.info* + +%{_mandir}/man1/info.1* +%{_mandir}/man1/infokey.1* +%{_mandir}/man1/install-info.1* +%{_mandir}/man5/info.5* + +%files texi2dvi +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/texi2dvi +%attr(755,root,root) %{_bindir}/texi2pdf +%{_mandir}/man1/texi2dvi.1*