- add gcc-java build req
- fix install-info
This commit is contained in:
parent
ba6739d123
commit
81d7683ec3
18
gettext.spec
18
gettext.spec
@ -1,9 +1,11 @@
|
||||
%define libtoolize :
|
||||
%define install_info /sbin/install-info
|
||||
%define remove_install_info /sbin/install-info --delete
|
||||
|
||||
Summary: GNU libraries and utilities for producing multi-lingual messages.
|
||||
Name: gettext
|
||||
Version: 0.14.1
|
||||
Release: 9
|
||||
Release: 10
|
||||
License: GPL/LGPL
|
||||
Group: Development/Tools
|
||||
Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.gz
|
||||
@ -15,7 +17,7 @@ Prereq: /sbin/install-info
|
||||
%ifarch x86_64 ppc64 s390x
|
||||
BuildRequires: automake >= 1.8, autoconf >= 2.5
|
||||
%endif
|
||||
BuildRequires: libtool, bison, gcc-c++
|
||||
BuildRequires: libtool, bison, gcc-c++, gcc-java
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
@ -129,11 +131,11 @@ rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%_install_info %{_infodir}/gettext.info.gz
|
||||
%{install_info} %{_infodir}/gettext.info.gz
|
||||
|
||||
%preun
|
||||
if [ "$1" = 0 ]; then
|
||||
%_remove_install_info %{_infodir}/gettext.info.gz
|
||||
%{remove_install_info} %{_infodir}/gettext.info.gz
|
||||
fi
|
||||
exit 0
|
||||
|
||||
@ -143,11 +145,11 @@ exit 0
|
||||
|
||||
%post devel
|
||||
/sbin/ldconfig
|
||||
%_install_info autosprintf.info
|
||||
%{install_info} %{_infodir}/autosprintf.info
|
||||
|
||||
%preun devel
|
||||
if [ "$1" = 0]; then
|
||||
%_remove_install_info autosprintf.info
|
||||
%{remove_install_info} %{_infodir}/autosprintf.info
|
||||
fi
|
||||
|
||||
%postun devel
|
||||
@ -206,6 +208,10 @@ fi
|
||||
%{_libdir}/%{name}/gnu.gettext.*
|
||||
|
||||
%changelog
|
||||
* Fri Oct 01 2004 Leon Ho <llch@redhat.com>
|
||||
- fix install_info
|
||||
- add gcc-java build requirement
|
||||
|
||||
* Mon Sep 13 2004 Leon Ho <llch@redhat.com>
|
||||
- move java stuff to gettext-devel (#132239)
|
||||
- add BuildRequires: gcc-c++ (#132518)
|
||||
|
Loading…
Reference in New Issue
Block a user