forked from pool/gettext-runtime
- remove silent_rules from AM_INIT_AUTOMAKE to make autoreconf
succeed on older distributions. - Rename po-mode.diff to gettext-po-mode.diff OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=62
This commit is contained in:
parent
6c5d5c27a2
commit
9d9fc0f81e
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 24 17:21:00 CEST 2012 - pth@suse.de
|
||||
|
||||
- remove silent_rules from AM_INIT_AUTOMAKE to make autoreconf
|
||||
succeed on older distributions.
|
||||
- Rename po-mode.diff to gettext-po-mode.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 22 18:41:30 UTC 2012 - aj@suse.de
|
||||
|
||||
|
@ -38,12 +38,13 @@ Source3: gettext-linkdupes.sh
|
||||
Patch: gettext-0.12.1-sigfpe.patch
|
||||
Patch2: gettext-0.12.1-gettextize.patch
|
||||
Patch3: gettext-codecleanup.patch
|
||||
Patch4: po-mode.diff
|
||||
Patch4: gettext-po-mode.diff
|
||||
Patch5: gettext-initialize_vars.patch
|
||||
Patch6: gettext-0.15-docdir.diff
|
||||
Patch7: gettext-autotools.patch
|
||||
Patch9: gettext-needlessly_init_vars.patch
|
||||
Patch10: getext-stdio.in.patch
|
||||
Patch11: gettext-no_silent_rules.patch
|
||||
|
||||
%description
|
||||
Mono with its 'resgen' program uses a design that Microsoft created and
|
||||
@ -67,11 +68,6 @@ also included msgfmt.net.exe and msgunfmt.net.exe handle PO files more
|
||||
reliably than 'resgen'.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Bruno Haible <bruno@clisp.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n gettext-%{version}
|
||||
%patch
|
||||
@ -83,17 +79,18 @@ Authors:
|
||||
%patch7
|
||||
%patch9
|
||||
%patch10 -p1
|
||||
%patch11
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"
|
||||
export CXXFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"
|
||||
autoreconf -fiv
|
||||
%configure --enable-shared --enable-csharp
|
||||
make GMSGFMT=../src/msgfmt
|
||||
make %{?_smp_mflags} GMSGFMT=../src/msgfmt V=1
|
||||
|
||||
%install
|
||||
export LC_CTYPE=ISO-8859-15
|
||||
make install DESTDIR=%{buildroot}
|
||||
%makeinstall
|
||||
mkdir examples
|
||||
mv %{buildroot}/%{_datadir}/doc/gettext/examples/*csharp* examples
|
||||
mv %{buildroot}/%{_datadir}/doc/gettext/csharpdoc csharpdoc
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 24 17:21:00 CEST 2012 - pth@suse.de
|
||||
|
||||
- remove silent_rules from AM_INIT_AUTOMAKE to make autoreconf
|
||||
succeed on older distributions.
|
||||
- Rename po-mode.diff to gettext-po-mode.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 22 18:41:35 UTC 2012 - aj@suse.de
|
||||
|
||||
|
@ -38,12 +38,13 @@ Source3: gettext-linkdupes.sh
|
||||
Patch: gettext-0.12.1-sigfpe.patch
|
||||
Patch2: gettext-0.12.1-gettextize.patch
|
||||
Patch3: gettext-codecleanup.patch
|
||||
Patch4: po-mode.diff
|
||||
Patch4: gettext-po-mode.diff
|
||||
Patch5: gettext-initialize_vars.patch
|
||||
Patch6: gettext-0.15-docdir.diff
|
||||
Patch7: gettext-autotools.patch
|
||||
Patch9: gettext-needlessly_init_vars.patch
|
||||
Patch10: getext-stdio.in.patch
|
||||
Patch11: gettext-no_silent_rules.patch
|
||||
|
||||
%description
|
||||
This package includes the tools needed to support message catalogs in
|
||||
@ -61,13 +62,14 @@ java+swing.
|
||||
%patch7
|
||||
%patch9
|
||||
%patch10 -p1
|
||||
%patch11
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"
|
||||
export CXXFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"
|
||||
autoreconf -fiv
|
||||
%configure --enable-shared
|
||||
make GMSGFMT=../src/msgfmt
|
||||
make GMSGFMT=../src/msgfmt %{?_smp_mflags} V=1
|
||||
|
||||
%install
|
||||
export LC_CTYPE=ISO-8859-15
|
||||
|
13
gettext-no_silent_rules.patch
Normal file
13
gettext-no_silent_rules.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: configure.ac
|
||||
===================================================================
|
||||
--- configure.ac.orig 2010-06-06 14:49:57.000000000 +0200
|
||||
+++ configure.ac 2012-09-24 17:28:10.184401496 +0200
|
||||
@@ -22,7 +22,7 @@ AC_CONFIG_SRCDIR([gettext-tools/src/msgf
|
||||
AC_CONFIG_AUX_DIR([build-aux])
|
||||
. $srcdir/version.sh
|
||||
gl_INIT_PACKAGE([gettext], [$VERSION_NUMBER])
|
||||
-AM_INIT_AUTOMAKE([silent-rules])
|
||||
+AM_INIT_AUTOMAKE()
|
||||
|
||||
dnl Override automake's tar command used for creating distributions.
|
||||
am__tar='${AMTAR} chof - --owner=root --group=root "$$tardir"'
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 24 17:21:00 CEST 2012 - pth@suse.de
|
||||
|
||||
- remove silent_rules from AM_INIT_AUTOMAKE to make autoreconf
|
||||
succeed on older distributions.
|
||||
- Rename po-mode.diff to gettext-po-mode.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 13 14:31:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
|
@ -49,12 +49,13 @@ Source4: baselibs.conf
|
||||
Patch: gettext-0.12.1-sigfpe.patch
|
||||
Patch2: gettext-0.12.1-gettextize.patch
|
||||
Patch3: gettext-codecleanup.patch
|
||||
Patch4: po-mode.diff
|
||||
Patch4: gettext-po-mode.diff
|
||||
Patch5: gettext-initialize_vars.patch
|
||||
Patch6: gettext-0.15-docdir.diff
|
||||
Patch7: gettext-autotools.patch
|
||||
Patch9: gettext-needlessly_init_vars.patch
|
||||
Patch10: getext-stdio.in.patch
|
||||
Patch11: gettext-no_silent_rules.patch
|
||||
|
||||
%description
|
||||
This package contains the intl library as well as tools that ease the
|
||||
@ -97,6 +98,7 @@ binary catalogs.
|
||||
%patch7
|
||||
%patch9
|
||||
%patch10 -p1
|
||||
%patch11
|
||||
|
||||
%build
|
||||
# expect a couple "You should update your `aclocal.m4' by running aclocal."
|
||||
@ -108,7 +110,7 @@ export CXXFLAGS="$CFLAGS -Dgcc_is_lint"
|
||||
OPTS="--disable-openmp"
|
||||
%endif
|
||||
%configure --enable-shared $OPTS
|
||||
make %{?_smp_mflags} GMSGFMT=../src/msgfmt
|
||||
make %{?_smp_mflags} GMSGFMT=../src/msgfmt V=1
|
||||
# use texinfo.tex supplied by the system (texinfo)
|
||||
# make -C gettext-tools/doc gettext.pdf
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user