]> git.pld-linux.org Git - packages/pinfo.git/blob - pinfo.spec
- man: man-config subpackage, Req: man-config
[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 Name:           pinfo
6 Version:        0.6.5
7 Release:        1.2
8 License:        GPL
9 Group:          Applications/System
10 Vendor:         Przemek Borys <pborys@dione.ids.pl>
11 Source0:        http://zeus.polsl.gliwice.pl/~pborys/stable-version/%{name}-%{version}.tar.gz
12 Source1:        %{name}.sh
13 Source2:        %{name}.csh
14 Patch0:         %{name}-amfix.patch
15 Requires:       man-config
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  ncurses-devel >= 5.0
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _sysconfdir     /etc
22
23 %description
24 Pinfo is a curses based lynx-style info browser.
25
26 %description -l es
27 Visualizador de páginas info y man.
28
29 %description -l pl
30 Pinfo jest przegl±dark± dokumentów info podobn± do lynksa.
31
32 %description -l pt_BR
33 Visualizador hipertexto de arquivos info e páginas de manual, com
34 interface semelhante ao lynx. Suporta pesquisa de expressões
35 regulares.
36
37 %prep
38 %setup -q
39 %patch -p1
40
41 %build
42 aclocal -I macros
43 autoconf
44 automake -a -c -f
45 %configure \
46         --without-included-gettext
47
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install DESTDIR=$RPM_BUILD_ROOT
54
55 install -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
56 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/%{name}.sh
57 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/%{name}.csh
58
59 gzip -9nf ChangeLog NEWS AUTHORS README
60
61 %find_lang %{name}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files -f %{name}.lang
67 %defattr(644,root,root,755)
68 %doc *.gz
69 %attr(755,root,root) %{_bindir}/pinfo
70 %attr(755,root,root) %{_sysconfdir}/profile.d/*
71 %config %verify(not md5 size mtime) %{_sysconfdir}/pinforc
72
73 %{_mandir}/man1/*
This page took 0.079407 seconds and 4 git commands to generate.