forked from pool/gettext-runtime
Accepting request 179559 from Base:System
- make gettext-runtime conflict with gettext-runtime-mini - Add gettext-runtime-mini.spec that reverts to using the included library sources OBS-URL: https://build.opensuse.org/request/show/179559 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=45
This commit is contained in:
commit
e3c2b30c27
986
gettext-runtime-mini.changes
Normal file
986
gettext-runtime-mini.changes
Normal file
@ -0,0 +1,986 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 18 11:10:59 UTC 2013 - coolo@suse.com
|
||||
|
||||
- make gettext-runtime conflict with gettext-runtime-mini
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 18 09:54:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- Add gettext-runtime-mini.spec that reverts to using the included
|
||||
library sources
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 15 11:52:06 UTC 2013 - schwab@linux-m68k.org
|
||||
|
||||
- Add glib2-devel libcroco-devel libxml2-devel to build requires to avoid
|
||||
using the included copies.
|
||||
- gettext-configure.patch: Fix syntax in libxml check to avoid spurious
|
||||
failure
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 8 08:39:07 UTC 2013 - christoph.miebach@web.de
|
||||
|
||||
- Update to version 0.18.2.1: Version 0.18.2 - December 2012
|
||||
+ xgettext now understands the block comment syntax of Guile 2.0.
|
||||
+ libgettextpo library:
|
||||
* The initial msgstr of a new message is now "", not NULL.
|
||||
* Bug fixes in the functions po_message_is_range,
|
||||
po_file_check_all, po_message_check_all.
|
||||
+ Installation options:
|
||||
The configure options --with-xz and --with-bzip2 can be used to
|
||||
specify alternate compression methods for the archive used by
|
||||
the 'autopoint' program. These options, together with
|
||||
--with-git, allow to trade dependencies against installed
|
||||
package size. --with-xz has the highest compression rate,
|
||||
followed by --with-git, followed by --with-bzip2.
|
||||
+ Autoconf macros:
|
||||
* The autoconf macros installed by 'gettextize' now work with
|
||||
the forthcoming Automake 1.14 and require Autoconf version
|
||||
2.60 or newer.
|
||||
+ Portability:
|
||||
* Building on MacOS X 10.7, Cygwin 1.7.10, and newer 64-bit
|
||||
mingw is now supported.
|
||||
|
||||
- Remove obsolete patches:
|
||||
+ getext-stdio.in.patch
|
||||
+ gettext-codecleanup.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 31 07:47:08 UTC 2013 - coolo@suse.com
|
||||
|
||||
- do not call autoreconf, spares you all the ugly patches:
|
||||
gettext-no_silent_rules.patch
|
||||
gettext-0.15-docdir.diff
|
||||
gettext-autotools.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 27 07:50:12 UTC 2013 - mmeister@suse.com
|
||||
|
||||
- Added url as source.
|
||||
Please see http://en.opensuse.org/SourceUrls
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- replace ; with and in spdx.org license
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 22 18:41:39 UTC 2012 - aj@suse.de
|
||||
|
||||
- Fix build with missing gets declaration (glibc 2.16)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 2 11:04:21 UTC 2012 - coolo@suse.com
|
||||
|
||||
- do not use obsolete AM_PROG_MKDIR_P
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 12 15:57:24 UTC 2012 - aj@suse.de
|
||||
|
||||
- Disable tests test-readlink and test-areadlink since they
|
||||
fail randomly.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 12 13:37:28 UTC 2012 - aj@suse.de
|
||||
|
||||
- Remove cvs, not used anymore since 0.18.1 in our build.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 2 14:24:27 CEST 2011 - dmueller@suse.de
|
||||
|
||||
- revert last change - it is not the testsuite that hangs
|
||||
but everything. The better workaround is to disable openmp
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 1 05:39:12 UTC 2011 - coolo@suse.com
|
||||
|
||||
- add libtool as buildrequire to make the spec file more reliable
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 1 02:00:30 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
- Test suite hangs in qemu-arm due to bugs in the emulator
|
||||
workaround this issue.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 29 13:27:17 CEST 2011 - dmueller@suse.de
|
||||
|
||||
- fix build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 29 10:20:07 UTC 2011 - adrian@suse.de
|
||||
|
||||
- disable openmp when qemu is used for building (like on arm)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 7 10:36:22 CET 2011 - meissner@suse.de
|
||||
|
||||
- Also add gettext-tools to baselibs.conf, wine-devel now needs
|
||||
libgettextpo.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 21 13:43:49 CET 2010 - pth@suse.de
|
||||
|
||||
- Update to 0.18.1. Changes since 0.17:
|
||||
Version 0.18.1 - June 2010
|
||||
|
||||
* msggrep: A '$' anchor in a regular expression now also matches
|
||||
the end of the string, even if it does not end in a newline.
|
||||
|
||||
* Dependencies:
|
||||
The libraries and programs are now linked with libunistring if
|
||||
this library is already installed.
|
||||
|
||||
* Installation options:
|
||||
The configure option --with-cvs is deprecated. The 'autopoint'
|
||||
program will now use the 'git' program by default to compress its
|
||||
archive. If the configure option --without-git is specified,
|
||||
'autopoint' will not rely on 'git', but will instead rely on a
|
||||
locally installed 3 MB large archive.
|
||||
|
||||
Version 0.18 - May 2010
|
||||
|
||||
* PO file format:
|
||||
There is a new field 'Language' in the header entry. It denotes
|
||||
the language code (plus optional country code) for the PO file.
|
||||
This field can be used by automated tools, such as spell
|
||||
checkers. It is expected to be more reliable than looking at the
|
||||
file name or at the 'Language-Team' field in the header entry.
|
||||
|
||||
msgmerge, msgcat, msgen have a new option --lang that allows to
|
||||
specify this field. Additionally, msgmerge fills in this new
|
||||
field by looking at the 'Language-Team' field (if the --lang
|
||||
option is not given).
|
||||
|
||||
* xgettext and PO file format:
|
||||
|
||||
For messages with plural forms, programmers can inform the
|
||||
translators about the range of possible values of the numeric
|
||||
argument, like this:
|
||||
/* xgettext: range: 0..15 */
|
||||
This information 'range: 0..15' is stored in the PO file as a
|
||||
flag attached to the message. Translators can produce better
|
||||
translations when they know that the numeric argument is small.
|
||||
|
||||
* Colorized PO files:
|
||||
msgattrib, msgcomm, msgconv, msgen, msgfilter, msggrep, msginit,
|
||||
msgmerge, msgunfmt, msguniq, xgettext now have options --color
|
||||
and --style, like msgcat has since version 0.17.
|
||||
|
||||
* msgmerge is up to 10 times faster when the PO and POT files are
|
||||
large. This speedup was contributed by Ralf Wildenhues.
|
||||
|
||||
* msgcmp has a new option -N/--no-fuzzy-matching, like msgmerge has
|
||||
since version 0.12.
|
||||
|
||||
* msgfilter now sets environment variables during the invocation of
|
||||
the filter, indicating the msgid and location of the messge being
|
||||
processed.
|
||||
|
||||
* xgettext now can extract plural forms from Qt 4 programs. The
|
||||
recommended xgettext command-line options for this case are:
|
||||
--qt --keyword=tr:1,1t --keyword=tr:1,2c,2t --keyword=tr:1,1,2c,3t
|
||||
|
||||
* xgettext --language=GCC-source now recognizes also the format
|
||||
strings used in the Fortran front-end of the GCC compiler, and
|
||||
marks them as 'gfc-internal-format'.
|
||||
|
||||
* autopoint can now be used to update several PO directories all
|
||||
together.
|
||||
|
||||
* PO mode changes:
|
||||
- PO files with plural entries are now correctly handled.
|
||||
- Editing a message with previous msgid (in comments) removes these
|
||||
comments. Contributed by Noritada Kobayashi.
|
||||
|
||||
* The po/Makevars file has a new field MSGMERGE_OPTIONS, that can
|
||||
be used to adjust msgmerge's operation.
|
||||
|
||||
* The use of the macro AM_GNU_GETTEXT without 'external' argument
|
||||
and the --intl option of the gettextize program are deprecated
|
||||
and will be removed in the next release. Instead of including
|
||||
the intl sources in your package, we suggest making the libintl
|
||||
library an (optional) prerequisite of your package.
|
||||
|
||||
* Updated the meaning of 'gcc-internal-format' to match GCC 4.3.
|
||||
|
||||
* Installation options:
|
||||
The configure options --without-cvs and --with-git can be used to
|
||||
specify whether 'autopoint' will use the 'cvs' program, or the
|
||||
'git' program, or none at all. These options allow to trade
|
||||
dependencies against installed package size: If --without-cvs is
|
||||
specified and --with-git is not specified, 'autopoint' will not
|
||||
rely on 'cvs' or 'git', but will instead rely on a locally
|
||||
installed a 3 MB large archive.
|
||||
|
||||
* Portability: The msgfilter program now also works on native Woe32
|
||||
- platforms. Compiled C# message catalogs now also work with
|
||||
- 'mono' versions from 2009
|
||||
or newer.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de
|
||||
|
||||
- use %_smp_mflags
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 5 09:34:18 UTC 2010 - puzel@novell.com
|
||||
|
||||
- remove gettext-tools/gnulib-m4/openmp.m4: fix build with new
|
||||
autoconf
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 13 17:13:10 CET 2009 - jengelh@medozas.de
|
||||
|
||||
- add baselibs.conf as a source
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 8 10:39:08 CET 2009 - jengelh@medozas.de
|
||||
|
||||
- enable parallel building
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 23 16:23:44 CEST 2009 - ke@suse.de
|
||||
|
||||
- Synch po-mode.el with version from gettext CVS; for details, see the
|
||||
beginning of po-mode-cvs-2009-07-23.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 7 18:32:57 CET 2009 - schwab@suse.de
|
||||
|
||||
- Rebuild broken info file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 13 12:34:56 CET 2009 - olh@suse.de
|
||||
|
||||
- obsolete old -XXbit packages (bnc#437293)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 14 13:14:16 CEST 2008 - kukuk@suse.de
|
||||
|
||||
- Never install files in %check section
|
||||
- Disable autoconf/libtool tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 13 16:03:21 CEST 2008 - kukuk@suse.de
|
||||
|
||||
- Fix autoreconf call
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 18 10:35:50 CEST 2008 - pth@suse.de
|
||||
|
||||
- Fix segmentation fault in msgmerge (bnc#391372).
|
||||
- Get rid of %run_ldconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 7 21:39:56 CEST 2008 - coolo@suse.de
|
||||
|
||||
- provide gettext-<arch> too
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 29 17:29:50 CEST 2008 - cthiel@suse.de
|
||||
|
||||
- obsolete gettext-<arch> via baselibs.conf
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
|
||||
|
||||
- added baselibs.conf file to build xxbit packages
|
||||
for multilib support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 22 12:21:18 CET 2008 - pth@suse.de
|
||||
|
||||
- Define version before using it.
|
||||
- Fix Provides and Obsoletes for gettext-tools
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 15 13:11:18 CET 2008 - pth@suse.de
|
||||
|
||||
- Update rpmlintrc.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 14:42:03 CET 2007 - pth@suse.de
|
||||
|
||||
- Add patch from upstreams to add the missing mode for the open call.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 23 14:43:11 CET 2007 - pth@suse.de
|
||||
|
||||
- Reenable msgmerge-compendium-5 now that gcc has been fixed.
|
||||
- Change Provides/Obsoletes to match guidelines
|
||||
- Add Comment as to when the rename happened.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 15 12:51:17 CET 2007 - pth@suse.de
|
||||
|
||||
- Rename packages: gettext -> gettext-runtime and
|
||||
gettext-devel -> gettext->tools
|
||||
Packaging closely follows uptream recommendation with a few
|
||||
exceptions.
|
||||
|
||||
- Initialize variable to shut up gcc.
|
||||
- Disable msgmerge-compendium-5 for now.
|
||||
|
||||
- Update to 0.17:
|
||||
* License:
|
||||
The gettext related programs and tools are now licensed under the GPL
|
||||
version 3, instead of the GPL version 2.
|
||||
|
||||
* PO file format:
|
||||
The Project-Id-Version field in the header entry may now already be filled
|
||||
in the POT file. In this case, the translators don't need to fill it in.
|
||||
xgettext has new options --package-name and --package-version that allow
|
||||
to specify the package name and version from a Makefile.
|
||||
|
||||
* Colorized PO files:
|
||||
The msgcat program has new options --color and --style that produce a
|
||||
colorized PO file output, where keywords, strings, comments, or format
|
||||
directives can be highlighted. See the documentation section
|
||||
"Highlighting parts of PO files" for more info.
|
||||
|
||||
* gettextize now has a --po-dir option that allows several PO directories to
|
||||
be updated all together.
|
||||
|
||||
* Programming languages support:
|
||||
- Contexts (msgctxt) are now also supported for Java and C#.
|
||||
- C# with Qt: The support for Qt format strings has been updated for Qt 4.
|
||||
- C++ with KDE:
|
||||
xgettext has a new option --kde that triggers the recognition and marking
|
||||
of KDE 4 format strings.
|
||||
|
||||
* Autoconf macros:
|
||||
- A new macro AM_XGETTEXT_OPTION can be used as an alternative to modifying
|
||||
po/Makevars.
|
||||
|
||||
* libgettextpo library:
|
||||
- New functions are available for querying the list of supported format
|
||||
types.
|
||||
- The functions po_message_comments and po_message_extracted_comments
|
||||
return a multiline string where each line no longer starts with a
|
||||
redundant space. The leading space in every comment line is now stripped
|
||||
while reading the PO file.
|
||||
- Conversely, when you pass a multiline string to the function
|
||||
po_message_set_comments or po_message_set_extracted_comments, you normally
|
||||
don't pass a space at the beginning of each line, because such spaces are
|
||||
no longer trimmed during output.
|
||||
|
||||
* Documentation:
|
||||
- The "Users" chapter has been completely rewritten.
|
||||
- New section "Highlighting parts of PO files".
|
||||
- A complete example showing the use of GNU gettext in Java with the Qt/Jambi
|
||||
GUI toolkit has been added.
|
||||
|
||||
- Add tcl and perl-libintl-perl to BuildRequires (testsuite needs
|
||||
them).
|
||||
- Remove call to gl_AC_TYPE_LONG_LONG from libasprintf's
|
||||
configure.ac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 5 17:26:27 CET 2007 - rguenther@suse.de
|
||||
|
||||
- Fix ordering of gettext.changes entries.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 31 16:58:36 CET 2007 - mrueckert@suse.de
|
||||
|
||||
- renamed rpmlintrc to gettext-rpmlintrc and added it to the spec
|
||||
as source 1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 3 13:51:10 CEST 2007 - pth@suse.de
|
||||
|
||||
- Incorporate upstream patch that correctly fixes the expat
|
||||
dynloading code (http://savannah.gnu.org/bugs/?19585).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 15 21:14:29 CEST 2007 - coolo@suse.de
|
||||
|
||||
- do not set the version to 0.16.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 10 19:40:37 CEST 2007 - bk@suse.de
|
||||
|
||||
- Update to gettext 0.16.1, required by GnuPG 2.0.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 9 18:04:26 CEST 2007 - bk@suse.de
|
||||
|
||||
- apply the fixes from gettext-0.16.1, noticeable changes:
|
||||
* gettext.m4: changequote instead of pairs of brackets
|
||||
* add a few function protoypes and update polish translations
|
||||
- extract missing ycp comments (fix from upstream maintainer, #287150)
|
||||
- re-enable make check to identify possible toolchain bugs
|
||||
- move java and csharp documentation to gettext-{java,csharp}
|
||||
- hardlink duplicate example files in documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 26 00:01:35 CEST 2007 - ro@suse.de
|
||||
|
||||
- added rpmlintrc for gettext-devel (examples executable)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 14:43:28 CEST 2007 - pth@suse.de
|
||||
|
||||
- Make inclusion of expat.h independent of dynamic loading so
|
||||
that XML_MAJOR_VERSION is actually defined (#264110).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 15:18:31 CEST 2007 - pth@suse.de
|
||||
|
||||
- Fix use of uninitialized variables.
|
||||
- Set CXXFLAGS to get C++ code compiled with RPM_BUILD_OPTS
|
||||
- sync .spec files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 29 11:25:05 CEST 2007 - rguenther@suse.de
|
||||
|
||||
- Add site-lisp directories to package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 20 17:54:36 CET 2007 - rguenther@suse.de
|
||||
|
||||
- Remove unused expat BuildRequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 7 23:34:03 CET 2007 - rguenther@suse.de
|
||||
|
||||
- Add cvs Requires to gettext-devel as autopoint requires it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 16 17:09:35 CET 2007 - pth@suse.de
|
||||
|
||||
- Update to gettext 0.16
|
||||
|
||||
* Interoperability with automake-1.10.
|
||||
* msgmerge has a new option --previous that has the effect of saving the
|
||||
previous msgid of message when making them fuzzy.
|
||||
* msgcmp now ignores fuzzy and untranslated messages in the PO file.
|
||||
* gettextize, when invoked without --intl option, now installs only the .m4
|
||||
files that are needed.
|
||||
* gettextize no longer creates symbolic links by default; it makes file copies
|
||||
instead.
|
||||
|
||||
* Autoconf macros:
|
||||
- The gettext autoconf macros now require autoconf 2.52 or newer.
|
||||
- New autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR
|
||||
- A new autoconf macro AM_GNU_GETTEXT_NEED is added.
|
||||
|
||||
* The libgettextpo library no longer exports symbols that could clash with
|
||||
symbols of the application that uses it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 18 13:45:05 CEST 2006 - rguenther@suse.de
|
||||
|
||||
- Build java tools from a separate spec file gettext-java.
|
||||
- Remove gcc-java and gcc-objc build dependencies.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 5 16:58:56 CEST 2006 - rguenther@suse.de
|
||||
|
||||
- Remove build dependency on emacs.
|
||||
- Remove install dependency on libstdc++-devel for gettext-devel.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 26 08:59:35 CEST 2006 - ke@suse.de
|
||||
|
||||
- Version 0.15:
|
||||
* Enhance PO file format. Messages constrained to a certain context
|
||||
are possible. The syntax is:
|
||||
msgctxt "context"
|
||||
msgid "original"
|
||||
msgstr "translation"
|
||||
The xgettext program can be told through the --keyword flag which
|
||||
function/macro argument has the role of a context. It also supports
|
||||
the GNOME glib convention to specify the context and original string
|
||||
in the same string literal: "context|original".
|
||||
The (non-public) include file gettext.h defines macros pgettext, dpgettext
|
||||
etc. that take a context argument.
|
||||
For more information, see the node "Contexts" in the manual.
|
||||
* msgfmt's format string checking is now stricter in the presence of plural
|
||||
forms.
|
||||
* Enhancements to msggrep, xgettext, msgmerge (much faster now!).
|
||||
* New program recode-sr-latin, that converts Serbian text from
|
||||
the Cyrillic script to the Latin script.
|
||||
* Programming languages support:
|
||||
- C++ with Boost:
|
||||
- Python: xgettext now recognizes the source encoding from a
|
||||
"coding:" comment among the first two lines. The default encoding
|
||||
is now ASCII, no longer ISO-8859-1.
|
||||
* libgettextpo library: Incompatible change with the error handler
|
||||
type passed to functions.
|
||||
- Remove strict aliasing patch which seems to be obsolete because of
|
||||
code changes.
|
||||
- Require expat, but still no-op?
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:30:17 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 3 13:51:53 CET 2006 - sbrabec@suse.cz
|
||||
|
||||
- Fixed info installation scriptlets (#141183).
|
||||
- Use %doc, where appropriate.
|
||||
- Moved autosprintf.info to devel subpackage.
|
||||
- Move emacs-lisp files to main package.
|
||||
- Fixed devel splitting and requirements.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 19 13:13:49 CEST 2005 - mmj@suse.de
|
||||
|
||||
- Update to 0.14.5
|
||||
- Fix strict aliasing issues
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 16 14:28:46 CEST 2005 - schwab@suse.de
|
||||
|
||||
- Move libgettextsrc-*.so and libgettextlib-*.so to main package as needed
|
||||
by msgfmt.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 14 11:28:06 CEST 2005 - kukuk@suse.de
|
||||
|
||||
- Move msgfmt into main package for LSB support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 5 23:05:15 CEST 2005 - mmj@suse.de
|
||||
|
||||
- Fix documentation packaging
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 4 22:43:48 CEST 2005 - schwab@suse.de
|
||||
|
||||
- Remove the stupid casts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 4 19:39:41 CEST 2005 - mmj@suse.de
|
||||
|
||||
- Introduce incredibly gross hack to make sure (int) casts are
|
||||
changed to (long)
|
||||
- Update to gettext-0.14.3
|
||||
- Move many files to the -devel package, trying to conform with
|
||||
gettext authors recommendation of split runtime/tools [#66614]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 9 16:38:13 CET 2005 - mmj@suse.de
|
||||
|
||||
- Revise the tmp file race patch:
|
||||
- Make umask not so strict [#50437]
|
||||
- Use mktemp in more places
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 11 18:20:32 CET 2005 - schwab@suse.de
|
||||
|
||||
- Fix placement of po-mode-line-entry in mode-line-format for CVS Emacs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 25 11:01:34 CET 2004 - mmj@suse.de
|
||||
|
||||
- add fixes for tmp file races [#47724]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 19 00:28:00 CEST 2004 - ro@suse.de
|
||||
|
||||
- locale-rename: no -> nb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 19:28:30 CEST 2004 - mmj@suse.de
|
||||
|
||||
- Add autoreconf -fi
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 2 17:37:54 CET 2004 - mmj@suse.de
|
||||
|
||||
- Update to 0.14.1 [#34491] including:
|
||||
- C#: xgettext now also supports C#.
|
||||
- Bugfixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 10 10:30:31 CET 2004 - adrian@suse.de
|
||||
|
||||
- add %run_ldconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 9 21:45:35 CET 2004 - schwab@suse.de
|
||||
|
||||
- Fix makefiles.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 19 14:20:35 CET 2003 - pthomas@suse.de
|
||||
|
||||
- Update to 0.13
|
||||
- New languages support: shell, Perl, PHP ObjectiveC,
|
||||
the special format strings used in the gcc sources and
|
||||
C++ with Qt.
|
||||
- Complete examples for all supported programing languages
|
||||
added to the documentation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 9 10:09:00 CET 2003 - kukuk@suse.de
|
||||
|
||||
- Don't build PDF docu
|
||||
- Remove lots of obsolete packages from neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 17 12:30:58 CEST 2003 - pthomas@suse.de
|
||||
|
||||
- Update to 0.12.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de
|
||||
|
||||
- fix install_info --delete call and move from preun to postun
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 18:32:39 CET 2003 - kukuk@suse.de
|
||||
|
||||
- Use install-info macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 8 13:56:08 CEST 2002 - pthomas@suse.de
|
||||
|
||||
- Update to 0.11.5
|
||||
From NEWS: Bug fixes in the gettext.m4 autoconf macros.
|
||||
|
||||
- Remove patches obsoleted by the update and adapt those
|
||||
still needed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 26 22:27:59 CEST 2002 - schwab@suse.de
|
||||
|
||||
- Fix filelist.
|
||||
- Install missing m4 macros.
|
||||
- Remove interaction in gettextize.
|
||||
- Fix unwanted expansion in AM_PO_SUBDIRS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 26 13:44:32 CEST 2002 - pthomas@suse.de
|
||||
|
||||
- Update to gettext 0.11.4
|
||||
|
||||
- The tools now know about the ISO C 99 <inttypes.h> format
|
||||
string directive macros PRId64, PRIxMAX etc.
|
||||
|
||||
- remove patches obsoleted by this new version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 11:57:21 CEST 2002 - ke@suse.de
|
||||
|
||||
- Remove texinfo.tex from source files and make use of texinfo.tex
|
||||
provided by the system.
|
||||
- Install gettext.pdf under $RPM_BUILD_ROOT.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 23 11:33:14 CEST 2002 - schwab@suse.de
|
||||
|
||||
- Update to gettext 0.11.3.
|
||||
- Force checking for division by zero.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 9 16:34:37 CEST 2002 - schwab@suse.de
|
||||
|
||||
- Fix autoload for po-mode.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 13 16:13:38 CEST 2002 - meissner@suse.de
|
||||
|
||||
- mark msgfmt-6 as SKIP, division by 0 is not exactly well defined.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 21 14:47:28 CEST 2002 - ke@suse.de
|
||||
|
||||
- suse-start-po-mode.el: Load po-compat if "po-find-file-coding-system"
|
||||
doesn't come with stock Emacs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 25 16:07:32 CEST 2002 - pthomas@suse.de
|
||||
|
||||
- Update to 0.11.2.
|
||||
From NEWS:
|
||||
- Bug fixes in the gettext.m4 autoconf macros.
|
||||
- New documentation section: Preparing Translatable Strings.
|
||||
- xgettext now also supports Python, Tcl, Awk and Glade.
|
||||
- msgfmt can create (and msgunfmt can dump) Tcl message catalogs.
|
||||
- msggrep has a new option -C that allows to search for strings
|
||||
in translator comments.
|
||||
- Run gettext testsuite.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 3 15:59:28 CEST 2002 - schwab@suse.de
|
||||
|
||||
- Move suse-start-po-mode.el here from po-utils.
|
||||
- Remove ia64 workaround.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 28 18:14:53 CET 2002 - pthomas@suse.de
|
||||
|
||||
- Use %{_libdir}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 18 15:10:16 CET 2002 - pthomas@suse.de
|
||||
|
||||
- Update %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 4 13:25 CET 2002 - pthomas@suse.de
|
||||
|
||||
- Update to 0.11
|
||||
This is a major update with lots of new features and new tools.
|
||||
- Integrate a patch from Bruno Haible to make libtool regard
|
||||
DESTDIR when installing.
|
||||
- Don't use the included libintl but rather the one in libc.
|
||||
- Build dynamically linked binaries.
|
||||
- Added the current texinfo.tex as otherwise gettext.pdf won't build.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 1 00:26:13 CET 2002 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 31 13:37:55 CET 2001 - kukuk@suse.de
|
||||
|
||||
- Include manual pages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 30 20:32:21 CET 2001 - kukuk@suse.de
|
||||
|
||||
- Update to 0.10.40
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 27 18:10:09 CEST 2001 - ke@suse.de
|
||||
|
||||
- Update German translation from UMontreal Translation Project.
|
||||
- Make sure to compile and install 'po-mode'.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 11 09:59:44 CEST 2001 - pthomas@suse.de
|
||||
|
||||
- Update to 0.10.37.
|
||||
Remove manual.diff as most of the fixes have been incorporated.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 9 18:40:53 CEST 2001 - cstein@suse.de
|
||||
|
||||
- repacked sources with bzip2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 12 14:34:00 CEST 2001 - pthomas@suse.de
|
||||
|
||||
- Don't list directories shared with other packages in
|
||||
spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 05:59:00 CEST 2001 - pthomas@suse.de
|
||||
|
||||
- Update to 0.10.36
|
||||
- Drop msghack patch
|
||||
- Improve gettext manual ( hopefully :)
|
||||
- Now provides po-mode.el
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 8 08:56:17 CET 2001 - ke@suse.de
|
||||
|
||||
- Use more rpm macros.
|
||||
- Build and install a printable manual (PDF).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 2 19:20:48 CET 2001 - schwab@suse.de
|
||||
|
||||
- Compile with -O1 on ia64 to work around compiler bug.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 19 17:43:21 MEST 2000 - pthomas@suse.de
|
||||
|
||||
- add patch from Bruno Haible. This allows statically linking
|
||||
programs with libintl.a on glibc systems.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 20 14:05:05 MEST 2000 - pthomas@suse.de
|
||||
|
||||
- xgettext.c: format YCP automatically set for .ycp extension
|
||||
- gettext.spec: allow building on systems where gettext.m4 etc.
|
||||
are installed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 15 17:05:23 CEST 2000 - pthomas@suse.de
|
||||
|
||||
- add patches from Paul Eggert needed for NLS in gcc
|
||||
- add patch from Martin v. Loewis to allow searching
|
||||
inside of #define
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 5 10:16:17 CEST 2000 - kukuk@suse.de
|
||||
|
||||
- Fix Bug 2812
|
||||
- Add DESTDIR to intl/Makefile.in and po/Makefile.in.in
|
||||
- Use BuildRoot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 1 21:05:29 CEST 2000 - ke@suse.de
|
||||
|
||||
- Add msghack from RH's package: gettext-0.10.35-hacks.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 26 17:29:43 CEST 2000 - kukuk@suse.de
|
||||
|
||||
- Fix configure call (add %{_target_cpu} macro)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 6 10:51:38 EDT 2000 - bk@suse.de
|
||||
|
||||
- replace config.{guess,sub} against config update macro for s390
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 3 17:35:26 CET 2000 - schwab@suse.de
|
||||
|
||||
- Update config.{guess,sub} to latest version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 28 16:55:57 CET 2000 - schwab@suse.de
|
||||
|
||||
- Do not even try to install po-mode.el.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 25 18:43:18 CET 2000 - kukuk@suse.de
|
||||
|
||||
- Fix permissions of locale dirs.
|
||||
- Move /usr/info -> /usr/share/info.
|
||||
- Remove po-mode, now in extra package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 13 12:02:54 CET 1999 - schwab@suse.de
|
||||
|
||||
- Remove libintl.a from file list, everything is in libc.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 30 10:56:10 CET 1999 - schwab@suse.de
|
||||
|
||||
- Add format checking for YCP strings.
|
||||
- Don't declare getline and getdelim.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 13 14:46:46 MET 1999 - kukuk@suse.de
|
||||
|
||||
- Clean up spec file and old, obsolete patches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 15 11:51:03 CEST 1999 - aj@suse.de
|
||||
|
||||
- Handle \v.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 12 10:32:52 MEST 1999 - kettner@suse.de
|
||||
|
||||
- patched for use with YaST2 YCP scripts, new option
|
||||
--language=YCP
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 9 14:46:38 CEST 1999 - ro@suse.de
|
||||
|
||||
- fixed to build on any arch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 15 17:16:03 MEST 1999 - ke@suse.de
|
||||
|
||||
- update po-mode.el.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 11 18:52:25 MET 1999 - kukuk@suse.de
|
||||
|
||||
- don't link against libintl.a on glibc systems
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 14 14:39:32 MET 1999 - ke@suse.de
|
||||
|
||||
- update po-mode.el.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 7 17:51:27 MET 1999 - ro@suse.de
|
||||
|
||||
- respect alpha in specfile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 7 17:49:02 MET 1999 - ro@suse.de
|
||||
|
||||
- don't redeclare getline
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 7 16:02:41 MET 1998 - florian@suse.de
|
||||
|
||||
- update to gettext 0.10.35
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 7 14:00:49 MET 1998 - bs@suse.de
|
||||
|
||||
- added locale.alias to file list for libc5 systems.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 26 15:31:55 MET 1998 - bs@suse.de
|
||||
|
||||
- skipped /usr/share/locale/locale.alias from file list (is in localedb)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 11 13:49:40 MEST 1998 - ro@suse.de
|
||||
|
||||
- switch detection of GLIBC to automake
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 13 11:57:46 MEST 1998 - bs@suse.de
|
||||
|
||||
- added export LC_CTYPE to build an install section in spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 12 09:32:43 MEST 1998 - ke@suse.de
|
||||
|
||||
- new po-mode.el from
|
||||
http://www.iro.umontreal.ca/contrib/po/po-mode/po-mode.el
|
||||
- and install po-mode.el.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 19 19:36:31 MEST 1998 - ro@suse.de
|
||||
|
||||
- dirty hack should at least work now
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 19 10:04:32 MEST 1998 - bs@suse.de
|
||||
|
||||
- don't include libintl.h if glibc is used.
|
||||
did it with a dirty hack. Will be done better in a while.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 9 19:31:18 MET 1998 - ro@suse.de
|
||||
|
||||
- added some documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 5 10:28:07 MET 1998 - florian@suse.de
|
||||
|
||||
- add missing m4 macro files in /usr/share/aclocal
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 10 12:48:23 MEST 1997 - florian@suse.de
|
||||
|
||||
|
||||
- update to version 0.10.32
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 22 22:24:11 CET 1997 - florian@suse.de
|
||||
|
||||
|
||||
- update to version 0.10.26
|
272
gettext-runtime-mini.spec
Normal file
272
gettext-runtime-mini.spec
Normal file
@ -0,0 +1,272 @@
|
||||
#
|
||||
# spec file for package gettext-runtime-mini
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define pacname gettext
|
||||
%bcond_without mini
|
||||
|
||||
Name: gettext-runtime-mini
|
||||
Version: 0.18.2.1
|
||||
Release: 0
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libtool
|
||||
# To get an updated linkdupes.sh (in case there are new dupes), temproarily enable:
|
||||
#BuildRequires: fdupes
|
||||
%if %{without mini}
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: libcroco-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: perl-libintl-perl
|
||||
BuildRequires: tcl
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: gettext-64bit
|
||||
%endif
|
||||
#
|
||||
#Rename done for openSUSE 11.0
|
||||
Provides: gettext = %{version}
|
||||
Obsoletes: gettext < %{version}
|
||||
Conflicts: gettext-runtime-mini
|
||||
%else
|
||||
# to allow a prjconf preference which to take per build
|
||||
Provides: gettext-runtime = %{version}
|
||||
%endif
|
||||
Summary: Tools for Native Language Support (NLS)
|
||||
License: GPL-3.0+ and LGPL-2.0+
|
||||
Group: Development/Tools/Other
|
||||
Url: http://www.gnu.org/software/gettext/
|
||||
PreReq: %{install_info_prereq}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source0: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.gz
|
||||
Source1: gettext-rpmlintrc
|
||||
Source2: suse-start-po-mode.el
|
||||
Source3: gettext-linkdupes.sh
|
||||
Source4: baselibs.conf
|
||||
Patch: gettext-0.12.1-sigfpe.patch
|
||||
Patch2: gettext-0.12.1-gettextize.patch
|
||||
Patch4: gettext-po-mode.diff
|
||||
Patch5: gettext-initialize_vars.patch
|
||||
Patch9: gettext-needlessly_init_vars.patch
|
||||
Patch10: gettext-configure.patch
|
||||
|
||||
%description
|
||||
This package contains the intl library as well as tools that ease the
|
||||
creation and maintenance of message catalogs. It allows you to extract
|
||||
strings from source code. The supplied Emacs mode (po-mode.el) helps
|
||||
editing these catalogs (called PO files, for portable object) and
|
||||
adding translations. A special compiler turns these PO files into
|
||||
binary catalogs.
|
||||
|
||||
%package -n gettext-tools%{?with_mini:-mini}
|
||||
Summary: Tools for Native Language Support (NLS)
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Tools/Other
|
||||
Requires: %{name} = %{version}
|
||||
PreReq: info
|
||||
%if %{without mini}
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: gettext-devel-64bit
|
||||
%endif
|
||||
#
|
||||
Provides: gettext-devel = %{version}
|
||||
Obsoletes: gettext-devel < %{version}
|
||||
Conflicts: gettext-tools-mini
|
||||
%else
|
||||
# to allow a prjconf preference which to take per build
|
||||
Provides: gettext-tools = %{version}
|
||||
%endif
|
||||
|
||||
%description -n gettext-tools%{?with_mini:-mini}
|
||||
This package contains the `intl' library as well as tools that ease the
|
||||
creation and maintenance of message catalogs. With it you can extract
|
||||
strings from source code. The supplied Emacs mode (po-mode.el) will aid
|
||||
in editing these catalogs (called PO files, for portable object) and
|
||||
add translations. A special compiler will turn these PO files into
|
||||
binary catalogs.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pacname}-%{version}
|
||||
%patch
|
||||
%patch2
|
||||
%patch4
|
||||
%patch5
|
||||
%patch9
|
||||
%patch10 -p1
|
||||
|
||||
%build
|
||||
# expect a couple "You should update your `aclocal.m4' by running aclocal."
|
||||
#autoreconf -fiv
|
||||
#sh autogen.sh
|
||||
export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"
|
||||
export CXXFLAGS="$CFLAGS -Dgcc_is_lint"
|
||||
%if 0%{?qemu_user_space_build:1}
|
||||
OPTS="--disable-openmp"
|
||||
%endif
|
||||
%configure --enable-shared $OPTS
|
||||
make %{?_smp_mflags} GMSGFMT=../src/msgfmt V=1
|
||||
# use texinfo.tex supplied by the system (texinfo)
|
||||
# make -C gettext-tools/doc gettext.pdf
|
||||
|
||||
%install
|
||||
%define my_docdir %{_defaultdocdir}/%{name}
|
||||
export LC_CTYPE=ISO-8859-15
|
||||
make install DESTDIR=%{buildroot} docdir=%{my_docdir}
|
||||
cp -pr AUTHORS COPYING NEWS README* %{buildroot}/%{my_docdir}
|
||||
mkdir -p %{buildroot}/usr/share/emacs/site-lisp
|
||||
install -m 644 %SOURCE2 %{buildroot}/usr/share/emacs/site-lisp
|
||||
install -m 644 gettext-tools/misc/po-compat.el %{buildroot}/usr/share/emacs/site-lisp
|
||||
install -m 644 gettext-tools/misc/po-mode.el %{buildroot}/usr/share/emacs/site-lisp
|
||||
install -m 644 gettext-tools/misc/start-po.el %{buildroot}/usr/share/emacs/site-lisp
|
||||
#make -C gettext-tools/doc docdir=%{buildroot}/%{my_docdir} install-pdf
|
||||
if [ -e %{buildroot}/%{_libdir}/preloadable_libintl.so ];then
|
||||
chmod 755 %{buildroot}/%{_libdir}/preloadable_libintl.so
|
||||
fi
|
||||
# fix rpmlint invalid-lc-messages-dir:
|
||||
rm -rf %{buildroot}/%_datadir/locale/en@{bold,}quot
|
||||
%{find_lang} gettext-tools
|
||||
%{find_lang} gettext-runtime
|
||||
#remove unwanted stuff
|
||||
rm -f %{buildroot}/usr/share/doc/packages/gettext/README.{mingw,vms,woe32}
|
||||
rm -f %_datadir/%name/gettext.jar
|
||||
#find %{buildroot} -maxdepth 2 -name '*html' | xargs rm -f
|
||||
# hardlink the dupes in the documentation:
|
||||
cd %{buildroot}/%{my_docdir}/examples
|
||||
sh %{SOURCE3}
|
||||
# moved to gettext-java and gettext-csharp:
|
||||
rm -rf *csharp* *java* ../javadoc* ../csharpdoc*
|
||||
rm -f %{buildroot}%{_defaultdocdir}/%name/README.woe32
|
||||
cd %{buildroot}/%{_mandir}/man3
|
||||
echo ".so man3/dngettext.3" > dcngettext.3
|
||||
echo ".so man3/dgettext.3" > dcgettext.3
|
||||
|
||||
%if %{without mini}
|
||||
%check
|
||||
# s390s fails this test,
|
||||
# Starting test_recursive_lock ...test-lock: pthread_mutex_lock.c:66: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
|
||||
|
||||
# These fails randomly, remove them from Makefile
|
||||
sed -i -e 's/test-areadlink\$(EXEEXT) //g' \
|
||||
-e 's/test-readlink\$(EXEEXT) //g' \
|
||||
gettext-tools/gnulib-tests/Makefile
|
||||
|
||||
make check || {
|
||||
%ifarch s390x
|
||||
echo "got this during mbuild testing on s390x (on both times which make check ran):"
|
||||
echo "Starting test_recursive_lock ...test-lock: pthread_mutex_lock.c:66: __pthread_mutex_lock: Assertion mutex->__data.__owner == 0 failed."
|
||||
echo "s390x needs kernel/glibc/gcc fix, but let it continue bootstrap for now!"
|
||||
%else
|
||||
echo "make check failed, check it!"
|
||||
exit 5
|
||||
%endif
|
||||
}
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post -n gettext-tools%{?with_mini:-mini}
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/gettext.info.gz
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/autosprintf.info.gz
|
||||
|
||||
%postun -n gettext-tools%{?with_mini:-mini}
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gettext.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autosprintf.info.gz
|
||||
|
||||
%files -f gettext-runtime.lang
|
||||
%defattr(-,root,root)
|
||||
%dir %_prefix/share/gettext
|
||||
%doc %dir %_defaultdocdir/%name
|
||||
%doc %_defaultdocdir/%name/gettext.1.html
|
||||
%doc %_defaultdocdir/%name/ngettext.1.html
|
||||
%doc %_defaultdocdir/%name/envsubst.1.html
|
||||
%doc %_defaultdocdir/%name/*.3.html
|
||||
%doc %_defaultdocdir/%name/AUTHORS
|
||||
%doc %_defaultdocdir/%name/COPYING
|
||||
%doc %_defaultdocdir/%name/NEWS
|
||||
%doc %_defaultdocdir/%name/README
|
||||
%doc %_defaultdocdir/%name/FAQ.html
|
||||
%_bindir/gettext
|
||||
%_bindir/ngettext
|
||||
%_bindir/envsubst
|
||||
%_bindir/gettext.sh
|
||||
%_bindir/msgfmt
|
||||
%_libdir/libgettextlib-*.so
|
||||
%_libdir/libgettextsrc-*.so
|
||||
%_libdir/libasprintf.so.*
|
||||
%doc %_mandir/man1/gettext.1.gz
|
||||
%doc %_mandir/man1/ngettext.1.gz
|
||||
%doc %_mandir/man1/envsubst.1.gz
|
||||
%doc %_mandir/man1/msgfmt.1.gz
|
||||
%doc %_mandir/man3/*
|
||||
%_datadir/gettext/ABOUT-NLS
|
||||
%dir %_prefix/share/emacs
|
||||
%dir %_prefix/share/emacs/site-lisp
|
||||
%_prefix/share/emacs/site-lisp/po-compat.*
|
||||
%_prefix/share/emacs/site-lisp/po-mode.*
|
||||
%_prefix/share/emacs/site-lisp/start-po.*
|
||||
%_prefix/share/emacs/site-lisp/suse-start-po-mode.el
|
||||
|
||||
%files -n gettext-tools%{?with_mini:-mini} -f gettext-tools.lang
|
||||
%defattr(-,root,root)
|
||||
%doc %_defaultdocdir/%name/examples
|
||||
%doc %_defaultdocdir/%name/auto*.html
|
||||
%doc %_defaultdocdir/%name/gettext_*.html
|
||||
%doc %_defaultdocdir/%name/gettextize*.html
|
||||
%doc %_defaultdocdir/%name/msg*.html
|
||||
%doc %_defaultdocdir/%name/tutorial*.html
|
||||
%doc %_defaultdocdir/%name/xgettext*.html
|
||||
%doc %_defaultdocdir/%name/recode-sr-latin.1.html
|
||||
%_bindir/msg[a-eg-u]*
|
||||
%_bindir/msgfilter
|
||||
%_bindir/xgettext
|
||||
%_bindir/gettextize
|
||||
%_bindir/autopoint
|
||||
%_bindir/recode-sr-latin
|
||||
%doc %_mandir/man1/msg[a-eg-u]*.1.gz
|
||||
%doc %_mandir/man1/msgfilter.1.gz
|
||||
%doc %_mandir/man1/xgettext.1.gz
|
||||
%doc %_mandir/man1/gettextize.1.gz
|
||||
%doc %_mandir/man1/autopoint.1.gz
|
||||
%doc %_mandir/man1/recode-sr-latin.1.gz
|
||||
%doc %_infodir/gettext.info*
|
||||
%doc %_infodir/autosprintf.info*
|
||||
%_includedir/gettext-po.h
|
||||
%_includedir/autosprintf.h
|
||||
%_libdir/libasprintf.*a
|
||||
%_libdir/libasprintf.so
|
||||
%_libdir/libgettextlib.*
|
||||
%_libdir/libgettextsrc.*
|
||||
%_libdir/libgettextpo*
|
||||
%_libdir/preloadable_libintl.so
|
||||
%_libdir/gettext
|
||||
%_datadir/%pacname/config.rpath
|
||||
%_datadir/%pacname/intl
|
||||
%_datadir/%pacname/po
|
||||
%_datadir/%pacname/projects
|
||||
%_datadir/%pacname/gettext.h
|
||||
%_datadir/%pacname/msgunfmt.tcl
|
||||
%_datadir/%pacname/javaversion.class
|
||||
%_datadir/%pacname/styles
|
||||
%_datadir/%pacname/archive.dir.tar.xz
|
||||
%_datadir/aclocal/*
|
||||
|
||||
%changelog
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 18 11:10:59 UTC 2013 - coolo@suse.com
|
||||
|
||||
- make gettext-runtime conflict with gettext-runtime-mini
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 18 09:54:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- Add gettext-runtime-mini.spec that reverts to using the included
|
||||
library sources
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 15 11:52:06 UTC 2013 - schwab@linux-m68k.org
|
||||
|
||||
|
@ -17,20 +17,21 @@
|
||||
|
||||
|
||||
%define pacname gettext
|
||||
%bcond_with mini
|
||||
|
||||
Name: gettext-runtime
|
||||
Version: 0.18.2.1
|
||||
Release: 0
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libtool
|
||||
# To get an updated linkdupes.sh (in case there are new dupes), temproarily enable:
|
||||
#BuildRequires: fdupes
|
||||
%if %{without mini}
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: libcroco-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: perl-libintl-perl
|
||||
BuildRequires: tcl
|
||||
# To get an updated linkdupes.sh (in case there are new dupes), temproarily enable:
|
||||
#BuildRequires: fdupes
|
||||
Url: http://www.gnu.org/software/gettext/
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: gettext-64bit
|
||||
@ -39,9 +40,15 @@ Obsoletes: gettext-64bit
|
||||
#Rename done for openSUSE 11.0
|
||||
Provides: gettext = %{version}
|
||||
Obsoletes: gettext < %{version}
|
||||
Conflicts: gettext-runtime-mini
|
||||
%else
|
||||
# to allow a prjconf preference which to take per build
|
||||
Provides: gettext-runtime = %{version}
|
||||
%endif
|
||||
Summary: Tools for Native Language Support (NLS)
|
||||
License: GPL-3.0+ and LGPL-2.0+
|
||||
Group: Development/Tools/Other
|
||||
Url: http://www.gnu.org/software/gettext/
|
||||
PreReq: %{install_info_prereq}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source0: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.gz
|
||||
@ -64,12 +71,13 @@ editing these catalogs (called PO files, for portable object) and
|
||||
adding translations. A special compiler turns these PO files into
|
||||
binary catalogs.
|
||||
|
||||
%package -n gettext-tools
|
||||
%package -n gettext-tools%{?with_mini:-mini}
|
||||
Summary: Tools for Native Language Support (NLS)
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Tools/Other
|
||||
Requires: %{name} = %{version}
|
||||
PreReq: info
|
||||
%if %{without mini}
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: gettext-devel-64bit
|
||||
@ -77,8 +85,13 @@ Obsoletes: gettext-devel-64bit
|
||||
#
|
||||
Provides: gettext-devel = %{version}
|
||||
Obsoletes: gettext-devel < %{version}
|
||||
Conflicts: gettext-tools-mini
|
||||
%else
|
||||
# to allow a prjconf preference which to take per build
|
||||
Provides: gettext-tools = %{version}
|
||||
%endif
|
||||
|
||||
%description -n gettext-tools
|
||||
%description -n gettext-tools%{?with_mini:-mini}
|
||||
This package contains the `intl' library as well as tools that ease the
|
||||
creation and maintenance of message catalogs. With it you can extract
|
||||
strings from source code. The supplied Emacs mode (po-mode.el) will aid
|
||||
@ -141,6 +154,7 @@ cd %{buildroot}/%{_mandir}/man3
|
||||
echo ".so man3/dngettext.3" > dcngettext.3
|
||||
echo ".so man3/dgettext.3" > dcgettext.3
|
||||
|
||||
%if %{without mini}
|
||||
%check
|
||||
# s390s fails this test,
|
||||
# Starting test_recursive_lock ...test-lock: pthread_mutex_lock.c:66: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
|
||||
@ -160,6 +174,7 @@ make check || {
|
||||
exit 5
|
||||
%endif
|
||||
}
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
@ -168,11 +183,11 @@ rm -rf %{buildroot}
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post -n gettext-tools
|
||||
%post -n gettext-tools%{?with_mini:-mini}
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/gettext.info.gz
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/autosprintf.info.gz
|
||||
|
||||
%postun -n gettext-tools
|
||||
%postun -n gettext-tools%{?with_mini:-mini}
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gettext.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autosprintf.info.gz
|
||||
|
||||
@ -210,7 +225,7 @@ rm -rf %{buildroot}
|
||||
%_prefix/share/emacs/site-lisp/start-po.*
|
||||
%_prefix/share/emacs/site-lisp/suse-start-po-mode.el
|
||||
|
||||
%files -n gettext-tools -f gettext-tools.lang
|
||||
%files -n gettext-tools%{?with_mini:-mini} -f gettext-tools.lang
|
||||
%defattr(-,root,root)
|
||||
%doc %_defaultdocdir/%name/examples
|
||||
%doc %_defaultdocdir/%name/auto*.html
|
||||
|
6
pre_checkin.sh
Normal file
6
pre_checkin.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
# This script should be called before checkin.
|
||||
sed -e 's/%bcond_with mini/%bcond_without mini/' \
|
||||
-e '/^Name:/s/$/-mini/' \
|
||||
gettext-runtime.spec > gettext-runtime-mini.spec
|
||||
cp gettext-runtime.changes gettext-runtime-mini.changes
|
Loading…
Reference in New Issue
Block a user