X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=texinfo.spec;h=82268d93b531f4b152304dded0997e0097415961;hb=36510611e4f2df083d33333bda13a7be4f546133;hp=09d6c698096e163bcd346fb19f3739d74b571653;hpb=ddfd287e7bf4936c3b01f683510e49d5305a3621;p=packages%2Ftexinfo.git diff --git a/texinfo.spec b/texinfo.spec index 09d6c69..82268d9 100644 --- a/texinfo.spec +++ b/texinfo.spec @@ -4,63 +4,72 @@ Summary(fr): Outils cr Summary(pl): Narzêdzia potrzebne przy tworzeniu dokumentacji w formacie texinfo Summary(tr): texinfo biçimleyici ve info okuyucu Name: texinfo -Version: 4.0 -Release: 8 +Version: 4.0b +Release: 0.1 License: GPL Group: Applications/Publishing +Group(de): Applikationen/Publizieren Group(pl): Aplikacje/Publikowanie -Source0: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz +Source0: ftp://alpha.gnu.org/pub/gnu/%{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 +Patch0: %{name}-fix.patch +Patch1: %{name}-zlib.patch +Patch2: %{name}-info.patch +Patch3: %{name}-version.texi.patch +Patch4: %{name}-DESTDIR.patch +Patch5: %{name}-fileextension.patch +Patch6: %{name}-danish.patch URL: http://texinfo.org/ -BuildRequires: zlib-devel +BuildRequires: autoconf +BuildRequires: automake BuildRequires: ncurses-devel >= 5.0 +BuildRequires: zlib-devel Requires: info = %{version} 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. +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. +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. +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. +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 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. +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 @@ -68,27 +77,29 @@ Summary(de): Ein TTY-basiertes Leseprogramm f 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 +Group: Applications/System +Group(de): Applikationen/System +Group(pl): Aplikacje/System +Prereq: fix-info-dir %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 -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. +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 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. +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 pl -n info -Projekty GNU u¿ywaj± formatu texinfo do tworzenia dokumentacji. Pakiet ten -zawiera samodzieln± przegl±darkê tych¿e plików. +Projekty GNU u¿ywaj± formatu texinfo do tworzenia dokumentacji. Pakiet +ten zawiera samodzieln± przegl±darkê tych¿e plików. %description -l tr -n info Bu pakette, info biçimindeki dosyalarý okumak için bir görüntüleyici @@ -96,24 +107,25 @@ bulunur. %prep %setup -q -%patch1 -p1 -%patch3 -p1 +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %build -ln -s version.texi doc/version2.texi -automake +ln -sf version.texi doc/version2.texi gettextize --copy --force aclocal autoconf -LDFLAGS="-s -lz"; export LDFLAGS +automake -a -c %configure \ --without-included-gettext %{__make} -C doc distclean-aminfo -make -rm util/install-info +%{__make} +rm -f util/install-info %{__make} -C util %install @@ -123,12 +135,11 @@ install -d $RPM_BUILD_ROOT{%{_applnkdir}/Utilities,%{_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 +ln -sf %{_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 +gzip -9nf ChangeLog INTRODUCTION NEWS README info/README %find_lang %{name} @@ -146,7 +157,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc {ChangeLog,INTRODUCTION,NEWS,README,info/README}.gz +%doc *.gz info/*.gz %attr(755,root,root) %{_bindir}/makeinfo %attr(755,root,root) %{_bindir}/texi2dvi %attr(755,root,root) %{_bindir}/texindex