auto-import changelog data from gettext-0.10.35-31.src.rpm
Sun Feb 25 2001 Trond Eivind Glomsrd <teg@redhat.com> - Initialize proper fonts when entering po-mode (#29152) Mon Feb 12 2001 Yukihiro Nakai <ynakai@redhat.com> - More fix about msgmerge. Mon Feb 12 2001 Yukihiro Nakai <ynakai@redhat.com> - Fix for msgmerge not to break multibyte strings at Japanese locale. Wed Jan 24 2001 Matt Wilson <msw@redhat.com> - fixed the %lang generator to not have "./" in the lang Sun Jan 14 2001 Trond Eivind Glomsrd <teg@redhat.com> - add an init file for the emacs po-mode - update source URL Thu Jan 11 2001 Bill Nottingham <notting@redhat.com> - put gettext in /bin for initscripts use - %langify Fri Dec 29 2000 Bill Nottingham <notting@redhat.com> - prereq /sbin/install-info
This commit is contained in:
parent
e7d290476b
commit
eeb8d5ea83
57
gettext.spec
57
gettext.spec
@ -1,10 +1,11 @@
|
|||||||
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.10.35
|
Version: 0.10.35
|
||||||
Release: 23
|
Release: 31
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Source: ftp://alpha.gnu.org/pub/gnu/%{name}-%{version}.tar.gz
|
Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.gz
|
||||||
|
Source1: po-mode-init.el
|
||||||
Patch0: gettext-0.10-misc.patch
|
Patch0: gettext-0.10-misc.patch
|
||||||
Patch1: gettext-0.10.35-jbj.patch
|
Patch1: gettext-0.10.35-jbj.patch
|
||||||
Patch2: gettext-0.10.35-arm.patch
|
Patch2: gettext-0.10.35-arm.patch
|
||||||
@ -13,7 +14,9 @@ Patch4: gettext-0.10.35-aclocaldir.patch
|
|||||||
Patch5: gettext-0.10.35-buildroot.patch
|
Patch5: gettext-0.10.35-buildroot.patch
|
||||||
Patch6: gettext-0.10.35-destdir.patch
|
Patch6: gettext-0.10.35-destdir.patch
|
||||||
Patch7: gettext-0.10.35-drepper.patch
|
Patch7: gettext-0.10.35-drepper.patch
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
|
Patch8: gettext-0.10.35-oka-plus.patch
|
||||||
|
Prereq: /sbin/install-info
|
||||||
|
Buildroot: %{_tmppath}/%{name}-%{version}-droot
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The GNU gettext package provides a set of tools and documentation for
|
The GNU gettext package provides a set of tools and documentation for
|
||||||
@ -27,9 +30,6 @@ library and tools for creating, using, and modifying natural language
|
|||||||
catalogs and is a powerful and simple method for internationalizing
|
catalogs and is a powerful and simple method for internationalizing
|
||||||
programs.
|
programs.
|
||||||
|
|
||||||
If you would like to internationalize or incorporate multi-lingual
|
|
||||||
messages into programs that you're developing, you should install
|
|
||||||
gettext.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -42,12 +42,14 @@ rm -rf %{buildroot}
|
|||||||
%patch5 -p1 -b .buildroot
|
%patch5 -p1 -b .buildroot
|
||||||
%patch6 -p0
|
%patch6 -p0
|
||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
|
%patch8 -p1 -b .oka
|
||||||
|
|
||||||
%build
|
%build
|
||||||
libtoolize --copy --force
|
libtoolize --copy --force
|
||||||
aclocal
|
aclocal
|
||||||
automake
|
automake
|
||||||
autoconf
|
autoconf
|
||||||
|
export EMACS=emacs
|
||||||
%configure --enable-shared --with-included-gettext
|
%configure --enable-shared --with-included-gettext
|
||||||
make
|
make
|
||||||
|
|
||||||
@ -57,6 +59,10 @@ rm -rf %{buildroot}
|
|||||||
# Fix busted no-emacs install for $lispdir/po-mode.el
|
# Fix busted no-emacs install for $lispdir/po-mode.el
|
||||||
%makeinstall lispdir=%{buildroot}/usr/share/emacs/site-lisp \
|
%makeinstall lispdir=%{buildroot}/usr/share/emacs/site-lisp \
|
||||||
aclocaldir=%{buildroot}/usr/share/aclocal
|
aclocaldir=%{buildroot}/usr/share/aclocal
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}/bin
|
||||||
|
mv %{buildroot}/%{_bindir}/gettext %{buildroot}/bin
|
||||||
|
ln -s ../../bin/gettext %{buildroot}/%{_bindir}/gettext
|
||||||
|
|
||||||
pushd %{buildroot}
|
pushd %{buildroot}
|
||||||
rm -f .%{_infodir}/dir .%{_includedir}/libintl.h
|
rm -f .%{_infodir}/dir .%{_includedir}/libintl.h
|
||||||
@ -64,6 +70,17 @@ gzip -9nf .%{_infodir}/*
|
|||||||
strip .%{_bindir}/* || :
|
strip .%{_bindir}/* || :
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
pushd %{buildroot}/%{_datadir}/locale
|
||||||
|
for foo in `find . -maxdepth 1 -mindepth 1 -type d` ; do
|
||||||
|
lang=`echo $foo | cut -c 3-`
|
||||||
|
echo "%lang($lang) %{_datadir}/locale/$foo/*/*" >> \
|
||||||
|
$RPM_BUILD_DIR/%{name}-%{version}/trans.list
|
||||||
|
done
|
||||||
|
popd
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/site-start.d
|
||||||
|
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/site-start.d
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
@ -76,16 +93,40 @@ if [ "$1" = 0 ]; then
|
|||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%files
|
%files -f trans.list
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
/bin/*
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_infodir}/*
|
%{_infodir}/*
|
||||||
%{_datadir}/gettext
|
%{_datadir}/gettext
|
||||||
%{_datadir}/locale/*/LC_MESSAGES/*
|
|
||||||
%{_datadir}/aclocal/*
|
%{_datadir}/aclocal/*
|
||||||
%{_datadir}/emacs/site-lisp/*
|
%{_datadir}/emacs/site-lisp/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Feb 25 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- Initialize proper fonts when entering po-mode (#29152)
|
||||||
|
|
||||||
|
* Mon Feb 12 2001 Yukihiro Nakai <ynakai@redhat.com>
|
||||||
|
- More fix about msgmerge.
|
||||||
|
|
||||||
|
* Mon Feb 12 2001 Yukihiro Nakai <ynakai@redhat.com>
|
||||||
|
- Fix for msgmerge not to break multibyte strings
|
||||||
|
at Japanese locale.
|
||||||
|
|
||||||
|
* Wed Jan 24 2001 Matt Wilson <msw@redhat.com>
|
||||||
|
- fixed the %lang generator to not have "./" in the lang
|
||||||
|
|
||||||
|
* Sun Jan 14 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- add an init file for the emacs po-mode
|
||||||
|
- update source URL
|
||||||
|
|
||||||
|
* Thu Jan 11 2001 Bill Nottingham <notting@redhat.com>
|
||||||
|
- put gettext in /bin for initscripts use
|
||||||
|
- %langify
|
||||||
|
|
||||||
|
* Fri Dec 29 2000 Bill Nottingham <notting@redhat.com>
|
||||||
|
- prereq /sbin/install-info
|
||||||
|
|
||||||
* Wed Aug 23 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
* Wed Aug 23 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
- Added patch from Ulrich Drepper
|
- Added patch from Ulrich Drepper
|
||||||
|
|
||||||
|
12
po-mode-init.el
Normal file
12
po-mode-init.el
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
;; Use po-mode for translation files
|
||||||
|
|
||||||
|
(autoload 'po-mode "po-mode")
|
||||||
|
(setq auto-mode-alist (cons '("\\.po[tx]?\\'\\|\\.po\\." . po-mode)
|
||||||
|
auto-mode-alist))
|
||||||
|
|
||||||
|
;;; To automatically use proper fonts under Emacs 20, also add:
|
||||||
|
|
||||||
|
(autoload 'po-find-file-coding-system "po-mode")
|
||||||
|
(modify-coding-system-alist 'file "\\.po[tx]?\\'\\|\\.po\\."
|
||||||
|
'po-find-file-coding-system)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user