From 61f262dc6316eaab9c9c6b2f95e8a4626a4fcbd7 Mon Sep 17 00:00:00 2001 From: kloczek Date: Sun, 22 Aug 1999 15:13:46 +0000 Subject: [PATCH] - updated to 0.5.6, - added using more rpm macros, - updated Source url. Changed files: pinfo.spec -> 1.14 --- pinfo.spec | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/pinfo.spec b/pinfo.spec index 711bf37..03decc8 100644 --- a/pinfo.spec +++ b/pinfo.spec @@ -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 -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/* -- 2.44.0