X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=pinfo.spec;h=b9ad343a366222c9028c0e3d0d5c39c39b0ac8dd;hb=503a23966cdf3feeff799af21a350d4469d568af;hp=acfcdbd0f572a75f0f2f54bbc3673f30f5fa0542;hpb=4bac0f6f15c270f8eb18ddcee47a08445a6b5b09;p=packages%2Fpinfo.git diff --git a/pinfo.spec b/pinfo.spec index acfcdbd..b9ad343 100644 --- a/pinfo.spec +++ b/pinfo.spec @@ -1,14 +1,18 @@ Summary: Lynx-style info browser Summary(pl): Przêgl±darka info w stylu lynx'a -Name: pinfo -Version: 0.2.4 +Name: pinfo +Version: 0.6.0 Release: 1 Group: Utilities/System Group(pl): Narzêdzia/System -Copyright: GPL +License: GPL Vendor: Przemek Borys -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: ncurses-devel >= 5.0 +BuildRequires: gettext-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _sysconfdir /etc %description Pinfo is a curses based lynx-style info browser. @@ -20,30 +24,30 @@ Pinfo jest przegl %setup -q %build -make +gettextize --copy --force +LDFLAGS="-s"; export LDFLAGS +%configure \ + --without-included-gettext + +%{__make} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/usr/{man/man1,bin} -install -s pinfo $RPM_BUILD_ROOT/usr/bin -install pinfo.1 $RPM_BUILD_ROOT/usr/man/man1 +%{__make} install DESTDIR=$RPM_BUILD_ROOT + +gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \ + ChangeLog NEWS AUTHORS README -gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/* +%find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(644,root,root,755) -%attr(755,root,root) /usr/bin/pinfo -/usr/man/man1 - -%changelog -* Sun Mar 21 1999 Micha³ Kuratczyk - [0.2.4-1] -- upgraded to 0.2.4 +%doc *.gz +%attr(755,root,root) %{_bindir}/pinfo +%config %verify(not md5 size mtime) %{_sysconfdir}/pinforc -* Fri Mar 19 1999 Micha³ Kuratczyk - [0.2.3-1] -- initial RPM release +%{_mandir}/man1/*