automatic version update by autodist [release 0.18.3.2-1mamba;Sun Jan 12 2014]
This commit is contained in:
parent
505c3ce2a6
commit
0a7f117e0c
@ -1,2 +1,7 @@
|
||||
# gettext
|
||||
|
||||
The GNU gettext package provides a set of tools and documentation for producing multi-lingual messages in programs.
|
||||
Tools include a set of conventions about how programs should be written to support message catalogs, a directory and file naming organization for the message catalogs, a runtime library which supports the retrieval of translated
|
||||
messages, and stand-alone programs for handling the translatable and the already translated strings.
|
||||
Gettext provides an easy to use library and tools for creating, using, and modifying natural language catalogs and is a powerful and simple method for internationalizing programs.
|
||||
|
||||
|
85
gettext-0.17-wchar-fix.patch
Normal file
85
gettext-0.17-wchar-fix.patch
Normal file
@ -0,0 +1,85 @@
|
||||
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# T2 SDE: package/.../gettext/wchar-fix.patch
|
||||
# Copyright (C) 2008 The T2 SDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- T2-COPYRIGHT-NOTE-END ---
|
||||
|
||||
diff -Nur gettext-0.17-orig/gettext-runtime/gnulib-lib/wchar.in.h gettext-0.17/gettext-runtime/gnulib-lib/wchar.in.h
|
||||
--- gettext-0.17-orig/gettext-runtime/gnulib-lib/wchar.in.h 2008-04-10 18:18:04.000000000 +0000
|
||||
+++ gettext-0.17/gettext-runtime/gnulib-lib/wchar.in.h 2008-04-10 18:19:04.000000000 +0000
|
||||
@@ -26,6 +26,14 @@
|
||||
* the declaration of wcwidth().
|
||||
*/
|
||||
|
||||
+#ifdef __need_mbstate_t
|
||||
+/* Special invocation convention inside glibc header files. */
|
||||
+
|
||||
+#@INCLUDE_NEXT@ @NEXT_WCHAR_H@
|
||||
+
|
||||
+#else
|
||||
+/* Normal invocation convention. */
|
||||
+
|
||||
#ifndef _GL_WCHAR_H
|
||||
|
||||
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
|
||||
@@ -80,3 +88,4 @@
|
||||
|
||||
#endif /* _GL_WCHAR_H */
|
||||
#endif /* _GL_WCHAR_H */
|
||||
+#endif
|
||||
diff -Nur gettext-0.17-orig/gettext-tools/gnulib-lib/wchar.in.h gettext-0.17/gettext-tools/gnulib-lib/wchar.in.h
|
||||
--- gettext-0.17-orig/gettext-tools/gnulib-lib/wchar.in.h 2008-04-11 17:03:22.000000000 +0000
|
||||
+++ gettext-0.17/gettext-tools/gnulib-lib/wchar.in.h 2008-04-11 17:49:45.000000000 +0000
|
||||
@@ -26,6 +26,14 @@
|
||||
* the declaration of wcwidth().
|
||||
*/
|
||||
|
||||
+#ifdef __need_mbstate_t
|
||||
+/* Special invocation convention inside glibc header files. */
|
||||
+
|
||||
+#@INCLUDE_NEXT@ @NEXT_WCHAR_H@
|
||||
+
|
||||
+#else
|
||||
+/* Normal invocation convention. */
|
||||
+
|
||||
#ifndef _GL_WCHAR_H
|
||||
|
||||
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
|
||||
@@ -80,3 +88,4 @@
|
||||
|
||||
#endif /* _GL_WCHAR_H */
|
||||
#endif /* _GL_WCHAR_H */
|
||||
+#endif
|
||||
diff -Nur gettext-0.17-orig/gettext-tools/libgettextpo/wchar.in.h gettext-0.17/gettext-tools/libgettextpo/wchar.in.h
|
||||
--- gettext-0.17-orig/gettext-tools/libgettextpo/wchar.in.h 2008-04-11 17:03:22.000000000 +0000
|
||||
+++ gettext-0.17/gettext-tools/libgettextpo/wchar.in.h 2008-04-11 18:14:51.000000000 +0000
|
||||
@@ -26,6 +26,14 @@
|
||||
* the declaration of wcwidth().
|
||||
*/
|
||||
|
||||
+#ifdef __need_mbstate_t
|
||||
+/* Special invocation convention inside glibc header files. */
|
||||
+
|
||||
+#@INCLUDE_NEXT@ @NEXT_WCHAR_H@
|
||||
+
|
||||
+#else
|
||||
+/* Normal invocation convention. */
|
||||
+
|
||||
#ifndef _GL_WCHAR_H
|
||||
|
||||
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
|
||||
@@ -80,3 +88,4 @@
|
||||
|
||||
#endif /* _GL_WCHAR_H */
|
||||
#endif /* _GL_WCHAR_H */
|
||||
+#endif
|
315
gettext.spec
Normal file
315
gettext.spec
Normal file
@ -0,0 +1,315 @@
|
||||
%if "%{?stage1}" != "1"
|
||||
%define with_csharp 1
|
||||
%endif
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: gettext
|
||||
Version: 0.18.3.2
|
||||
Release: 1mamba
|
||||
Summary: GNU libraries and utilities for producing multi-lingual messages
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: ftp://ftp.gnu.org/gnu/gettext
|
||||
Source: ftp://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.gz
|
||||
Patch0: %{name}-0.17-wchar-fix.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libacl-devel
|
||||
%if "%{?stage1}" != "1"
|
||||
BuildRequires: libcroco-devel
|
||||
%endif
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libgcj4-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libgomp-devel
|
||||
BuildRequires: liblzma-devel
|
||||
BuildRequires: libncurses-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libunistring-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
%if "%{?stage1}" != "1"
|
||||
BuildRequires: perl >= %perl_major_ver
|
||||
BuildRequires: emacs
|
||||
BuildRequires: tetex-dvips
|
||||
BuildRequires: emacs-nox
|
||||
BuildRequires: texinfo
|
||||
BuildRequires: gcc-java
|
||||
BuildRequires: java-gcj-compat
|
||||
%endif
|
||||
BuildRequires: gcc-c++
|
||||
%if "%{?with_csharp}"
|
||||
BuildRequires: mono
|
||||
%endif
|
||||
Requires(post):%{__install_info}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
The GNU gettext package provides a set of tools and documentation for producing multi-lingual messages in programs.
|
||||
Tools include a set of conventions about how programs should be written to support message catalogs, a directory and file naming organization for the message catalogs, a runtime library which supports the retrieval of translated
|
||||
messages, and stand-alone programs for handling the translatable and the already translated strings.
|
||||
Gettext provides an easy to use library and tools for creating, using, and modifying natural language catalogs and is a powerful and simple method for internationalizing programs.
|
||||
|
||||
%package devel
|
||||
Summary: Tools and documentation for developers and translators
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The GNU gettext package provides a set of tools and documentation for producing multi-lingual messages in programs.
|
||||
Tools include a set of conventions about how programs should be written to support message catalogs, a directory and file naming organization for the message catalogs, a runtime library which supports the retrieval of translated
|
||||
messages, and stand-alone programs for handling the translatable and the already translated strings.
|
||||
Gettext provides an easy to use library and tools for creating, using, and modifying natural language catalogs and is a powerful and simple method for internationalizing programs.
|
||||
|
||||
If you would like to internationalize or incorporate multi-lingual messages into programs that you're developing, you should install this package.
|
||||
|
||||
%package -n java-gettext
|
||||
Summary: Java GNU library for producing multi-lingual messages
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description -n java-gettext
|
||||
The GNU gettext package provides a set of tools and documentation for producing multi-lingual messages in programs.
|
||||
Tools include a set of conventions about how programs should be written to support message catalogs, a directory and file naming organization for the message catalogs, a runtime library which supports the retrieval of translated
|
||||
messages, and stand-alone programs for handling the translatable and the already translated strings.
|
||||
Gettext provides an easy to use library and tools for creating, using, and modifying natural language catalogs and is a powerful and simple method for internationalizing programs.
|
||||
This package provides the GNU java library for producing multi-lingual messages.
|
||||
|
||||
%package -n mono-gettext
|
||||
Summary: Mono (C-sharp) GNU library for producing multi-lingual messages
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description -n mono-gettext
|
||||
The GNU gettext package provides a set of tools and documentation for producing multi-lingual messages in programs.
|
||||
Tools include a set of conventions about how programs should be written to support message catalogs, a directory and file naming organization for the message catalogs, a runtime library which supports the retrieval of translated
|
||||
messages, and stand-alone programs for handling the translatable and the already translated strings.
|
||||
Gettext provides an easy to use library and tools for creating, using, and modifying natural language catalogs and is a powerful and simple method for internationalizing programs.
|
||||
This package provides the Mono (C-sharp) GNU library for producing multi-lingual messages.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--enable-nls \
|
||||
%if "%{?with_csharp}"
|
||||
--enable-csharp \
|
||||
%else
|
||||
--disable-csharp \
|
||||
%endif
|
||||
%if "%{?stage1}" == "1"
|
||||
--disable-java \
|
||||
%endif
|
||||
--enable-shared
|
||||
|
||||
%make -j1
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeoldinstall \
|
||||
aclocaldir=%{buildroot}%{_datadir}/aclocal \
|
||||
lispdir=%{buildroot}%{_datadir}/emacs/site-lisp
|
||||
|
||||
# '+x' required by ldd
|
||||
chmod +x %{buildroot}%{_libdir}/preloadable_libintl.so
|
||||
|
||||
%if "%{?stage1}" != "1"
|
||||
for f in po-compat.elc po-mode.elc start-po.elc; do
|
||||
sed -i "s,^;;; from file %{_builddir}/,;;; from file ," \
|
||||
%{buildroot}%{_datadir}/emacs/site-lisp/$f
|
||||
done
|
||||
%endif
|
||||
|
||||
%find_lang gettext-runtime
|
||||
%find_lang gettext-tools
|
||||
|
||||
%post
|
||||
%install_info autosprintf.info
|
||||
%install_info %{name}.info
|
||||
/sbin/ldconfig
|
||||
:
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun devel -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%uninstall_info autosprintf.info
|
||||
%uninstall_info %{name}.info
|
||||
:
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files -f gettext-runtime.lang
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
%exclude %{_bindir}/autopoint
|
||||
%exclude %{_bindir}/gettextize
|
||||
%{_libdir}/libgettextlib*.so
|
||||
%{_libdir}/libgettextsrc*.so
|
||||
%{_libdir}/libasprintf.so*
|
||||
%{_libdir}/preloadable_libintl.so
|
||||
%{_datadir}/doc/gettext/FAQ.html
|
||||
%{_datadir}/doc/gettext/envsubst.1.html
|
||||
%{_datadir}/doc/gettext/gettext.1.html
|
||||
%{_datadir}/doc/gettext/gettext_*.html
|
||||
%{_datadir}/doc/gettext/msg*.1.html
|
||||
%{_datadir}/doc/gettext/ngettext.1.html
|
||||
%{_datadir}/doc/gettext/xgettext.1.html
|
||||
%{_datadir}/doc/gettext/tutorial.html
|
||||
%{_datadir}/gettext/ABOUT-NLS
|
||||
%{_infodir}/gettext.info.*
|
||||
%{_infodir}/autosprintf.info.*
|
||||
%{_mandir}/man1/*
|
||||
%exclude %{_mandir}/man1/gettextize.*
|
||||
%exclude %{_mandir}/man1/autopoint.*
|
||||
|
||||
%files devel -f gettext-tools.lang
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/autopoint
|
||||
%{_bindir}/gettextize
|
||||
%{_includedir}/*.h
|
||||
%{_libdir}/libgettextpo.so*
|
||||
%{_libdir}/gettext/*
|
||||
%{_libdir}/lib*.a
|
||||
%{_libdir}/lib*.la
|
||||
%{_datadir}/aclocal/*
|
||||
%if "%{?stage1}" != "1"
|
||||
%{_datadir}/emacs/site-lisp/*
|
||||
%endif
|
||||
%{_datadir}/gettext/archive.dir.tar.xz
|
||||
%{_datadir}/gettext/config.rpath
|
||||
%{_datadir}/gettext/gettext.h
|
||||
%{_datadir}/gettext/javaversion.class
|
||||
#%{_datadir}/gettext/mkinstalldirs
|
||||
%{_datadir}/gettext/msgunfmt.tcl
|
||||
%{_datadir}/gettext/intl/*
|
||||
%{_datadir}/gettext/po/*
|
||||
%{_datadir}/gettext/projects/*
|
||||
%{_datadir}/gettext/styles/*.css
|
||||
%{_datadir}/doc/gettext/*.3.html
|
||||
%{_datadir}/doc/gettext/autopoint.1.html
|
||||
%{_datadir}/doc/gettext/gettextize.1.html
|
||||
%{_datadir}/doc/gettext/recode-sr-latin.1.html
|
||||
%{_datadir}/doc/gettext/examples/*
|
||||
%{_datadir}/doc/gettext/csharpdoc/*
|
||||
#%{_datadir}/doc/gettext/javadoc1/*
|
||||
%{_datadir}/doc/gettext/javadoc2/*
|
||||
%{_datadir}/doc/libasprintf/autosprintf_all.html
|
||||
%{_mandir}/man1/autopoint.*
|
||||
%{_mandir}/man1/gettextize.*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%if "%{?stage1}" != "1"
|
||||
%files -n java-gettext
|
||||
%defattr(-,root,root)
|
||||
#% ifarch %{ix86}
|
||||
#%{_datadir}/gettext/gettext.jar
|
||||
#% endif
|
||||
%{_datadir}/gettext/libintl.jar
|
||||
%endif
|
||||
|
||||
%if "%{?with_csharp}"
|
||||
%files -n mono-gettext
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/GNU.Gettext.dll
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sun Jan 12 2014 Automatic Build System <autodist@mambasoft.it> 0.18.3.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Aug 18 2013 Automatic Build System <autodist@mambasoft.it> 0.18.3.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Jul 08 2013 Automatic Build System <autodist@mambasoft.it> 0.18.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed May 29 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.18.2.1-3mamba
|
||||
- arm: rebuilt with new ncurses
|
||||
|
||||
* Mon Apr 08 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.18.2.1-2mamba
|
||||
- rebuilt with gcc 4.8.0
|
||||
|
||||
* Thu Mar 07 2013 Automatic Build System <autodist@mambasoft.it> 0.18.2.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Dec 31 2012 Automatic Build System <autodist@mambasoft.it> 0.18.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Jun 24 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.18.1.1-2mamba
|
||||
- rebuilt with gcc 4.7.1
|
||||
|
||||
* Sat Jun 12 2010 Automatic Build System <autodist@mambasoft.it> 0.18.1.1-1mamba
|
||||
- automatic update to 0.18.1.1 by autodist
|
||||
|
||||
* Sat May 15 2010 Automatic Build System <autodist@mambasoft.it> 0.18-1mamba
|
||||
- automatic update to 0.18 by autodist
|
||||
|
||||
* Thu Sep 11 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.17-2mamba
|
||||
- rebuilt against gcj 4.3.2
|
||||
|
||||
* Tue Dec 11 2007 Aleph0 <aleph0@openmamba.org> 0.17-1mamba
|
||||
- update to 0.17
|
||||
|
||||
* Fri May 18 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.1-1mamba
|
||||
- update to 0.16.1
|
||||
- added build requirements for emacs-nox and libgomp-devel
|
||||
|
||||
* Sun Nov 05 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16-2qilnx
|
||||
- rebuilt for devel-sc repository with gcc 4.1.1
|
||||
|
||||
* Thu Nov 02 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.16-1qilnx
|
||||
- update to version 0.16 by autospec
|
||||
|
||||
* Thu Oct 12 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.14.6-1qilnx
|
||||
- update to version 0.14.6 by autospec
|
||||
|
||||
* Fri Jan 13 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.14.5-2qilnx
|
||||
- conditional C# support building
|
||||
|
||||
* Mon Sep 26 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.14.5-1qilnx
|
||||
- update to version 0.14.5 by autospec
|
||||
- preloadable_libintl.so library moved to main package
|
||||
- added C# support
|
||||
|
||||
* Wed Apr 13 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.14.4-2qilnx
|
||||
- added missing build requirements
|
||||
|
||||
* Tue Apr 12 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.14.4-1qilnx
|
||||
- update to version 0.14.4 by autospec
|
||||
|
||||
* Wed Apr 06 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.14.3-2qilnx
|
||||
- added missing %%post, %%postun, and %%preun scripts
|
||||
- moved some binaries from devel to main package because they are used
|
||||
by the LSB software when checking the runtime environment
|
||||
- moved most of the documentation in the devel package
|
||||
|
||||
* Wed Mar 16 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.14.3-1qilnx
|
||||
- update to version 0.14.3 by autospec
|
||||
|
||||
* Fri Feb 25 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.14.2-1qilnx
|
||||
- update to version 0.14.2 by autospec
|
||||
|
||||
* Sat Jan 31 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.14.1-1qilnx
|
||||
- package update (main new feature: C# support)
|
||||
- added the compilation note
|
||||
|
||||
* Thu Jan 29 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.14-1qilnx
|
||||
- package update
|
||||
|
||||
* Thu Dec 18 2003 Davide Madrisan <davide.madrisan@qilinux.it> 0.13.1-1qilnx
|
||||
- rebuilt with latest version (bug fixes in the testsuite and in the examples)
|
||||
|
||||
* Tue Dec 02 2003 Davide Madrisan <davide.madrisan@qilinux.it> 0.13-1qilnx
|
||||
- rebuilt with latest version.
|
||||
- various specfile updates. RPM package splitted into two packages.
|
||||
|
||||
* Mon Apr 14 2003 Alessandro Ramazzina <alessandro.ramazzina@qinet.it>
|
||||
- creation of gettext package
|
Loading…
Reference in New Issue
Block a user