1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 url = https://www.gnu.org/software/gettext/
12 license = GPLv3 LGPL2+
13 summary = GNU libraries and utilities for producing multi-lingual messages.
16 The GNU gettext package provides a set of tools and documentation for
17 producing multi-lingual messages in programs. Tools include a set of
18 conventions about how programs should be written to support message
19 catalogs, a directory and file naming organization for the message
20 catalogs, a runtime library which supports the retrieval of translated
21 messages, and stand-alone programs for handling the translatable and
22 the already translated strings. Gettext provides an easy to use
23 library and tools for creating, using, and modifying natural language
24 catalogs and is a powerful and simple method for internationalizing
28 source_dl = https://ftp.gnu.org/pub/gnu/gettext/
29 sources = %{thisapp}.tar.xz
42 configure_options += \
53 for i in $(find %{BUILDROOT}%{bindir} %{BUILDROOT}%{libdir} -type f); do
54 if file ${i} | grep "ELF 64-bit" >/dev/null; then
55 chrpath -l ${i} && chrpath --delete ${i}
59 # Fix library permissions.
60 chmod 755 %{BUILDROOT}%{libdir}/preloadable_libintl.so
68 bundled(libcroco) = 0.6.12
71 filter_requires = (Shell)
74 package %{name}-common-devel
75 summary = Common development files for gettext.
76 description = %{summary}
83 filter_requires = (Shell)
90 gettext-common-devel=%{thisver}
91 gettext-libs=%{thisver}
95 filter_requires = (Shell)
99 /usr/share/man/man1/autopoint.1
105 filter_requires = (Shell)
108 %{libdir}/libgettextlib-*.so
109 %{libdir}/libgettextpo.so.*
110 %{libdir}/libgettextsrc-*.so
111 %{libdir}/preloadable_libintl.so
115 package %{name}-debuginfo