auto-import pinfo-0.6.0-4 from pinfo-0.6.0-4.src.rpm
This commit is contained in:
parent
4ea5bd62c7
commit
4dfad9a6af
30
pinfo.spec
30
pinfo.spec
@ -1,19 +1,12 @@
|
||||
%define prefix /usr
|
||||
%define datadir /usr/share
|
||||
%define _defaultdocdir %{datadir}/doc
|
||||
|
||||
Summary: An info file viewer.
|
||||
Name: pinfo
|
||||
Version: 0.6.0
|
||||
Release: 3j1
|
||||
Group: Documentation
|
||||
Release: 4
|
||||
Group: System Environment/Base
|
||||
Copyright: GPL
|
||||
Url: http://zeus.polsl.gliwice.pl/~pborys/
|
||||
Source: http://zeus.polsl.gliwice.pl/~pborys/stable-version/pinfo-%{version}.tar.gz
|
||||
Patch0: pinfo-0.6.0-mkstemp.patch
|
||||
Patch1: pinfo-fhs.patch
|
||||
Patch2: pinfo-buildroot.patch
|
||||
Patch10: pinfo-japo.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
|
||||
%description
|
||||
@ -23,23 +16,17 @@ searching and is based on the ncurses library.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .mkstemp
|
||||
%patch1 -p1 -b .fhs
|
||||
%patch2 -p1 -b .buildroot
|
||||
%patch10 -p1 -b .japo
|
||||
%patch -p1 -b .mkstemp
|
||||
|
||||
%build
|
||||
CFLAGS=-ggdb; export CFLAGS
|
||||
./configure --sysconfdir=/etc --prefix=%{prefix} --mandir=%{datadir}/man \
|
||||
--infodir=%{datadir}/info
|
||||
|
||||
%configure --sysconfdir=/etc --disable-nls
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
|
||||
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{makeinstall}
|
||||
ln -sf pinfo $RPM_BUILD_ROOT%{_bindir}/pman
|
||||
ln -sf pinfo.1 $RPM_BUILD_ROOT%{_mandir}/man1/pman.1
|
||||
|
||||
@ -56,11 +43,8 @@ ln -sf pinfo.1 $RPM_BUILD_ROOT%{_mandir}/man1/pman.1
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
* Wed Aug 30 2000 Satoru Sato <ssato@redhat.com>
|
||||
- fix SPEC (don't use %makeinstall and %configure macro)
|
||||
|
||||
- enable nls-support
|
||||
- add ja.po
|
||||
* Wed Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||
- move to the same group as the info and man packages
|
||||
|
||||
* Mon Aug 7 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||
- add pman(1) links, per documentation
|
||||
|
Loading…
Reference in New Issue
Block a user