X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=texinfo.spec;h=b579bef9609babc850a5def9fd8aacff16ccc87c;hb=59144e5d8b1568e2102576bb49d9b6eb196ca995;hp=bac1261d8407c1c9d984179892ea04a66ba8767a;hpb=c12506f7f60d2f01792205580510b69b6af8e747;p=packages%2Ftexinfo.git diff --git a/texinfo.spec b/texinfo.spec index bac1261..b579bef 100644 --- a/texinfo.spec +++ b/texinfo.spec @@ -1,200 +1,238 @@ 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(tr): texinfo biçimleyici ve info okuyucu Name: texinfo -Version: 3.12s -Release: 2 -Copyright: GPL +Version: 4.1 +Release: 1 +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/%{name}/%{name}-%{version}.tar.gz 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}-fix.patch +Patch1: %{name}-zlib.patch +Patch2: %{name}-info.patch +Patch3: %{name}-version.texi.patch +Patch4: %{name}-fileextension.patch +Patch5: %{name}-ALL_LINGUAS.patch +URL: http://texinfo.org/ +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gettext-devel +BuildRequires: ncurses-devel >= 5.0 BuildRequires: zlib-devel -Prereq: /usr/sbin/fix-info-dir Requires: info = %{version} -Requires: mktemp -Buildroot: /tmp/%{name}-%{version}-root - -%define _sysconfdir /etc +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. + +Instale o Texinfo se você quiser um sistema de documentação para +produzir tanto documentação on-line como impressa a partir do mesmo +arquivo-fonte y se for escrever documentação para o Projeto GNU. %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. %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(tr): GNU texinfo belgeleri için tty tabanlý görüntüleyici -Group: Utilities/System -Group(pl): Narzêdzia/System +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. - -%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. +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 tr +Bu pakette, info biçimindeki dosyalarý okumak için bir görüntüleyici +bulunur. -%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} +Requires: tetex -%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 +%patch2 -p1 +%patch3 -p1 %patch4 -p1 %patch5 -p1 -%patch6 -p1 -%patch7 -p1 %build -ln -s version.texi doc/version2.texi -automake -gettextize --copy --force -aclocal +ln -sf version.texi doc/version2.texi +#gettextize --copy --force +#aclocal autoconf -LDFLAGS="-s -lz"; export LDFLAGS +automake -a -c -f %configure \ --without-included-gettext -make -rm util/install-info -make -C util +%{__make} -C doc maintainer-clean-aminfo +%{__make} +rm -f util/install-info +%{__make} -C util %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{/usr/X11R6/share/applnk/Utilities,%{_sbindir}} \ - $RPM_BUILD_ROOT{/sbin,%{_sysconfdir}} +install -d $RPM_BUILD_ROOT{%{_applnkdir}/Help,%{_sbindir},/sbin} -make install DESTDIR=$RPM_BUILD_ROOT - -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 +ln -sf %{_sbindir}/install-info $RPM_BUILD_ROOT/sbin/install-info -install %{SOURCE1} $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Utilities +install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Help -gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*info* \ - ChangeLog INTRODUCTION NEWS README info/README +gzip -9nf AUTHORS ChangeLog INTRODUCTION NEWS README TODO %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 *.gz %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/*.gz %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 +%{_applnkdir}/Help/info.desktop -%ghost %{_infodir}/dir %{_infodir}/info.info* %{_infodir}/info-stnd.info* + +%{_mandir}/man1/info.1* +%{_mandir}/man1/install-info.1* +%{_mandir}/man5/info.5* + +%files texi2dvi +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/texi2dvi +%{_mandir}/man1/texi2dvi.1*