]> git.pld-linux.org Git - packages/pinfo.git/blobdiff - pinfo.spec
- updated to 0.6.3.
[packages/pinfo.git] / pinfo.spec
index 711bf37054fa7d5018f23720a77d0856edaeed13..e9eafa93636fca268dd4e7dcc1a4681af0bfefca 100644 (file)
@@ -1,14 +1,20 @@
 Summary:       Lynx-style info browser
 Summary(pl):   Przêgl±darka info w stylu lynx'a
 Name:          pinfo   
-Version:       0.5.4
+Version:       0.6.3
 Release:       1
-Group:         Utilities/System
-Group(pl):     Narzêdzia/System
-Copyright:     GPL
+Group:         Applications/System
+Group(de):     Applikationen/System
+Group(pl):     Aplikacje/System
+License:       GPL
 Vendor:                Przemek Borys <pborys@dione.ids.pl>
-Source:                http://zeus.polsl.gliwice.pl/~pborys/%{name}-%{version}.tar.gz
-BuildRoot:     /tmp/%{name}-%{version}-root
+Source0:       http://zeus.polsl.gliwice.pl/~pborys/stable-version/%{name}-%{version}.tar.gz
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: ncurses-devel >= 5.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _sysconfdir     /etc
 
 %description
 Pinfo is a curses based lynx-style info browser.
@@ -20,23 +26,20 @@ Pinfo jest przegl
 %setup -q
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
-       --prefix=/usr \
-       --sysconfdir=/etc \
-       --without-included-gettext \
-       --target=%{_target_platform} \
-       --host=%{_host}
+aclocal -I macros
+autoconf
+automake -a -c
+%configure \
+       --without-included-gettext
        
-make 
+%{__make} 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf $RPM_BUILD_ROOT/usr/share/man/man*/* \
-       ChangeLog NEWS AUTHORS README
+gzip -9nf ChangeLog NEWS AUTHORS README
 
 %find_lang %{name}
 
@@ -46,7 +49,7 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc *.gz
-%attr(755,root,root) /usr/bin/pinfo
-%config %verify(not md5 size mtime) /etc/pinforc
+%attr(755,root,root) %{_bindir}/pinfo
+%config %verify(not md5 size mtime) %{_sysconfdir}/pinforc
 
-/usr/share/man/man1/*
+%{_mandir}/man1/*
This page took 0.054246 seconds and 4 git commands to generate.