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