X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=texinfo.spec;h=1eb77ef27a265ab229cf51295b16fbcdc93dc3e0;hb=1d774642222757a4b147664c6bf86557f117c495;hp=18db0c0082e9bc9bdd557b0c66b36421904de79e;hpb=a831b67c4fe4f53773e9f319be5ea2597c34f881;p=packages%2Ftexinfo.git diff --git a/texinfo.spec b/texinfo.spec index 18db0c0..1eb77ef 100644 --- a/texinfo.spec +++ b/texinfo.spec @@ -1,177 +1,263 @@ Summary: Tools needed to create Texinfo format documentation files -Summary(de): Tools zum Erstellen von texinfo-Dokumentationsdateien -Summary(fr): Outils créant des documentations au format texinfo -Summary(pl): Narzêdzia potrzebne przy tworzeniu dokumentacji w formacie texinfo -Summary(tr): texinfo biçimleyici ve info okuyucu +Summary(de.UTF-8): Tools zum Erstellen von texinfo-Dokumentationsdateien +Summary(es.UTF-8): Formateador texinfo y lector de archivos info +Summary(fr.UTF-8): Outils créant des documentations au format texinfo +Summary(pl.UTF-8): Narzędzia potrzebne przy tworzeniu dokumentacji w formacie texinfo +Summary(pt_BR.UTF-8): Formatador texinfo e leitor de arquivos info +Summary(ru.UTF-8): Инструменты для создания файлов документации формата Texinfo +Summary(tr.UTF-8): texinfo biçimleyici ve info okuyucu +Summary(uk.UTF-8): Інструменти для створення файлів документації формату Texinfo Name: texinfo -Version: 4.0 -Release: 8 -License: GPL +Version: 4.11 +Release: 1 +License: GPL v3+ Group: Applications/Publishing -Group(pl): Aplikacje/Publikowanie -Source0: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz +Source0: ftp://ftp.gnu.org/gnu/texinfo/%{name}-%{version}.tar.bz2 +# Source0-md5: c6bf13df4fbeff8ce874aacd6a51e814 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}-as_needed-fix.patch +Patch2: %{name}-man.patch URL: http://texinfo.org/ -BuildRequires: zlib-devel +BuildRequires: autoconf >= 2.59 +BuildRequires: automake >= 1:1.9 +BuildRequires: gettext-devel >= 0.16 +BuildRequires: help2man BuildRequires: ncurses-devel >= 5.0 -Requires: info = %{version} +BuildRequires: sed >= 4.0 +BuildRequires: zlib-devel +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. - -%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. - -%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. - -%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. - -%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. +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.UTF-8 +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.UTF-8 +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.UTF-8 +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. + +%description -l pl.UTF-8 +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.UTF-8 +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.UTF-8 +Проект GNU использует формат texinfo для большинства документации, +созданной в его рамках. Этот пакет включает инструменты, необходимые +для создания файлов .info из исходных файлов .texinfo и интерфейс к +emacs для всех этих инструментов. + +%description -l tr.UTF-8 +[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.UTF-8 +Проект 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(fr): un lecteur de documentations info -Summary(pl): Samodzielny, terminalowy czytnik dokumentów GNU texinfo -Summary(tr): GNU texinfo belgeleri için tty tabanlý görüntüleyici -Group: Utilities/System -Group(pl): Narzêdzia/System -Prereq: /usr/sbin/fix-info-dir +Summary(de.UTF-8): Ein TTY-basiertes Leseprogramm für GNU info-Dokumentation +Summary(es.UTF-8): Lector basado en tty para documentos texinfo GNU +Summary(fr.UTF-8): un lecteur de documentations info +Summary(pl.UTF-8): Samodzielny, terminalowy czytnik dokumentów GNU texinfo +Summary(pt_BR.UTF-8): Leitor baseado em tty para documentos texinfo GNU +Summary(ru.UTF-8): Программа для просмотра документов в формате GNU texinfo на текстовой консоли +Summary(tr.UTF-8): GNU texinfo belgeleri için tty tabanlı görüntüleyici +Summary(uk.UTF-8): Програма для перегляду документів в форматі GNU texinfo на текстовому терміналі +Group: Applications/System +Requires: 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.UTF-8 +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 -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 fr.UTF-8 +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 -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. +%description -n info -l pl.UTF-8 +Projekty GNU używają formatu texinfo do tworzenia dokumentacji. Pakiet +ten zawiera samodzielną przeglądarkę tychże plików. -%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 -n info -l pt_BR.UTF-8 +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 -l tr -n info -Bu pakette, info biçimindeki dosyalarý okumak için bir görüntüleyici +%description -n info -l ru.UTF-8 +Проект GNU использует формат texinfo для большинства документации, +созданной в его рамках. Этот пакет включает программу для просмотра +документов в формате GNU texinfo на текстовой консоли. + +%description -n info -l tr.UTF-8 +Bu pakette, info biçimindeki dosyaları okumak için bir görüntüleyici bulunur. +%description -n info -l uk.UTF-8 +Проект GNU використовує формат texinfo для більшості документації, +створеної в його рамках. Цей пакет містить програму для перегляду +документів в форматі GNU texinfo на текстовому терміналі. + +%package texi2dvi +Summary: Texinfo to dvi conversion tool +Summary(pl.UTF-8): Narzędzie do konwersji texinfo na dvi +Group: Applications/Publishing +Requires: %{name} = %{version}-%{release} +Requires: tetex-fonts-latex +# R: tetex 3.0 to avoid texi2pdf file conflict with tetex 2.0 +Requires: tetex-format-pdfetex >= 1:3.0 +Requires: tetex-format-plain + +%description texi2dvi +Texinfo to dvi conversion tool. + +%description texi2dvi -l pl.UTF-8 +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 +%patch2 -p1 + +# nb was added but outdated no not removed +sed -i -e '/^no$/d' po/LINGUAS +rm -f po/stamp-po %build -ln -s version.texi doc/version2.texi -automake -gettextize --copy --force -aclocal -autoconf -LDFLAGS="-s -lz"; export LDFLAGS -%configure \ - --without-included-gettext -make -C doc distclean-aminfo -make -rm util/install-info -make -C util +%{__aclocal} -I gnulib/m4 +%{__autoconf} +%{__automake} +%configure + +%{__make} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_applnkdir}/Utilities,%{_sbindir},/sbin} - -make install DESTDIR=$RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_sbindir},/sbin} +%{__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%{_applnkdir}/Utilities - -gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/*info*,%{_mandir}/man?/*} \ - ChangeLog INTRODUCTION NEWS README info/README +ln -sf %{_sbindir}/install-info $RPM_BUILD_ROOT/sbin/install-info +install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} %find_lang %{name} +%clean +rm -rf $RPM_BUILD_ROOT + %post -[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 +[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 %postun -[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 +[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 %post -n info /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 -%clean -rm -rf $RPM_BUILD_ROOT - %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/texi2dvi.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}/install-info -%{_applnkdir}/Utilities/info.desktop +%{_desktopdir}/info.desktop %{_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}/pdftexi2dvi +%attr(755,root,root) %{_bindir}/texi2dvi +%attr(755,root,root) %{_bindir}/texi2pdf +%{_mandir}/man1/pdftexi2dvi.1* +%{_mandir}/man1/texi2dvi.1* +%{_mandir}/man1/texi2pdf.1*