1
0

Accepting request 137342 from Base:System

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/137342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=39
This commit is contained in:
Stephan Kulow 2012-10-07 16:58:30 +00:00 committed by Git OBS Bridge
commit c8388392c6
8 changed files with 47 additions and 12 deletions

View File

@ -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 Sun Jul 22 18:41:30 UTC 2012 - aj@suse.de

View File

@ -38,12 +38,13 @@ Source3: gettext-linkdupes.sh
Patch: gettext-0.12.1-sigfpe.patch Patch: gettext-0.12.1-sigfpe.patch
Patch2: gettext-0.12.1-gettextize.patch Patch2: gettext-0.12.1-gettextize.patch
Patch3: gettext-codecleanup.patch Patch3: gettext-codecleanup.patch
Patch4: po-mode.diff Patch4: gettext-po-mode.diff
Patch5: gettext-initialize_vars.patch Patch5: gettext-initialize_vars.patch
Patch6: gettext-0.15-docdir.diff Patch6: gettext-0.15-docdir.diff
Patch7: gettext-autotools.patch Patch7: gettext-autotools.patch
Patch9: gettext-needlessly_init_vars.patch Patch9: gettext-needlessly_init_vars.patch
Patch10: getext-stdio.in.patch Patch10: getext-stdio.in.patch
Patch11: gettext-no_silent_rules.patch
%description %description
Mono with its 'resgen' program uses a design that Microsoft created and 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'. reliably than 'resgen'.
Authors:
--------
Bruno Haible <bruno@clisp.org>
%prep %prep
%setup -q -n gettext-%{version} %setup -q -n gettext-%{version}
%patch %patch
@ -83,17 +79,18 @@ Authors:
%patch7 %patch7
%patch9 %patch9
%patch10 -p1 %patch10 -p1
%patch11
%build %build
export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint" export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"
export CXXFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint" export CXXFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"
autoreconf -fiv autoreconf -fiv
%configure --enable-shared --enable-csharp %configure --enable-shared --enable-csharp
make GMSGFMT=../src/msgfmt make %{?_smp_mflags} GMSGFMT=../src/msgfmt V=1
%install %install
export LC_CTYPE=ISO-8859-15 export LC_CTYPE=ISO-8859-15
make install DESTDIR=%{buildroot} %makeinstall
mkdir examples mkdir examples
mv %{buildroot}/%{_datadir}/doc/gettext/examples/*csharp* examples mv %{buildroot}/%{_datadir}/doc/gettext/examples/*csharp* examples
mv %{buildroot}/%{_datadir}/doc/gettext/csharpdoc csharpdoc mv %{buildroot}/%{_datadir}/doc/gettext/csharpdoc csharpdoc

View File

@ -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 Sun Jul 22 18:41:35 UTC 2012 - aj@suse.de

View File

@ -38,12 +38,13 @@ Source3: gettext-linkdupes.sh
Patch: gettext-0.12.1-sigfpe.patch Patch: gettext-0.12.1-sigfpe.patch
Patch2: gettext-0.12.1-gettextize.patch Patch2: gettext-0.12.1-gettextize.patch
Patch3: gettext-codecleanup.patch Patch3: gettext-codecleanup.patch
Patch4: po-mode.diff Patch4: gettext-po-mode.diff
Patch5: gettext-initialize_vars.patch Patch5: gettext-initialize_vars.patch
Patch6: gettext-0.15-docdir.diff Patch6: gettext-0.15-docdir.diff
Patch7: gettext-autotools.patch Patch7: gettext-autotools.patch
Patch9: gettext-needlessly_init_vars.patch Patch9: gettext-needlessly_init_vars.patch
Patch10: getext-stdio.in.patch Patch10: getext-stdio.in.patch
Patch11: gettext-no_silent_rules.patch
%description %description
This package includes the tools needed to support message catalogs in This package includes the tools needed to support message catalogs in
@ -61,13 +62,14 @@ java+swing.
%patch7 %patch7
%patch9 %patch9
%patch10 -p1 %patch10 -p1
%patch11
%build %build
export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint" export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"
export CXXFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint" export CXXFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"
autoreconf -fiv autoreconf -fiv
%configure --enable-shared %configure --enable-shared
make GMSGFMT=../src/msgfmt make GMSGFMT=../src/msgfmt %{?_smp_mflags} V=1
%install %install
export LC_CTYPE=ISO-8859-15 export LC_CTYPE=ISO-8859-15

View 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"'

View File

@ -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 Thu Sep 13 14:31:56 UTC 2012 - coolo@suse.com

View File

@ -49,12 +49,13 @@ Source4: baselibs.conf
Patch: gettext-0.12.1-sigfpe.patch Patch: gettext-0.12.1-sigfpe.patch
Patch2: gettext-0.12.1-gettextize.patch Patch2: gettext-0.12.1-gettextize.patch
Patch3: gettext-codecleanup.patch Patch3: gettext-codecleanup.patch
Patch4: po-mode.diff Patch4: gettext-po-mode.diff
Patch5: gettext-initialize_vars.patch Patch5: gettext-initialize_vars.patch
Patch6: gettext-0.15-docdir.diff Patch6: gettext-0.15-docdir.diff
Patch7: gettext-autotools.patch Patch7: gettext-autotools.patch
Patch9: gettext-needlessly_init_vars.patch Patch9: gettext-needlessly_init_vars.patch
Patch10: getext-stdio.in.patch Patch10: getext-stdio.in.patch
Patch11: gettext-no_silent_rules.patch
%description %description
This package contains the intl library as well as tools that ease the This package contains the intl library as well as tools that ease the
@ -97,6 +98,7 @@ binary catalogs.
%patch7 %patch7
%patch9 %patch9
%patch10 -p1 %patch10 -p1
%patch11
%build %build
# expect a couple "You should update your `aclocal.m4' by running aclocal." # 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" OPTS="--disable-openmp"
%endif %endif
%configure --enable-shared $OPTS %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) # use texinfo.tex supplied by the system (texinfo)
# make -C gettext-tools/doc gettext.pdf # make -C gettext-tools/doc gettext.pdf