]> git.pld-linux.org Git - packages/pinfo.git/blob - pinfo.spec
- md5
[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.7
9 Release:        2
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 # Source0-md5:  d0ac823aa8fe528ed54004d022cb0896
15 Source1:        %{name}.sh
16 Source2:        %{name}.csh
17 Patch0:         %{name}-amfix.patch
18 Patch1:         %{name}-info.patch
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  ncurses-devel >= 5.0
22 Requires:       man-config
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Pinfo is a curses based lynx-style info browser.
27
28 %description -l es
29 Visualizador de páginas info y man.
30
31 %description -l pl
32 Pinfo jest przegl±dark± dokumentów info podobn± do lynksa.
33
34 %description -l pt_BR
35 Visualizador hipertexto de arquivos info e páginas de manual, com
36 interface semelhante ao lynx. Suporta pesquisa de expressões
37 regulares.
38
39 %description -l ru
40 Pinfo - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÐÒÏÓÍÏÔÒÁ info-ÆÁÊÌÏ× É man-ÓÔÒÁÎÉÃ. åÅ
41 ÉÎÔÅÒÆÅÊÓ ÐÏÌØÚÏ×ÁÔÅÌÑ ÐÏÈÏÖ ÎÁ ÉÎÔÅÒÆÅÊÓ Lynx. ðÏÄÄÅÒÖÉ×ÁÅÔÓÑ ÐÏÉÓË
42 ÐÏ ÒÅÇÕÌÑÒÎÙÍ ×ÙÒÁÖÅÎÉÑÍ.
43
44 %description -l uk
45 Pinfo - ÃÅ ÐÒÏÇÒÁÍÁ ÐÅÒÅÇÌÑÄÕ info-ÆÁÊ̦נÔÁ man-ÓÔÏÒ¦ÎÏË. ·§
46 ¦ÎÔÅÒÆÅÊÓ ÐÏĦÂÎÉÊ ÄÏ ¦ÎÔÅÒÆÅÊÓÕ Lynx. ð¦ÄÔÒÉÍÕ¤ÔØÓÑ ÐÏÛÕË ÐÏ
47 ÒÅÇÕÌÑÒÎÉÍ ×ÉÒÁÚÁÍ.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52 %patch1 -p1
53
54 %build
55 %{__aclocal} -I macros
56 %{__autoconf}
57 %{__automake}
58 %configure \
59         --without-included-gettext
60
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT/etc/profile.d
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 install %{SOURCE1} $RPM_BUILD_ROOT/etc/profile.d/%{name}.sh
71 install %{SOURCE2} $RPM_BUILD_ROOT/etc/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) /etc/profile.d/*
89 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/pinforc
90 %{_mandir}/man1/*
91 %{_infodir}/pinfo*
This page took 0.048749 seconds and 4 git commands to generate.