- update to 0.6.9

- package locale files
This commit is contained in:
Miroslav Lichvar 2006-09-12 15:34:31 +00:00
parent 67e174857e
commit 4aee068c08
3 changed files with 16 additions and 20 deletions

View File

@ -1 +1 @@
pinfo-0.6.8.tar.bz2 pinfo-0.6.9.tar.bz2

View File

@ -1,18 +1,13 @@
Summary: An info file viewer. Summary: An info file viewer.
Name: pinfo Name: pinfo
Version: 0.6.8 Version: 0.6.9
Release: 11.2.2 Release: 1%{?dist}
Group: System Environment/Base Group: System Environment/Base
License: GPL License: GPL
URL: http://dione.ids.pl/~pborys/software/pinfo URL: http://pinfo.alioth.debian.org
# Actual source is .gz'd so I put the URL here, but convert to bz2
#Source: http://dione.ids.pl/~pborys/software/pinfo/pinfo-%{version}.tar.gz
Source: pinfo-%{version}.tar.bz2 Source: pinfo-%{version}.tar.bz2
Patch0: pinfo-0.6.8-mkstemp.patch
Patch1: pinfo-0.6.8-htmlview.patch Patch1: pinfo-0.6.8-htmlview.patch
Patch2: pinfo-0.6.8.memcorruption.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch3: pinfo-0.6.8.memleak.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
Requires: htmlview Requires: htmlview
@ -26,30 +21,27 @@ using regular expressions, and is based on the ncurses library.
%prep %prep
%setup -q %setup -q
%patch0 -p0 -b .mkstemp
%patch1 -p1 -b .links %patch1 -p1 -b .links
%patch2 -p1 -b .memcorruption
%patch3 -p1 -b .memleak
%build %build
export CFLAGS="-ggdb $RPM_OPT_FLAGS" %configure
%configure --sysconfdir=/etc --disable-nls
make make
%install %install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}} make DESTDIR=$RPM_BUILD_ROOT install
%{makeinstall}
ln -sf pinfo $RPM_BUILD_ROOT%{_bindir}/pman ln -sf pinfo $RPM_BUILD_ROOT%{_bindir}/pman
ln -sf pinfo.1 $RPM_BUILD_ROOT%{_mandir}/man1/pman.1 ln -sf pinfo.1 $RPM_BUILD_ROOT%{_mandir}/man1/pman.1
# This file should not be packaged # This file should not be packaged
rm -f $RPM_BUILD_ROOT%{_infodir}/dir rm -f $RPM_BUILD_ROOT%{_infodir}/dir
%files %find_lang %{name}
%files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TECHSTUFF TODO %doc AUTHORS COPYING ChangeLog* NEWS README TECHSTUFF
# Purposefully not flagged noreplace to ensure new versions have working config # Purposefully not flagged noreplace to ensure new versions have working config
%config %{_sysconfdir}/pinforc %config %{_sysconfdir}/pinforc
%{_bindir}/pinfo %{_bindir}/pinfo
@ -70,6 +62,10 @@ fi
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Tue Sep 12 2006 Miroslav Lichvar <mlichvar@redhat.com> 0.6.9-1.fc6
- update to 0.6.9
- package locale files
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.6.8-11.2.2 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.6.8-11.2.2
- rebuild - rebuild

View File

@ -1 +1 @@
7e89261b3acfd10ec736e8d431c39bf7 pinfo-0.6.8.tar.bz2 e0c788467945f5f97fbacad55863e5b8 pinfo-0.6.9.tar.bz2