X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpinfo.git;a=blobdiff_plain;f=pinfo.spec;h=e2794fd7daa631e77589bda563a75c0ef18386b4;hp=c922c5ffca47b09f48680d9417b8a82d11f49ca8;hb=577432deeb7cc6f3b14bacede1b3f01a79e2f6d7;hpb=439829bd157816161f8e233b9b3eace6eb3b7077 diff --git a/pinfo.spec b/pinfo.spec index c922c5f..e2794fd 100644 --- a/pinfo.spec +++ b/pinfo.spec @@ -1,64 +1,65 @@ -Summary: Lynx-style info and man browser -Summary(pl): Przêgl±darka info i manuali w stylu lynx'a +Summary: Lynx-style info browser +Summary(es): Visualizador de páginas info y man +Summary(pl): Przêgl±darka info w stylu lynksa +Summary(pt_BR): Visualizador de páginas info e man Name: pinfo -Version: 0.3.7 -Release: 2 -Group: Utilities/System -Group(pl): Narzêdzia/System -Copyright: GPL +Version: 0.6.5 +Release: 1 +License: GPL +Group: Applications/System Vendor: Przemek Borys -Source: http://zeus.polsl.gliwice.pl/~pborys/%{name}-%{version}.tar.gz -BuildRoot: /tmp/%{name}-%{version}-root +Source0: http://zeus.polsl.gliwice.pl/~pborys/stable-version/%{name}-%{version}.tar.gz +Patch0: %{name}-amfix.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: ncurses-devel >= 5.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _sysconfdir /etc %description -Pinfo is a curses based lynx-style info and man browser. +Pinfo is a curses based lynx-style info browser. + +%description -l es +Visualizador de páginas info y man. %description -l pl -Pinfo jest przegl±dark± dokumentów info i stron man podobn± do lynx'a. +Pinfo jest przegl±dark± dokumentów info podobn± do lynksa. + +%description -l pt_BR +Visualizador hipertexto de arquivos info e páginas de manual, com +interface semelhante ao lynx. Suporta pesquisa de expressões +regulares. %prep %setup -q +%patch -p1 %build -make SPEEDOPTIMIZE="$RPM_OPT_FLAGS" +aclocal -I macros +autoconf +automake -a -c -f +%configure \ + --without-included-gettext + +%{__make} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/usr/{man/man1,bin} -install -s pinfo $RPM_BUILD_ROOT/usr/bin -install pinfo.1 $RPM_BUILD_ROOT/usr/man/man1 +%{__make} install DESTDIR=$RPM_BUILD_ROOT + +gzip -9nf ChangeLog NEWS AUTHORS README -gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/* -gzip -9nf ACKNOWLEDGEMENTS CHANGELOG TODO TECHSTUFF README +%find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(644,root,root,755) -%doc {ACKNOWLEDGEMENTS,CHANGELOG,TODO,TECHSTUFF,README}.gz -%attr(755,root,root) /usr/bin/pinfo -/usr/man/man1 - -%changelog -* Sun Mar 28 1999 Micha³ Kuratczyk - [0.3.7-2] -- upgraded to 0.3.7 -- added (gzipped) documentation - -* Thu Mar 25 1999 Tomasz K³oczko - [0.3.5-1] -- fixed passing $RPM_OPT_FLAGS. - -* Mon Mar 23 1999 Micha³ Kuratczyk - [0.3.1-1] -- upgraded to 0.3.1 - -* Sun Mar 21 1999 Micha³ Kuratczyk - [0.2.4-1] -- upgraded to 0.2.4 +%doc *.gz +%attr(755,root,root) %{_bindir}/pinfo +%config %verify(not md5 size mtime) %{_sysconfdir}/pinforc -* Fri Mar 19 1999 Micha³ Kuratczyk - [0.2.3-1] -- initial RPM release +%{_mandir}/man1/*