]> git.pld-linux.org Git - packages/texinfo.git/blobdiff - texinfo.spec
- texinfo-cpp_macros.patch: avoid #ifdef in cpp macros
[packages/texinfo.git] / texinfo.spec
index 2641cc300d78a7e6f75cd3daf74e6fe19da55636..5b92a68a559dcd2d9ec6031e9997780b3794c412 100644 (file)
@@ -5,7 +5,7 @@ Summary(pl):    Narz
 Summary(tr):   texinfo biçimleyici ve info okuyucu
 Name:          texinfo
 Version:       4.0b
-Release:       1
+Release:       5
 License:       GPL
 Group:         Applications/Publishing
 Group(de):     Applikationen/Publizieren
@@ -19,9 +19,11 @@ Patch3:              %{name}-version.texi.patch
 Patch4:                %{name}-DESTDIR.patch
 Patch5:                %{name}-fileextension.patch
 Patch6:                %{name}-danish.patch
+Patch7:                %{name}-cpp_macros.patch
 URL:           http://texinfo.org/
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: gettext-devel
 BuildRequires: ncurses-devel >= 5.0
 BuildRequires: zlib-devel
 Requires:      info = %{version}
@@ -105,6 +107,21 @@ ten zawiera samodzieln
 Bu pakette, info biçimindeki dosyalarý okumak için bir görüntüleyici
 bulunur.
 
+%package texi2dvi
+Summary:       Texinfo to dvi conversion tool
+Summary(pl):   Narzêdzie do konwersji texinfo na dvi
+Group:         Applications/Publishing
+Group(de):     Applikationen/Publizieren
+Group(pl):     Aplikacje/Publikowanie
+Requires:      %{name} = %{version}
+Requires:      tetex
+
+%description texi2dvi
+Texinfo to dvi conversion tool.
+
+%description texi2dvi -l pl
+Narzêdzie do konwersji plików texinfo na dvi.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -114,6 +131,7 @@ bulunur.
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 %build
 ln -sf version.texi doc/version2.texi
@@ -143,6 +161,9 @@ gzip -9nf ChangeLog INTRODUCTION NEWS README info/README
 
 %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
 
@@ -152,24 +173,20 @@ gzip -9nf ChangeLog INTRODUCTION NEWS README info/README
 %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 *.gz info/*.gz
+%doc *.gz
 %attr(755,root,root) %{_bindir}/makeinfo
-%attr(755,root,root) %{_bindir}/texi2dvi
 %attr(755,root,root) %{_bindir}/texindex
 
 %{_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/*.gz
 %attr(755,root,root) %{_bindir}/info
 %attr(755,root,root) /sbin/install-info
 %attr(755,root,root) %{_sbindir}/install-info
@@ -182,3 +199,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_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*
This page took 0.152896 seconds and 4 git commands to generate.