]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - gettext/gettext.nm
f3eaa8c17d8d8775a3b30b7215ae79f770cd75cc
[people/ms/ipfire-3.x.git] / gettext / gettext.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = gettext
7 version = 0.18.1.1
8 release = 4
9
10 groups = System/Base
11 url = http://www.gnu.org/software/gettext/
12 license = GPLv3 LGPL2+
13 summary = GNU libraries and utilities for producing multi-lingual messages.
14
15 description
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
25 programs.
26 end
27
28 source_dl = http://ftp.gnu.org/pub/gnu/gettext/
29
30 build
31 requires
32 bison
33 chrpath
34 libcroco-devel
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
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
56 end
57
58 packages
59 package %{name}
60
61 package %{name}-devel
62 template DEVEL
63
64 requires
65 gettext-libs=%{thisver}
66 end
67 end
68
69 package %{name}-libs
70 template LIBS
71
72 files
73 %{libdir}/libgettextlib-*.so
74 %{libdir}/libgettextpo.so.*
75 %{libdir}/libgettextsrc-*.so
76 %{libdir}/preloadable_libintl.so
77 end
78 end
79
80 package %{name}-debuginfo
81 template DEBUGINFO
82 end
83 end