2007-11-23 00:56:17 +01:00
|
|
|
#
|
2011-10-01 04:58:52 +02:00
|
|
|
# spec file for package gettext-java
|
2007-11-23 00:56:17 +01:00
|
|
|
#
|
2020-01-28 14:21:40 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2007-11-23 00:56:17 +01:00
|
|
|
#
|
2008-10-13 16:22:50 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-08-27 13:42:29 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-11-23 00:56:17 +01:00
|
|
|
#
|
|
|
|
|
2008-04-10 13:16:55 +02:00
|
|
|
|
2007-11-23 00:56:17 +01:00
|
|
|
Name: gettext-java
|
Accepting request 712409 from home:cvoegl:branches:Base:System
- Updated to version 0.20.1:
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
- Rebased gettext-po-mode.diff
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Updated to version 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ Java:
* xgettext now supports UTF-8 encoded .properties files (a new feature
of Java 9).
* The build system and tools now support Java 9, 10, and 11. On the
other hand, support for old versions of Java (Java 5 and older,
GCJ 4.2.x and older) has been dropped.
- Rebased gettext-po-mode.diff
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Removed gettext-0.19.8.1-jdk9.patch (now in upstream)
- Updatetd to 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ C, C++:
* xgettext now supports strings in u8"..." syntax, as specified in C11
and C++11.
* xgettext now supports 'p'/'P' exponent markers in number tokens, as
specified in C99 and C++17.
+ C++:
* xgettext now supports single-quotes in number tokens, as specified in
C++14.
+ Shell:
* The programs 'gettext', 'ngettext' now support a --context argument.
* gettext.sh contains new function eval_pgettext and eval_npgettext
for producing translations of messages with context.
+ Perl:
* Native support for context functions (pgettext, dpgettext, dcpgettext,
npgettext, dnpgettext, dcnpgettext).
* better detection of question mark and slash as operators (as opposed
to regular expression delimiters).
+ Scheme:
* xgettext now parses the syntax for specialized byte vectors (#u8(...),
#vu8(...), etc.) correctly.
+ Pascal:
* xgettext can now extract strings from .rsj files, produced by the
Free Pascal compiler version 3.0.0 or newer.
+ Vala:
* xgettext now parses escape sequences in strings more accurately.
+ JavaScript:
* xgettext now parses template literals correctly.
- Rebased gettext-dont-test-gnulib.patch
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Rebased gettext-po-mode.diff
- Removed msgfmt-remove-pot-creation-date.patch (now in upstream)
- Removed msgfmt-reset-msg-length-after-remove.patch (now in upstream)
- Removed parts of reproducible.patch (now in upstream)
- Updatetd to 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ C, C++:
* xgettext now supports strings in u8"..." syntax, as specified in C11
and C++11.
* xgettext now supports 'p'/'P' exponent markers in number tokens, as
specified in C99 and C++17.
+ C++:
* xgettext now supports single-quotes in number tokens, as specified in
C++14.
+ Shell:
* The programs 'gettext', 'ngettext' now support a --context argument.
* gettext.sh contains new function eval_pgettext and eval_npgettext
for producing translations of messages with context.
+ Perl:
* Native support for context functions (pgettext, dpgettext, dcpgettext,
npgettext, dnpgettext, dcnpgettext).
* better detection of question mark and slash as operators (as opposed
to regular expression delimiters).
+ Scheme:
* xgettext now parses the syntax for specialized byte vectors (#u8(...),
#vu8(...), etc.) correctly.
+ Pascal:
* xgettext can now extract strings from .rsj files, produced by the
Free Pascal compiler version 3.0.0 or newer.
+ Vala:
* xgettext now parses escape sequences in strings more accurately.
+ JavaScript:
* xgettext now parses template literals correctly.
- Rebased gettext-dont-test-gnulib.patch
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Rebased gettext-po-mode.diff
- Removed msgfmt-remove-pot-creation-date.patch (now in upstream)
- Removed msgfmt-reset-msg-length-after-remove.patch (now in upstream)
- Removed parts of reproducible.patch (now in upstream)
OBS-URL: https://build.opensuse.org/request/show/712409
OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=153
2019-07-08 14:13:35 +02:00
|
|
|
Version: 0.20.1
|
2012-07-02 13:04:44 +02:00
|
|
|
Release: 0
|
2007-11-23 00:56:17 +01:00
|
|
|
Summary: Java Support for Native Language Support (NLS)
|
2018-05-16 08:56:01 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2012-07-02 13:04:44 +02:00
|
|
|
Group: Development/Tools/Other
|
2019-12-20 09:23:39 +01:00
|
|
|
URL: http://www.gnu.org/software/gettext/
|
Accepting request 712409 from home:cvoegl:branches:Base:System
- Updated to version 0.20.1:
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
- Rebased gettext-po-mode.diff
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Updated to version 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ Java:
* xgettext now supports UTF-8 encoded .properties files (a new feature
of Java 9).
* The build system and tools now support Java 9, 10, and 11. On the
other hand, support for old versions of Java (Java 5 and older,
GCJ 4.2.x and older) has been dropped.
- Rebased gettext-po-mode.diff
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Removed gettext-0.19.8.1-jdk9.patch (now in upstream)
- Updatetd to 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ C, C++:
* xgettext now supports strings in u8"..." syntax, as specified in C11
and C++11.
* xgettext now supports 'p'/'P' exponent markers in number tokens, as
specified in C99 and C++17.
+ C++:
* xgettext now supports single-quotes in number tokens, as specified in
C++14.
+ Shell:
* The programs 'gettext', 'ngettext' now support a --context argument.
* gettext.sh contains new function eval_pgettext and eval_npgettext
for producing translations of messages with context.
+ Perl:
* Native support for context functions (pgettext, dpgettext, dcpgettext,
npgettext, dnpgettext, dcnpgettext).
* better detection of question mark and slash as operators (as opposed
to regular expression delimiters).
+ Scheme:
* xgettext now parses the syntax for specialized byte vectors (#u8(...),
#vu8(...), etc.) correctly.
+ Pascal:
* xgettext can now extract strings from .rsj files, produced by the
Free Pascal compiler version 3.0.0 or newer.
+ Vala:
* xgettext now parses escape sequences in strings more accurately.
+ JavaScript:
* xgettext now parses template literals correctly.
- Rebased gettext-dont-test-gnulib.patch
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Rebased gettext-po-mode.diff
- Removed msgfmt-remove-pot-creation-date.patch (now in upstream)
- Removed msgfmt-reset-msg-length-after-remove.patch (now in upstream)
- Removed parts of reproducible.patch (now in upstream)
- Updatetd to 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ C, C++:
* xgettext now supports strings in u8"..." syntax, as specified in C11
and C++11.
* xgettext now supports 'p'/'P' exponent markers in number tokens, as
specified in C99 and C++17.
+ C++:
* xgettext now supports single-quotes in number tokens, as specified in
C++14.
+ Shell:
* The programs 'gettext', 'ngettext' now support a --context argument.
* gettext.sh contains new function eval_pgettext and eval_npgettext
for producing translations of messages with context.
+ Perl:
* Native support for context functions (pgettext, dpgettext, dcpgettext,
npgettext, dnpgettext, dcnpgettext).
* better detection of question mark and slash as operators (as opposed
to regular expression delimiters).
+ Scheme:
* xgettext now parses the syntax for specialized byte vectors (#u8(...),
#vu8(...), etc.) correctly.
+ Pascal:
* xgettext can now extract strings from .rsj files, produced by the
Free Pascal compiler version 3.0.0 or newer.
+ Vala:
* xgettext now parses escape sequences in strings more accurately.
+ JavaScript:
* xgettext now parses template literals correctly.
- Rebased gettext-dont-test-gnulib.patch
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Rebased gettext-po-mode.diff
- Removed msgfmt-remove-pot-creation-date.patch (now in upstream)
- Removed msgfmt-reset-msg-length-after-remove.patch (now in upstream)
- Removed parts of reproducible.patch (now in upstream)
OBS-URL: https://build.opensuse.org/request/show/712409
OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=153
2019-07-08 14:13:35 +02:00
|
|
|
Source0: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.gz
|
2007-11-23 00:56:17 +01:00
|
|
|
Source1: gettext-rpmlintrc
|
|
|
|
Source2: suse-start-po-mode.el
|
|
|
|
Source3: gettext-linkdupes.sh
|
Accepting request 712409 from home:cvoegl:branches:Base:System
- Updated to version 0.20.1:
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
- Rebased gettext-po-mode.diff
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Updated to version 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ Java:
* xgettext now supports UTF-8 encoded .properties files (a new feature
of Java 9).
* The build system and tools now support Java 9, 10, and 11. On the
other hand, support for old versions of Java (Java 5 and older,
GCJ 4.2.x and older) has been dropped.
- Rebased gettext-po-mode.diff
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Removed gettext-0.19.8.1-jdk9.patch (now in upstream)
- Updatetd to 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ C, C++:
* xgettext now supports strings in u8"..." syntax, as specified in C11
and C++11.
* xgettext now supports 'p'/'P' exponent markers in number tokens, as
specified in C99 and C++17.
+ C++:
* xgettext now supports single-quotes in number tokens, as specified in
C++14.
+ Shell:
* The programs 'gettext', 'ngettext' now support a --context argument.
* gettext.sh contains new function eval_pgettext and eval_npgettext
for producing translations of messages with context.
+ Perl:
* Native support for context functions (pgettext, dpgettext, dcpgettext,
npgettext, dnpgettext, dcnpgettext).
* better detection of question mark and slash as operators (as opposed
to regular expression delimiters).
+ Scheme:
* xgettext now parses the syntax for specialized byte vectors (#u8(...),
#vu8(...), etc.) correctly.
+ Pascal:
* xgettext can now extract strings from .rsj files, produced by the
Free Pascal compiler version 3.0.0 or newer.
+ Vala:
* xgettext now parses escape sequences in strings more accurately.
+ JavaScript:
* xgettext now parses template literals correctly.
- Rebased gettext-dont-test-gnulib.patch
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Rebased gettext-po-mode.diff
- Removed msgfmt-remove-pot-creation-date.patch (now in upstream)
- Removed msgfmt-reset-msg-length-after-remove.patch (now in upstream)
- Removed parts of reproducible.patch (now in upstream)
- Updatetd to 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ C, C++:
* xgettext now supports strings in u8"..." syntax, as specified in C11
and C++11.
* xgettext now supports 'p'/'P' exponent markers in number tokens, as
specified in C99 and C++17.
+ C++:
* xgettext now supports single-quotes in number tokens, as specified in
C++14.
+ Shell:
* The programs 'gettext', 'ngettext' now support a --context argument.
* gettext.sh contains new function eval_pgettext and eval_npgettext
for producing translations of messages with context.
+ Perl:
* Native support for context functions (pgettext, dpgettext, dcpgettext,
npgettext, dnpgettext, dcnpgettext).
* better detection of question mark and slash as operators (as opposed
to regular expression delimiters).
+ Scheme:
* xgettext now parses the syntax for specialized byte vectors (#u8(...),
#vu8(...), etc.) correctly.
+ Pascal:
* xgettext can now extract strings from .rsj files, produced by the
Free Pascal compiler version 3.0.0 or newer.
+ Vala:
* xgettext now parses escape sequences in strings more accurately.
+ JavaScript:
* xgettext now parses template literals correctly.
- Rebased gettext-dont-test-gnulib.patch
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Rebased gettext-po-mode.diff
- Removed msgfmt-remove-pot-creation-date.patch (now in upstream)
- Removed msgfmt-reset-msg-length-after-remove.patch (now in upstream)
- Removed parts of reproducible.patch (now in upstream)
OBS-URL: https://build.opensuse.org/request/show/712409
OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=153
2019-07-08 14:13:35 +02:00
|
|
|
Source4: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.gz.sig
|
2017-10-04 11:39:01 +02:00
|
|
|
Source5: %{name}.keyring
|
|
|
|
Patch0: gettext-0.12.1-sigfpe.patch
|
2007-11-23 00:56:17 +01:00
|
|
|
Patch2: gettext-0.12.1-gettextize.patch
|
2012-09-24 17:29:07 +02:00
|
|
|
Patch4: gettext-po-mode.diff
|
2007-11-23 00:56:17 +01:00
|
|
|
Patch5: gettext-initialize_vars.patch
|
2017-10-04 11:39:01 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: java-devel
|
|
|
|
BuildRequires: libcroco-devel
|
Accepting request 712409 from home:cvoegl:branches:Base:System
- Updated to version 0.20.1:
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
- Rebased gettext-po-mode.diff
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Updated to version 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ Java:
* xgettext now supports UTF-8 encoded .properties files (a new feature
of Java 9).
* The build system and tools now support Java 9, 10, and 11. On the
other hand, support for old versions of Java (Java 5 and older,
GCJ 4.2.x and older) has been dropped.
- Rebased gettext-po-mode.diff
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Removed gettext-0.19.8.1-jdk9.patch (now in upstream)
- Updatetd to 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ C, C++:
* xgettext now supports strings in u8"..." syntax, as specified in C11
and C++11.
* xgettext now supports 'p'/'P' exponent markers in number tokens, as
specified in C99 and C++17.
+ C++:
* xgettext now supports single-quotes in number tokens, as specified in
C++14.
+ Shell:
* The programs 'gettext', 'ngettext' now support a --context argument.
* gettext.sh contains new function eval_pgettext and eval_npgettext
for producing translations of messages with context.
+ Perl:
* Native support for context functions (pgettext, dpgettext, dcpgettext,
npgettext, dnpgettext, dcnpgettext).
* better detection of question mark and slash as operators (as opposed
to regular expression delimiters).
+ Scheme:
* xgettext now parses the syntax for specialized byte vectors (#u8(...),
#vu8(...), etc.) correctly.
+ Pascal:
* xgettext can now extract strings from .rsj files, produced by the
Free Pascal compiler version 3.0.0 or newer.
+ Vala:
* xgettext now parses escape sequences in strings more accurately.
+ JavaScript:
* xgettext now parses template literals correctly.
- Rebased gettext-dont-test-gnulib.patch
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Rebased gettext-po-mode.diff
- Removed msgfmt-remove-pot-creation-date.patch (now in upstream)
- Removed msgfmt-reset-msg-length-after-remove.patch (now in upstream)
- Removed parts of reproducible.patch (now in upstream)
- Updatetd to 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ C, C++:
* xgettext now supports strings in u8"..." syntax, as specified in C11
and C++11.
* xgettext now supports 'p'/'P' exponent markers in number tokens, as
specified in C99 and C++17.
+ C++:
* xgettext now supports single-quotes in number tokens, as specified in
C++14.
+ Shell:
* The programs 'gettext', 'ngettext' now support a --context argument.
* gettext.sh contains new function eval_pgettext and eval_npgettext
for producing translations of messages with context.
+ Perl:
* Native support for context functions (pgettext, dpgettext, dcpgettext,
npgettext, dnpgettext, dcnpgettext).
* better detection of question mark and slash as operators (as opposed
to regular expression delimiters).
+ Scheme:
* xgettext now parses the syntax for specialized byte vectors (#u8(...),
#vu8(...), etc.) correctly.
+ Pascal:
* xgettext can now extract strings from .rsj files, produced by the
Free Pascal compiler version 3.0.0 or newer.
+ Vala:
* xgettext now parses escape sequences in strings more accurately.
+ JavaScript:
* xgettext now parses template literals correctly.
- Rebased gettext-dont-test-gnulib.patch
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Rebased gettext-po-mode.diff
- Removed msgfmt-remove-pot-creation-date.patch (now in upstream)
- Removed msgfmt-reset-msg-length-after-remove.patch (now in upstream)
- Removed parts of reproducible.patch (now in upstream)
OBS-URL: https://build.opensuse.org/request/show/712409
OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=153
2019-07-08 14:13:35 +02:00
|
|
|
BuildRequires: libtextstyle-devel
|
2017-10-04 11:39:01 +02:00
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: perl-libintl-perl
|
|
|
|
BuildRequires: tcl
|
2018-04-26 17:31:12 +02:00
|
|
|
|
|
|
|
%if 0%{?fedora_version} || 0%{?centos_version} <= 600 || 0%{?scilin_version} <= 600 || 0%{?rhel_version} <= 600
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%endif
|
2007-11-23 00:56:17 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package includes the tools needed to support message catalogs in
|
|
|
|
Java applications. It also includes example code for java, java+awt and
|
|
|
|
java+swing.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n gettext-%{version}
|
2017-10-04 11:39:01 +02:00
|
|
|
%patch0
|
2007-11-23 00:56:17 +01:00
|
|
|
%patch2
|
|
|
|
%patch4
|
|
|
|
%patch5
|
|
|
|
|
|
|
|
%build
|
2014-06-05 07:15:03 +02:00
|
|
|
# expect a couple "You should update your `aclocal.m4' by running aclocal."
|
2017-10-04 11:39:01 +02:00
|
|
|
autoreconf -fiv
|
2014-06-05 07:15:03 +02:00
|
|
|
#sh autogen.sh
|
Accepting request 712409 from home:cvoegl:branches:Base:System
- Updated to version 0.20.1:
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
- Rebased gettext-po-mode.diff
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Updated to version 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ Java:
* xgettext now supports UTF-8 encoded .properties files (a new feature
of Java 9).
* The build system and tools now support Java 9, 10, and 11. On the
other hand, support for old versions of Java (Java 5 and older,
GCJ 4.2.x and older) has been dropped.
- Rebased gettext-po-mode.diff
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Removed gettext-0.19.8.1-jdk9.patch (now in upstream)
- Updatetd to 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ C, C++:
* xgettext now supports strings in u8"..." syntax, as specified in C11
and C++11.
* xgettext now supports 'p'/'P' exponent markers in number tokens, as
specified in C99 and C++17.
+ C++:
* xgettext now supports single-quotes in number tokens, as specified in
C++14.
+ Shell:
* The programs 'gettext', 'ngettext' now support a --context argument.
* gettext.sh contains new function eval_pgettext and eval_npgettext
for producing translations of messages with context.
+ Perl:
* Native support for context functions (pgettext, dpgettext, dcpgettext,
npgettext, dnpgettext, dcnpgettext).
* better detection of question mark and slash as operators (as opposed
to regular expression delimiters).
+ Scheme:
* xgettext now parses the syntax for specialized byte vectors (#u8(...),
#vu8(...), etc.) correctly.
+ Pascal:
* xgettext can now extract strings from .rsj files, produced by the
Free Pascal compiler version 3.0.0 or newer.
+ Vala:
* xgettext now parses escape sequences in strings more accurately.
+ JavaScript:
* xgettext now parses template literals correctly.
- Rebased gettext-dont-test-gnulib.patch
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Rebased gettext-po-mode.diff
- Removed msgfmt-remove-pot-creation-date.patch (now in upstream)
- Removed msgfmt-reset-msg-length-after-remove.patch (now in upstream)
- Removed parts of reproducible.patch (now in upstream)
- Updatetd to 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ C, C++:
* xgettext now supports strings in u8"..." syntax, as specified in C11
and C++11.
* xgettext now supports 'p'/'P' exponent markers in number tokens, as
specified in C99 and C++17.
+ C++:
* xgettext now supports single-quotes in number tokens, as specified in
C++14.
+ Shell:
* The programs 'gettext', 'ngettext' now support a --context argument.
* gettext.sh contains new function eval_pgettext and eval_npgettext
for producing translations of messages with context.
+ Perl:
* Native support for context functions (pgettext, dpgettext, dcpgettext,
npgettext, dnpgettext, dcnpgettext).
* better detection of question mark and slash as operators (as opposed
to regular expression delimiters).
+ Scheme:
* xgettext now parses the syntax for specialized byte vectors (#u8(...),
#vu8(...), etc.) correctly.
+ Pascal:
* xgettext can now extract strings from .rsj files, produced by the
Free Pascal compiler version 3.0.0 or newer.
+ Vala:
* xgettext now parses escape sequences in strings more accurately.
+ JavaScript:
* xgettext now parses template literals correctly.
- Rebased gettext-dont-test-gnulib.patch
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Rebased gettext-po-mode.diff
- Removed msgfmt-remove-pot-creation-date.patch (now in upstream)
- Removed msgfmt-reset-msg-length-after-remove.patch (now in upstream)
- Removed parts of reproducible.patch (now in upstream)
OBS-URL: https://build.opensuse.org/request/show/712409
OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=153
2019-07-08 14:13:35 +02:00
|
|
|
export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint -lm"
|
2010-12-21 13:54:03 +01:00
|
|
|
export CXXFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"
|
Accepting request 712409 from home:cvoegl:branches:Base:System
- Updated to version 0.20.1:
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
- Rebased gettext-po-mode.diff
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Updated to version 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ Java:
* xgettext now supports UTF-8 encoded .properties files (a new feature
of Java 9).
* The build system and tools now support Java 9, 10, and 11. On the
other hand, support for old versions of Java (Java 5 and older,
GCJ 4.2.x and older) has been dropped.
- Rebased gettext-po-mode.diff
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Removed gettext-0.19.8.1-jdk9.patch (now in upstream)
- Updatetd to 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ C, C++:
* xgettext now supports strings in u8"..." syntax, as specified in C11
and C++11.
* xgettext now supports 'p'/'P' exponent markers in number tokens, as
specified in C99 and C++17.
+ C++:
* xgettext now supports single-quotes in number tokens, as specified in
C++14.
+ Shell:
* The programs 'gettext', 'ngettext' now support a --context argument.
* gettext.sh contains new function eval_pgettext and eval_npgettext
for producing translations of messages with context.
+ Perl:
* Native support for context functions (pgettext, dpgettext, dcpgettext,
npgettext, dnpgettext, dcnpgettext).
* better detection of question mark and slash as operators (as opposed
to regular expression delimiters).
+ Scheme:
* xgettext now parses the syntax for specialized byte vectors (#u8(...),
#vu8(...), etc.) correctly.
+ Pascal:
* xgettext can now extract strings from .rsj files, produced by the
Free Pascal compiler version 3.0.0 or newer.
+ Vala:
* xgettext now parses escape sequences in strings more accurately.
+ JavaScript:
* xgettext now parses template literals correctly.
- Rebased gettext-dont-test-gnulib.patch
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Rebased gettext-po-mode.diff
- Removed msgfmt-remove-pot-creation-date.patch (now in upstream)
- Removed msgfmt-reset-msg-length-after-remove.patch (now in upstream)
- Removed parts of reproducible.patch (now in upstream)
- Updatetd to 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ msgmerge now has an option --for-msgfmt, that produces a PO file meant
for use by msgfmt only. This option saves processing time, in particular
by omitting fuzzy matching that is not useful in this situation.
+ The .pot file in a 'po' directory is now erased by "make maintainer-clean".
+ It is now possible to override xgettext options from the po/Makefile.in.in
through options in XGETTEXT_OPTIONS (declared in po/Makevars).
+ The --intl option of the gettextize program (deprecated since 2010) is
no longer available. Instead of including the intl sources in your package,
we suggest making the libintl library an optional prerequisite of your
package. This will simplify the build system of your package.
+ Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well.
+ C, C++:
* xgettext now supports strings in u8"..." syntax, as specified in C11
and C++11.
* xgettext now supports 'p'/'P' exponent markers in number tokens, as
specified in C99 and C++17.
+ C++:
* xgettext now supports single-quotes in number tokens, as specified in
C++14.
+ Shell:
* The programs 'gettext', 'ngettext' now support a --context argument.
* gettext.sh contains new function eval_pgettext and eval_npgettext
for producing translations of messages with context.
+ Perl:
* Native support for context functions (pgettext, dpgettext, dcpgettext,
npgettext, dnpgettext, dcnpgettext).
* better detection of question mark and slash as operators (as opposed
to regular expression delimiters).
+ Scheme:
* xgettext now parses the syntax for specialized byte vectors (#u8(...),
#vu8(...), etc.) correctly.
+ Pascal:
* xgettext can now extract strings from .rsj files, produced by the
Free Pascal compiler version 3.0.0 or newer.
+ Vala:
* xgettext now parses escape sequences in strings more accurately.
+ JavaScript:
* xgettext now parses template literals correctly.
- Rebased gettext-dont-test-gnulib.patch
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Rebased gettext-po-mode.diff
- Removed msgfmt-remove-pot-creation-date.patch (now in upstream)
- Removed msgfmt-reset-msg-length-after-remove.patch (now in upstream)
- Removed parts of reproducible.patch (now in upstream)
OBS-URL: https://build.opensuse.org/request/show/712409
OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=153
2019-07-08 14:13:35 +02:00
|
|
|
%configure --enable-shared --enable-java
|
2012-09-24 17:29:07 +02:00
|
|
|
make GMSGFMT=../src/msgfmt %{?_smp_mflags} V=1
|
2007-11-23 00:56:17 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
export LC_CTYPE=ISO-8859-15
|
2010-12-21 13:54:03 +01:00
|
|
|
make -C gettext-tools/gnulib-lib install DESTDIR=%{buildroot}
|
|
|
|
make -C gettext-tools/src install DESTDIR=%{buildroot}
|
2007-11-23 00:56:17 +01:00
|
|
|
make -C gettext-runtime/intl-java install DESTDIR=$PWD docdir=/docs
|
|
|
|
make -C gettext-tools/examples install DESTDIR=$PWD docdir=/allexamples
|
|
|
|
mkdir -p docs/examples
|
|
|
|
mv allexamples/examples/*java* docs/examples
|
|
|
|
cd docs/examples
|
|
|
|
fdupes -r *|while read dupe; do
|
|
|
|
if [ -z "$dupe" ]; then
|
|
|
|
startlink=
|
|
|
|
elif [ -z "$startlink" ]; then
|
|
|
|
startlink="$dupe"
|
|
|
|
else
|
|
|
|
ln -f "$startlink" "$dupe"
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
cd ..
|
2019-08-27 13:42:29 +02:00
|
|
|
find -type f -size 0 -delete
|
2017-10-04 11:39:01 +02:00
|
|
|
mkdir -p %{buildroot}%{_libdir}/gettext
|
|
|
|
mv %{buildroot}/%{_datadir}/gettext/gettext.jar %{buildroot}%{_libdir}/gettext/
|
|
|
|
# Create scripts that will launch the tools
|
|
|
|
for i in gnu.gettext.DumpResource gnu.gettext.GetURL; do
|
|
|
|
cat <<EOF > %{buildroot}%{_libdir}/gettext/$i
|
|
|
|
#!/bin/sh
|
|
|
|
exec java -cp %{_libdir}/gettext/gettext.jar $i \${1+\$@}
|
|
|
|
EOF
|
|
|
|
chmod +x %{buildroot}%{_libdir}/gettext/$i
|
|
|
|
done
|
2010-12-21 13:54:03 +01:00
|
|
|
rm -rf %{buildroot}/%{_datadir}/*
|
|
|
|
mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}
|
|
|
|
cp -av * %{buildroot}/%{_defaultdocdir}/%{name}
|
2007-11-23 00:56:17 +01:00
|
|
|
cd ../allexamples/examples
|
|
|
|
rm -rf *csharp*
|
|
|
|
fdupes -r * | while read dupe; do
|
|
|
|
if [ -z "$dupe" ]; then
|
|
|
|
startlink=
|
|
|
|
elif [ -z "$startlink" ]; then
|
|
|
|
startlink="$dupe"
|
|
|
|
else
|
|
|
|
echo "ln -f '$startlink' '$dupe'" >>../../gettext-linkdupes.sh
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
diff %{SOURCE3} . || {
|
|
|
|
cat <<END
|
|
|
|
######################################################
|
|
|
|
######################################################
|
|
|
|
## Updated gettext-linkdupes.sh in $PWD ##
|
|
|
|
######################################################
|
|
|
|
######################################################
|
|
|
|
END
|
|
|
|
}
|
2017-10-04 11:39:01 +02:00
|
|
|
ls -l %{buildroot}/%{_datadir}
|
2009-07-29 17:31:31 +02:00
|
|
|
# exclude files packaged via other spec files
|
2017-10-04 11:39:01 +02:00
|
|
|
rm -rf %{buildroot}/%{_bindir}
|
|
|
|
rm -f %{buildroot}/%{_libdir}/lib*
|
|
|
|
rm -f %{buildroot}/%{_libdir}/gettext/hostname
|
|
|
|
rm -f %{buildroot}/%{_libdir}/gettext/project-id
|
|
|
|
rm -f %{buildroot}/%{_libdir}/gettext/urlget
|
|
|
|
rm -f %{buildroot}/%{_libdir}/gettext/user-email
|
|
|
|
rm -f %{buildroot}/%{_libdir}/gettext/cldr-plurals
|
2007-11-23 00:56:17 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%{_defaultdocdir}/%{name}
|
2017-10-04 11:39:01 +02:00
|
|
|
%{_libdir}/gettext/gettext.jar
|
|
|
|
%{_libdir}/gettext/gnu.gettext.DumpResource
|
|
|
|
%{_libdir}/gettext/gnu.gettext.GetURL
|
2007-11-23 00:56:17 +01:00
|
|
|
|
|
|
|
%changelog
|