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