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