]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - gettext/gettext.nm
gettext: Make package work on x86_64.
[people/ms/ipfire-3.x.git] / gettext / gettext.nm
CommitLineData
166a6c21 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
166a6c21
MT
4###############################################################################
5
802ea3af
MT
6name = gettext
7version = 0.18.1.1
5697a8bb 8release = 4
166a6c21 9
802ea3af
MT
10groups = System/Base
11url = http://www.gnu.org/software/gettext/
12license = GPLv3 LGPL2+
13summary = GNU libraries and utilities for producing multi-lingual messages.
48add3fd 14
802ea3af 15description
c28cd4f9
SS
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
166a6c21 25 programs.
802ea3af
MT
26end
27
c28cd4f9 28source_dl = http://ftp.gnu.org/pub/gnu/gettext/
802ea3af
MT
29
30build
31 requires
32 bison
5697a8bb 33 chrpath
df4ac564 34 libcroco-devel
802ea3af
MT
35 libxml2-devel
36 end
37
38 configure_options += \
39 --disable-static \
40 --enable-shared \
41 --disable-rpath
42
43# Disable testsuite - it's broken ( readlink test )
44# test
45# make check
46# end
5697a8bb
MT
47
48 install_cmds
49 # cleanup rpaths
50 for i in $(find %{BUILDROOT}%{bindir} %{BUILDROOT}%{libdir} -type f); do
51 if file ${i} | grep "ELF 64-bit" >/dev/null; then
52 chrpath -l ${i} && chrpath --delete ${i}
53 fi
54 done
55 end
802ea3af
MT
56end
57
58packages
59 package %{name}
1f9bc2f0 60
802ea3af
MT
61 package %{name}-devel
62 template DEVEL
c28cd4f9 63
5697a8bb 64 requires
c28cd4f9 65 gettext-libs=%{thisver}
5697a8bb 66 end
c28cd4f9
SS
67 end
68
69 package %{name}-libs
70 template LIBS
71
72 files
5697a8bb
MT
73 %{libdir}/libgettextlib-*.so
74 %{libdir}/libgettextpo.so.*
75 %{libdir}/libgettextsrc-*.so
76 %{libdir}/preloadable_libintl.so
c28cd4f9 77 end
802ea3af 78 end
1f9bc2f0
MT
79
80 package %{name}-debuginfo
81 template DEBUGINFO
82 end
802ea3af 83end