]> git.pld-linux.org Git - packages/texinfo.git/commitdiff
- updated to 4.0, texinfo-4_0-1
authorkloczek <kloczek@pld-linux.org>
Fri, 1 Oct 1999 11:07:59 +0000 (11:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added BuildRequires: ncurses-devel,
- added fix info index entries for info, info-std (ne info patch),
- added man pages,
- removed using %%{_sysconfdir} macro,
- added woraroud for building correctly info pages (make distclean-aminfo in
  doc dir on start building).

Changed files:
    texinfo.spec -> 1.23

texinfo.spec

index 321321c72ec324f692952477b5f497fbe2ec4837..7216701054a137395b667567d8ae3c571a567dc1 100644 (file)
@@ -4,8 +4,8 @@ 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:       3.12s
-Release:       3
+Version:       4.0
+Release:       1
 Copyright:     GPL
 Group:         Applications/Publishing
 Group(pl):     Aplikacje/Publikowanie
@@ -18,13 +18,12 @@ Patch5:             texinfo-version.texi.patch
 Patch6:                texinfo-DESTDIR.patch
 Patch7:                texinfo-fix-info-dir.patch
 BuildRequires: zlib-devel
+BuildRequires: ncurses-devel
 Prereq:                /usr/sbin/fix-info-dir
 Requires:      info = %{version}
 Requires:      mktemp
 Buildroot:     /tmp/%{name}-%{version}-root
 
-%define                _sysconfdir     /etc
-
 %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
@@ -130,14 +129,14 @@ autoconf
 LDFLAGS="-s -lz"; export LDFLAGS
 %configure \
        --without-included-gettext
+make -C doc distclean-aminfo
 make
 rm 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{/usr/X11R6/share/applnk/Utilities,%{_sbindir},/sbin}
 
 make install DESTDIR=$RPM_BUILD_ROOT
 
@@ -148,9 +147,12 @@ ln -s %{_sbindir}/install-info $RPM_BUILD_ROOT/sbin/install-info
 
 install %{SOURCE1} $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Utilities
 
-gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*info* \
+gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/*info*,%{_mandir}/man?/*} \
        ChangeLog INTRODUCTION NEWS README info/README
 
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+touch $RPM_BUILD_ROOT%{_infodir}/dir
+
 %find_lang %{name}
 
 %post
@@ -185,6 +187,10 @@ rm -rf $RPM_BUILD_ROOT
 %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)
@@ -198,3 +204,7 @@ rm -rf $RPM_BUILD_ROOT
 %ghost %{_infodir}/dir
 %{_infodir}/info.info*
 %{_infodir}/info-stnd.info*
+
+%{_mandir}/man1/info.1*
+%{_mandir}/man1/install-info.1*
+%{_mandir}/man5/info.5*
This page took 0.216397 seconds and 4 git commands to generate.