]> git.pld-linux.org Git - packages/pinfo.git/commitdiff
- updated to 0.5.6, pinfo-0_5_6-1
authorkloczek <kloczek@pld-linux.org>
Sun, 22 Aug 1999 15:13:46 +0000 (15:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added using more rpm macros,
- updated Source url.

Changed files:
    pinfo.spec -> 1.14

pinfo.spec

index 711bf37054fa7d5018f23720a77d0856edaeed13..03decc8645126e2ec2526f0a09662f15200b5b95 100644 (file)
@@ -1,15 +1,17 @@
 Summary:       Lynx-style info browser
 Summary(pl):   Przêgl±darka info w stylu lynx'a
 Name:          pinfo   
-Version:       0.5.4
+Version:       0.5.6
 Release:       1
 Group:         Utilities/System
 Group(pl):     Narzêdzia/System
 Copyright:     GPL
 Vendor:                Przemek Borys <pborys@dione.ids.pl>
-Source:                http://zeus.polsl.gliwice.pl/~pborys/%{name}-%{version}.tar.gz
+Source:                http://zeus.polsl.gliwice.pl/~pborys/stable-version/%{name}-%{version}.tar.gz
 BuildRoot:     /tmp/%{name}-%{version}-root
 
+%define                _sysconfdir     /etc
+
 %description
 Pinfo is a curses based lynx-style info browser.
 
@@ -20,13 +22,10 @@ Pinfo jest przegl
 %setup -q
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
-       --prefix=/usr \
+LDFLAGS="-s"; export LDFLAGS
+%configure \
        --sysconfdir=/etc \
-       --without-included-gettext \
-       --target=%{_target_platform} \
-       --host=%{_host}
+       --without-included-gettext
        
 make 
 
@@ -35,7 +34,7 @@ rm -rf $RPM_BUILD_ROOT
 
 make install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf $RPM_BUILD_ROOT/usr/share/man/man*/* \
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
        ChangeLog NEWS AUTHORS README
 
 %find_lang %{name}
@@ -46,7 +45,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.036989 seconds and 4 git commands to generate.