- clean up spec file for merge review (#225717)
This commit is contained in:
parent
33fb6f496e
commit
0e92d8ba7f
27
ed.spec
27
ed.spec
@ -1,13 +1,14 @@
|
|||||||
Summary: The GNU line editor.
|
Summary: The GNU line editor
|
||||||
Name: ed
|
Name: ed
|
||||||
Version: 0.4
|
Version: 0.4
|
||||||
Release: 2
|
Release: 3
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
Source: ftp://ftp.gnu.org/gnu/ed/%{name}-%{version}.tar.bz2
|
Source: ftp://ftp.gnu.org/gnu/ed/%{name}-%{version}.tar.bz2
|
||||||
URL: http://www.gnu.org/software/ed/
|
URL: http://www.gnu.org/software/ed/
|
||||||
Prereq: /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
Buildroot: %{_tmppath}/%{name}-root
|
Requires(preun): /sbin/install-info
|
||||||
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -29,13 +30,14 @@ rm -f stamp-h.in
|
|||||||
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
||||||
%makeinstall bindir=$RPM_BUILD_ROOT/bin \
|
make install DESTDIR=$RPM_BUILD_ROOT \
|
||||||
mandir=$RPM_BUILD_ROOT%{_mandir}/man1
|
bindir=/bin mandir=%{_mandir}/man1
|
||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
|
||||||
gzip -9qnf $RPM_BUILD_ROOT%{_infodir}/*
|
gzip -9qnf $RPM_BUILD_ROOT%{_infodir}/*
|
||||||
install doc/ed.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
install -p -m0644 doc/ed.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/install-info %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed). The GNU Line Editor." || :
|
/sbin/install-info %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed). The GNU Line Editor." || :
|
||||||
@ -53,9 +55,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc ChangeLog NEWS README TODO AUTHORS COPYING
|
%doc ChangeLog NEWS README TODO AUTHORS COPYING
|
||||||
/bin/*
|
/bin/*
|
||||||
%{_infodir}/ed.info.gz
|
%{_infodir}/ed.info.gz
|
||||||
%attr(0644,root,root) %{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 05 2007 Karsten Hopp <karsten@redhat.com> 0.4-3
|
||||||
|
- clean up spec file for merge review (#225717)
|
||||||
|
|
||||||
* Wed Jan 31 2007 Karsten Hopp <karsten@redhat.com> 0.4-2
|
* Wed Jan 31 2007 Karsten Hopp <karsten@redhat.com> 0.4-2
|
||||||
- use RPM_OPT_FLAGS, this fixes debuginfo
|
- use RPM_OPT_FLAGS, this fixes debuginfo
|
||||||
|
|
||||||
@ -165,7 +170,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
- rebuild to gzip man pages.
|
- rebuild to gzip man pages.
|
||||||
|
|
||||||
* Tue Mar 23 1999 Jeff Johnson <jbj@redhat.com>
|
* Tue Mar 23 1999 Jeff Johnson <jbj@redhat.com>
|
||||||
- fix %post syntax error (#1689).
|
- fix %%post syntax error (#1689).
|
||||||
|
|
||||||
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
||||||
- auto rebuild in the new build environment (release 11)
|
- auto rebuild in the new build environment (release 11)
|
||||||
|
Loading…
Reference in New Issue
Block a user