]> git.pld-linux.org Git - packages/pinfo.git/blob - pinfo.spec
- workaround for bug in src/Makefile.am (fixed in pinfo cvs module).
[packages/pinfo.git] / pinfo.spec
1 Summary:        Lynx-style info browser
2 Summary(pl):    Przêgl±darka info w stylu lynx'a
3 Name:           pinfo   
4 Version:        0.6.0
5 Release:        1
6 Group:          Utilities/System
7 Group(pl):      Narzêdzia/System
8 License:        GPL
9 Vendor:         Przemek Borys <pborys@dione.ids.pl>
10 Source0:        http://zeus.polsl.gliwice.pl/~pborys/stable-version/%{name}-%{version}.tar.gz
11 BuildRequires:  ncurses-devel >= 5.0
12 BuildRequires:  gettext-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _sysconfdir     /etc
16
17 %description
18 Pinfo is a curses based lynx-style info browser.
19
20 %description -l pl
21 Pinfo jest przegl±dark± dokumentów info podobn± do lynx'a.
22
23 %prep
24 %setup -q
25
26 %build
27 gettextize --copy --force
28 LDFLAGS="-s"; export LDFLAGS
29 %configure \
30         --without-included-gettext
31         
32 %{__make} 
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_sysconfdir}
37
38 %{__make} install DESTDIR=$RPM_BUILD_ROOT
39
40 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
41         ChangeLog NEWS AUTHORS README
42
43 %find_lang %{name}
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files -f %{name}.lang
49 %defattr(644,root,root,755)
50 %doc *.gz
51 %attr(755,root,root) %{_bindir}/pinfo
52 %config %verify(not md5 size mtime) %{_sysconfdir}/pinforc
53
54 %{_mandir}/man1/*
This page took 0.04309 seconds and 4 git commands to generate.