automatic version update by autodist [release 0.23.1-1mamba;Thu Jan 02 2025]

This commit is contained in:
Automatic Build System 2025-01-04 19:15:17 +01:00
parent e617bfa42b
commit 18a69d61d3
3 changed files with 18 additions and 126 deletions

View File

@ -1,85 +0,0 @@
# --- 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

View File

@ -7,7 +7,7 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: gettext
Version: 0.22.5
Version: 0.23.1
Release: 1mamba
Summary: GNU libraries and utilities for producing multi-lingual messages
Group: System/Libraries
@ -16,7 +16,6 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://ftp.gnu.org/pub/gnu/gettext/
Source: https://ftp.gnu.org/pub/gnu/gettext/gettext-%{version}.tar.lz
Patch0: %{name}-0.17-wchar-fix.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -90,11 +89,11 @@ messages, and stand-alone programs for handling the translatable and the already
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.
%debug_package
%prep
%define _warning_options %{nil}
%setup -q
#%patch0 -p1
%build
%configure \
@ -142,12 +141,8 @@ rm -f %{buildroot}%{_infodir}/dir
%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
@ -167,21 +162,14 @@ rm -f %{buildroot}%{_infodir}/dir
%{_libdir}/libasprintf.so*
%{_libdir}/libtextstyle.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
%dir %{_libexecdir}/gettext
%{_libexecdir}/gettext/*
%dir %{_datadir}/gettext-*
%dir %{_datadir}/gettext-*/its
%{_datadir}/gettext-*/its/*
%{_datadir}/gettext/ABOUT-NLS
%{_infodir}/gettext.info.*
%{_infodir}/autosprintf.info.*
%{_infodir}/libtextstyle.info.gz
%{_infodir}/gettext.info*
%{_infodir}/autosprintf.info*
%{_infodir}/libtextstyle.info*
%{_mandir}/man1/*
%exclude %{_mandir}/man1/gettextize.*
%exclude %{_mandir}/man1/autopoint.*
@ -203,27 +191,13 @@ rm -f %{buildroot}%{_infodir}/dir
%{_datadir}/emacs/site-lisp/*
%endif
%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
%dir %{_datadir}/doc/libtextstyle
%{_datadir}/doc/libtextstyle/*
%dir %{_datadir}/gettext
%{_datadir}/gettext/*
%dir %{_datadir}/doc/gettext
%{_docdir}/gettext/*
%dir %{_docdir}/libtextstyle
%{_docdir}/libtextstyle/*
%{_docdir}/libasprintf/autosprintf_all.html
%{_mandir}/man1/autopoint.*
%{_mandir}/man1/gettextize.*
%{_mandir}/man3/*
@ -243,6 +217,9 @@ rm -f %{buildroot}%{_infodir}/dir
%endif
%changelog
* Thu Jan 02 2025 Automatic Build System <autodist@openmamba.org> 0.23.1-1mamba
- automatic version update by autodist
* Thu Feb 22 2024 Automatic Build System <autodist@openmamba.org> 0.22.5-1mamba
- automatic version update by autodist