Update to 0.18.2
and removed all hacks as they're not needed any more
This commit is contained in:
parent
9a881a0e6e
commit
b6595fbfe9
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
gettext-0.17.tar.gz
|
gettext-0.17.tar.gz
|
||||||
/gettext-0.18.1.1.tar.gz
|
/gettext-0.18.1.1.tar.gz
|
||||||
|
/gettext-0.18.2.tar.gz
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
%?mingw_package_header
|
%?mingw_package_header
|
||||||
|
|
||||||
Name: mingw-gettext
|
Name: mingw-gettext
|
||||||
Version: 0.18.1.1
|
Version: 0.18.2
|
||||||
Release: 11%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: GNU libraries and utilities for producing multi-lingual messages
|
Summary: GNU libraries and utilities for producing multi-lingual messages
|
||||||
|
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
@ -10,9 +10,6 @@ Group: Development/Libraries
|
|||||||
URL: http://www.gnu.org/software/gettext/
|
URL: http://www.gnu.org/software/gettext/
|
||||||
Source0: http://ftp.gnu.org/pub/gnu/gettext/gettext-%{version}.tar.gz
|
Source0: http://ftp.gnu.org/pub/gnu/gettext/gettext-%{version}.tar.gz
|
||||||
|
|
||||||
# Fix compatibility with mingw-w64
|
|
||||||
Patch0: gettext-0.18.1.1-tml.patch
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: mingw32-filesystem >= 95
|
BuildRequires: mingw32-filesystem >= 95
|
||||||
@ -29,9 +26,6 @@ BuildRequires: mingw64-binutils
|
|||||||
BuildRequires: mingw64-win-iconv
|
BuildRequires: mingw64-win-iconv
|
||||||
BuildRequires: mingw64-termcap
|
BuildRequires: mingw64-termcap
|
||||||
|
|
||||||
# The libtool bundled with this package is too old for win64 support
|
|
||||||
BuildRequires: autoconf automake libtool
|
|
||||||
|
|
||||||
# Possible extra BRs. These are used if available, but
|
# Possible extra BRs. These are used if available, but
|
||||||
# not required just for building.
|
# not required just for building.
|
||||||
#BuildRequires: mingw32-dlfcn
|
#BuildRequires: mingw32-dlfcn
|
||||||
@ -80,22 +74,9 @@ Static version of the MinGW Windows Gettext library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n gettext-%{version}
|
%setup -q -n gettext-%{version}
|
||||||
%patch0 -p0
|
|
||||||
|
|
||||||
# The libtool bundled with this package is too old for win64 support
|
|
||||||
autoreconf -i --force
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Some build workarounds
|
|
||||||
export gl_cv_func_memchr_works="yes"
|
|
||||||
export ac_cv_func_strnlen_working="yes"
|
|
||||||
|
|
||||||
# The libtool on RHEL6 is too old for win64 support
|
|
||||||
%if 0%{?rhel} == 6
|
|
||||||
export lt_cv_deplibs_check_method="pass_all"
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%mingw_configure \
|
%mingw_configure \
|
||||||
--disable-java \
|
--disable-java \
|
||||||
--disable-native-java \
|
--disable-native-java \
|
||||||
@ -144,9 +125,9 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
|||||||
%{mingw32_bindir}/gettext.sh
|
%{mingw32_bindir}/gettext.sh
|
||||||
%{mingw32_bindir}/gettextize
|
%{mingw32_bindir}/gettextize
|
||||||
%{mingw32_bindir}/libasprintf-0.dll
|
%{mingw32_bindir}/libasprintf-0.dll
|
||||||
%{mingw32_bindir}/libgettextlib-0-18-1.dll
|
%{mingw32_bindir}/libgettextlib-0-18-2.dll
|
||||||
%{mingw32_bindir}/libgettextpo-0.dll
|
%{mingw32_bindir}/libgettextpo-0.dll
|
||||||
%{mingw32_bindir}/libgettextsrc-0-18-1.dll
|
%{mingw32_bindir}/libgettextsrc-0-18-2.dll
|
||||||
%{mingw32_bindir}/libintl-8.dll
|
%{mingw32_bindir}/libintl-8.dll
|
||||||
%{mingw32_bindir}/msg*.exe
|
%{mingw32_bindir}/msg*.exe
|
||||||
%{mingw32_bindir}/ngettext.exe
|
%{mingw32_bindir}/ngettext.exe
|
||||||
@ -177,9 +158,9 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
|||||||
%{mingw64_bindir}/gettext.sh
|
%{mingw64_bindir}/gettext.sh
|
||||||
%{mingw64_bindir}/gettextize
|
%{mingw64_bindir}/gettextize
|
||||||
%{mingw64_bindir}/libasprintf-0.dll
|
%{mingw64_bindir}/libasprintf-0.dll
|
||||||
%{mingw64_bindir}/libgettextlib-0-18-1.dll
|
%{mingw64_bindir}/libgettextlib-0-18-2.dll
|
||||||
%{mingw64_bindir}/libgettextpo-0.dll
|
%{mingw64_bindir}/libgettextpo-0.dll
|
||||||
%{mingw64_bindir}/libgettextsrc-0-18-1.dll
|
%{mingw64_bindir}/libgettextsrc-0-18-2.dll
|
||||||
%{mingw64_bindir}/libintl-8.dll
|
%{mingw64_bindir}/libintl-8.dll
|
||||||
%{mingw64_bindir}/msg*.exe
|
%{mingw64_bindir}/msg*.exe
|
||||||
%{mingw64_bindir}/ngettext.exe
|
%{mingw64_bindir}/ngettext.exe
|
||||||
@ -203,6 +184,10 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 4 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.18.2-1
|
||||||
|
- Update to 0.18.2
|
||||||
|
- Removed all hacks as they're not needed any more
|
||||||
|
|
||||||
* Thu Dec 6 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.18.1.1-11
|
* Thu Dec 6 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.18.1.1-11
|
||||||
- Fix the build on RHEL6 (too old libtool)
|
- Fix the build on RHEL6 (too old libtool)
|
||||||
- Minor cleanup
|
- Minor cleanup
|
||||||
|
Loading…
Reference in New Issue
Block a user