]> git.pld-linux.org Git - packages/pinfo.git/blobdiff - pinfo.spec
- massive attack s/pld.org.pl/pld-linux.org/
[packages/pinfo.git] / pinfo.spec
index 2b975c46dbf9f29ad7bd3b4883dfc8b9037b8a85..16701615a8a70c065461d2a557870132d671dfb7 100644 (file)
@@ -2,17 +2,23 @@ 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.6.5
-Release:       1
+Summary(ru):   ðÒÏÇÒÁÍÍÁ ÐÒÏÓÍÏÔÒÁ info- É man-ÄÏËÕÍÅÎÔÏ× × ÓÔÉÌÅ lynx
+Summary(uk):   ðÒÏÇÒÁÍÁ ÐÅÒÅÇÌÑÄÕ info- ÔÁ man-ÄÏËÕÍÅÎԦנՠÓÔÉ̦ lynx
+Name:          pinfo
+Version:       0.6.7
+Release:       2
 License:       GPL
 Group:         Applications/System
 Vendor:                Przemek Borys <pborys@dione.ids.pl>
 Source0:       http://zeus.polsl.gliwice.pl/~pborys/stable-version/%{name}-%{version}.tar.gz
+Source1:       %{name}.sh
+Source2:       %{name}.csh
 Patch0:                %{name}-amfix.patch
+Patch1:                %{name}-info.patch
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: ncurses-devel >= 5.0
+Requires:      man-config
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc
@@ -31,35 +37,55 @@ Visualizador hipertexto de arquivos info e p
 interface semelhante ao lynx. Suporta pesquisa de expressões
 regulares.
 
+%description -l ru
+Pinfo - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÐÒÏÓÍÏÔÒÁ info-ÆÁÊÌÏ× É man-ÓÔÒÁÎÉÃ. åÅ
+ÉÎÔÅÒÆÅÊÓ ÐÏÌØÚÏ×ÁÔÅÌÑ ÐÏÈÏÖ ÎÁ ÉÎÔÅÒÆÅÊÓ Lynx. ðÏÄÄÅÒÖÉ×ÁÅÔÓÑ ÐÏÉÓË
+ÐÏ ÒÅÇÕÌÑÒÎÙÍ ×ÙÒÁÖÅÎÉÑÍ.
+
+%description -l uk
+Pinfo - ÃÅ ÐÒÏÇÒÁÍÁ ÐÅÒÅÇÌÑÄÕ info-ÆÁÊ̦נÔÁ man-ÓÔÏÒ¦ÎÏË. ·§
+¦ÎÔÅÒÆÅÊÓ ÐÏĦÂÎÉÊ ÄÏ ¦ÎÔÅÒÆÅÊÓÕ Lynx. ð¦ÄÔÒÉÍÕ¤ÔØÓÑ ÐÏÛÕË ÐÏ
+ÒÅÇÕÌÑÒÎÉÍ ×ÉÒÁÚÁÍ.
+
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
+%patch1 -p1
 
 %build
-aclocal -I macros
-autoconf
-automake -a -c -f
+%{__aclocal} -I macros
+%{__autoconf}
+%{__automake}
 %configure \
        --without-included-gettext
-       
-%{__make} 
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc/profile.d
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf ChangeLog NEWS AUTHORS README
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/profile.d/%{name}.sh
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/profile.d/%{name}.csh
 
 %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
+
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc *.gz
+%doc ChangeLog NEWS AUTHORS README
 %attr(755,root,root) %{_bindir}/pinfo
-%config %verify(not md5 size mtime) %{_sysconfdir}/pinforc
-
+%attr(755,root,root) /etc/profile.d/*
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/pinforc
 %{_mandir}/man1/*
+%{_infodir}/pinfo*
This page took 0.086487 seconds and 4 git commands to generate.