- move java stuff to gettext-devel (#132239)
- add BuildRequires: gcc-c++ (#132518) - add some missing install-info and ldconfig (#131272)
This commit is contained in:
parent
5d4c88ba62
commit
ee1a353bde
36
gettext.spec
36
gettext.spec
@ -3,7 +3,7 @@
|
|||||||
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: 7
|
Release: 8
|
||||||
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 +15,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
|
BuildRequires: libtool, bison, gcc-c++
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -107,14 +107,32 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/preloadable_libintl.so
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/install-info %{_infodir}/gettext.info.gz %{_infodir}/dir
|
/sbin/ldconfig
|
||||||
|
%_install_info %{_infodir}/gettext.info.gz
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ "$1" = 0 ]; then
|
if [ "$1" = 0 ]; then
|
||||||
/sbin/install-info --delete %{_infodir}/gettext.info.gz %{_infodir}/dir
|
%_remove_install_info %{_infodir}/gettext.info.gz
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
%post devel
|
||||||
|
/sbin/ldconfig
|
||||||
|
%_install_info autosprintf.info
|
||||||
|
|
||||||
|
%preun devel
|
||||||
|
if [ "$1" = 0]; then
|
||||||
|
%_remove_install_info autosprintf.info
|
||||||
|
fi
|
||||||
|
|
||||||
|
%postun devel
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files -f trans.list
|
%files -f trans.list
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc gettext-runtime/ABOUT-NLS AUTHORS gettext-runtime/BUGS
|
%doc gettext-runtime/ABOUT-NLS AUTHORS gettext-runtime/BUGS
|
||||||
@ -138,7 +156,7 @@ exit 0
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
#%config %{_libdir}/charset.alias
|
#%config %{_libdir}/charset.alias
|
||||||
%{_libdir}/%{name}
|
%{_libdir}/%{name}
|
||||||
|
%exclude %{_libdir}/%{name}/gnu.gettext.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -161,9 +179,15 @@ exit 0
|
|||||||
%{_libdir}/libasprintf.so*
|
%{_libdir}/libasprintf.so*
|
||||||
%{_libdir}/libgettextpo.so*
|
%{_libdir}/libgettextpo.so*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
%doc gettext-runtime/intl-java/javadoc*
|
||||||
|
%{_libdir}/%{name}/gnu.gettext.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 13 2004 Leon Ho <llch@redhat.com>
|
||||||
|
- move java stuff to gettext-devel (#132239)
|
||||||
|
- add BuildRequires: gcc-c++ (#132518)
|
||||||
|
- add some missing install-info and ldconfig (#131272)
|
||||||
|
|
||||||
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user