auto-import changelog data from gettext-0.14.1-3.src.rpm

Wed Jun 02 2004 Leon Ho <llch@redhat.com>
- packaged lib files for devel
- moved some of the files to different sub-pkg
- fix problem on x86_64 build
This commit is contained in:
cvsdist 2004-09-09 05:07:27 +00:00
parent b9fa33faf1
commit 64f4df359d
1 changed files with 65 additions and 23 deletions

View File

@ -3,24 +3,14 @@
Summary: GNU libraries and utilities for producing multi-lingual messages.
Name: gettext
Version: 0.14.1
Release: 2.1
Release: 3
License: GPL/LGPL
Group: Development/Tools
Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.gz
URL: http://www.gnu.org/software/gettext/
Source1: po-mode-init.el
Source2: msghack.py
Patch0: gettext-0.10-misc.patch
Patch1: gettext-0.10.35-jbj.patch
Patch2: gettext-0.10.35-arm.patch
Patch3: gettext-0.10.35-hacks.patch
Patch4: gettext-0.10.35-aclocaldir.patch
Patch5: gettext-0.10.35-buildroot.patch
Patch6: gettext-0.10.35-destdir.patch
Patch7: gettext-0.10.35-drepper.patch
Patch8: gettext-0.10.35-oka-plus.patch
Patch9: gettext-0.10.38-msghack.patch
Patch10: gettext-0.11.4-ulonglong.patch
Patch0: gettext-0.14.1-amd64-libtool.patch
Prereq: /sbin/install-info
Buildroot: %{_tmppath}/%{name}-%{version}-root
@ -36,13 +26,28 @@ library and tools for creating, using, and modifying natural language
catalogs and is a powerful and simple method for internationalizing
programs.
%package devel
Summary: Development files for %{name}
Group: Development/C
License: LGPL
Requires: %{name} = %{version}-%{release}
Provides: devel(libintl)
Prereq: /sbin/install-info
%description devel
This package contains all development related files necessary for
developing or compiling applications/libraries that needs
internationalization capability. You also need this package if you
want to add gettext support for your project.
%prep
rm -rf %{buildroot}
%setup -q
%patch0 -p1 -b .x86_64
%build
[ -f /usr/share/automake/depcomp ] && cp -f /usr/share/automake/{depcomp,ylwrap} . || :
%configure --with-included-gettext --disable-shared --with-pic-=yes
%configure --with-included-gettext --enable-shared --with-pic-=yes
make
%install
@ -72,13 +77,23 @@ 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
# doc relocations
for i in gettext-runtime/man/*.html; do
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/gettext/`basename $i`
done
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/gettext/javadoc*
rm -rf htmldoc examples
mkdir htmldoc
mv $RPM_BUILD_ROOT%{_datadir}/doc/gettext/examples examples
mv $RPM_BUILD_ROOT%{_datadir}/doc/gettext/* $RPM_BUILD_ROOT/%{_datadir}/doc/libasprintf/* htmldoc
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libasprintf
# remove unpackaged files from the buildroot
rm -rf $RPM_BUILD_ROOT/usr/doc
rm -rf $RPM_BUILD_ROOT%{_datadir}/emacs
rm -f $RPM_BUILD_ROOT%{_libdir}/{libintl.a,libintl.la}
rm -f $RPM_BUILD_ROOT%{_datadir}/locale/locale.alias
rm -f $RPM_BUILD_ROOT%{_includedir}/{autosprintf.h,gettext-po.h}
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
%clean
@ -98,19 +113,15 @@ exit 0
%doc gettext-runtime/ABOUT-NLS AUTHORS gettext-runtime/BUGS
%doc COPYING gettext-tools/misc/DISCLAIM README
%doc NEWS THANKS gettext-tools/TODO
%doc gettext-runtime/man/*.1.html
%doc gettext-runtime/intl/COPYING*
/bin/*
/usr/bin/*
/usr/share/doc/*
%{_libdir}/gettext
%{_infodir}/*
%{_infodir}/gettext*
%{_mandir}/*/*
#%config %{_libdir}/charset.alias
%{_datadir}/gettext
%{_datadir}/aclocal/*
%{_libdir}/libgettextlib.*
%{_libdir}/libgettextsrc.*
%{_libdir}/libgettextpo.*
%{_libdir}/libasprintf.*
# These aren't in glibc...
%dir /usr/share/locale/en@boldquot
@ -118,7 +129,38 @@ exit 0
%dir /usr/share/locale/en@quot
%dir /usr/share/locale/en@quot/LC_MESSAGES
%files devel
%defattr(-,root,root)
%doc gettext-runtime/man/*.3.html examples
%{_bindir}/gettextize
%{_datadir}/%{name}/ABOUT-NLS
%{_datadir}/%{name}/projects/*
%{_datadir}/%{name}/archive.tar.gz
%{_datadir}/%{name}/config.rpath
%{_datadir}/%{name}/*.h
%{_datadir}/%{name}/intl
%{_datadir}/%{name}/mkinstalldirs
%{_datadir}/%{name}/po
%{_datadir}/%{name}/msgunfmt.tcl
%{_datadir}/aclocal/*
%{_includedir}/*
%{_infodir}/autosprintf*
%{_libdir}/lib*.a
%{_libdir}/lib*.la
%{_libdir}/libasprintf.so*
%{_libdir}/libgettextlib*.so
%{_libdir}/libgettextpo.so*
%{_libdir}/libgettextsrc*.so
%{_libdir}/libintl.so*
%{_mandir}/man3/*
%changelog
* Wed Jun 02 2004 Leon Ho <llch@redhat.com>
- packaged lib files for devel
- moved some of the files to different sub-pkg
- fix problem on x86_64 build
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt