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