update to 0.21.1 [release 0.21.1-1mamba;Sat Oct 29 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 22:42:05 +01:00
parent 39a1d1b848
commit 403745ed25
3 changed files with 18 additions and 17 deletions

BIN
gettext-0.21.1.tar.lz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,33 +1,34 @@
%if "%{?stage1}" != "1"
%ifnarch arm
%define with_java 1
%endif
%define with_csharp 1
%endif
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: gettext
Version: 0.21
Version: 0.21.1
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.lz
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
BuildRequires: ldconfig
BuildRequires: libacl-devel
BuildRequires: libattr-devel
BuildRequires: libgcc
BuildRequires: libgomp-devel
BuildRequires: liblzma-devel
BuildRequires: libncurses-devel
BuildRequires: libstdc++6-devel
BuildRequires: libunistring-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: mono-core
BuildRequires: mono-devel
## AUTOBUILDREQ-END
%if "%{?stage1}" != "1"
BuildRequires: perl >= %perl_major_ver
@ -35,18 +36,16 @@ BuildRequires: emacs
BuildRequires: tetex-dvips
BuildRequires: emacs-nox
BuildRequires: texinfo
BuildRequires: gcc-java
BuildRequires: java-gcj-compat
%endif
BuildRequires: gcc-c++
%if "%{?with_java}"
BuildRequires: java-sdk
%endif
%if "%{?with_csharp}"
BuildRequires: mono
%endif
BuildRequires: libgcj4-devel >= 6.4
BuildRequires: libgcj4-devel <= 6.4.255
BuildRequires: libunistring-devel >= 0.9.6
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.
@ -105,10 +104,10 @@ This package provides the Mono (C-sharp) GNU library for producing multi-lingual
%else
--disable-csharp \
%endif
%if "%{?stage1}" == "1"
--disable-java \
%else
%if "%{?with_java}"
--enable-java \
%else
--disable-java \
%endif
--enable-shared \
%ifarch arm
@ -196,7 +195,6 @@ done
%{_libdir}/libgettextpo.so
%{_libdir}/gettext/*
%{_libdir}/lib*.a
%{_libdir}/lib*.la
%{_datadir}/aclocal/*
%if "%{?stage1}" != "1"
%ifnarch arm
@ -228,7 +226,7 @@ done
%{_mandir}/man1/gettextize.*
%{_mandir}/man3/*
%if "%{?stage1}" != "1"
%if "%{?with_java}"
%files -n java-gettext
%defattr(-,root,root)
# gettext.jar is only built if gcj is not available
@ -243,6 +241,9 @@ done
%endif
%changelog
* Sat Oct 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.21.1-1mamba
- update to 0.21.1
* Wed Jul 29 2020 Automatic Build System <autodist@mambasoft.it> 0.21-1mamba
- automatic version update by autodist