]> git.pld-linux.org Git - packages/pinfo.git/blob - pinfo.spec
- merge translations from KSI.
[packages/pinfo.git] / pinfo.spec
1 Summary:        Lynx-style info browser
2 Summary(es):    Visualizador de páginas info y man
3 Summary(pl):    Przêgl±darka info w stylu lynksa
4 Summary(pt_BR): Visualizador de páginas info e man
5 Summary(ru):    ðÒÏÇÒÁÍÍÁ ÐÒÏÓÍÏÔÒÁ info- É man-ÄÏËÕÍÅÎÔÏ× × ÓÔÉÌÅ lynx
6 Summary(uk):    ðÒÏÇÒÁÍÁ ÐÅÒÅÇÌÑÄÕ info- ÔÁ man-ÄÏËÕÍÅÎԦנՠÓÔÉ̦ lynx
7 Name:           pinfo
8 Version:        0.6.6p1
9 Release:        1
10 License:        GPL
11 Group:          Applications/System
12 Vendor:         Przemek Borys <pborys@dione.ids.pl>
13 Source0:        http://zeus.polsl.gliwice.pl/~pborys/stable-version/%{name}-%{version}.tar.gz
14 Source1:        %{name}.sh
15 Source2:        %{name}.csh
16 Patch0:         %{name}-amfix.patch
17 Patch1:         %{name}-info.patch
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  ncurses-devel >= 5.0
21 Requires:       man-config
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _sysconfdir     /etc
25
26 %description
27 Pinfo is a curses based lynx-style info browser.
28
29 %description -l es
30 Visualizador de páginas info y man.
31
32 %description -l pl
33 Pinfo jest przegl±dark± dokumentów info podobn± do lynksa.
34
35 %description -l pt_BR
36 Visualizador hipertexto de arquivos info e páginas de manual, com
37 interface semelhante ao lynx. Suporta pesquisa de expressões
38 regulares.
39
40 %description -l ru
41 Pinfo - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÐÒÏÓÍÏÔÒÁ info-ÆÁÊÌÏ× É man-ÓÔÒÁÎÉÃ. åÅ
42 ÉÎÔÅÒÆÅÊÓ ÐÏÌØÚÏ×ÁÔÅÌÑ ÐÏÈÏÖ ÎÁ ÉÎÔÅÒÆÅÊÓ Lynx. ðÏÄÄÅÒÖÉ×ÁÅÔÓÑ ÐÏÉÓË
43 ÐÏ ÒÅÇÕÌÑÒÎÙÍ ×ÙÒÁÖÅÎÉÑÍ.
44
45 %description -l uk
46 Pinfo - ÃÅ ÐÒÏÇÒÁÍÁ ÐÅÒÅÇÌÑÄÕ info-ÆÁÊ̦נÔÁ man-ÓÔÏÒ¦ÎÏË. ·§
47 ¦ÎÔÅÒÆÅÊÓ ÐÏĦÂÎÉÊ ÄÏ ¦ÎÔÅÒÆÅÊÓÕ Lynx. ð¦ÄÔÒÉÍÕ¤ÔØÓÑ ÐÏÛÕË ÐÏ
48 ÒÅÇÕÌÑÒÎÉÍ ×ÉÒÁÚÁÍ.
49
50 %prep
51 %setup -q
52 %patch0 -p1
53 %patch1 -p1
54
55 %build
56 aclocal -I macros
57 %{__autoconf}
58 %{__automake}
59 %configure \
60         --without-included-gettext
61
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install DESTDIR=$RPM_BUILD_ROOT
68
69 install -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
70 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/%{name}.sh
71 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/%{name}.csh
72
73 %find_lang %{name}
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post
79 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
80
81 %postun
82 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
83
84 %files -f %{name}.lang
85 %defattr(644,root,root,755)
86 %doc ChangeLog NEWS AUTHORS README
87 %attr(755,root,root) %{_bindir}/pinfo
88 %attr(755,root,root) %{_sysconfdir}/profile.d/*
89 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/pinforc
90 %{_mandir}/man1/*
91 %{_infodir}/*
This page took 0.038907 seconds and 4 git commands to generate.