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