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