]> git.pld-linux.org Git - packages/pinfo.git/blob - pinfo.spec
- added using %%{__make} macro.
[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.5.9
5 Release:        3
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
37 %{__make} install DESTDIR=$RPM_BUILD_ROOT
38
39 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
40         ChangeLog NEWS AUTHORS README
41
42 %find_lang %{name}
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files -f %{name}.lang
48 %defattr(644,root,root,755)
49 %doc *.gz
50 %attr(755,root,root) %{_bindir}/pinfo
51 %config %verify(not md5 size mtime) %{_sysconfdir}/pinforc
52
53 %{_mandir}/man1/*
This page took 0.03727 seconds and 4 git commands to generate.