]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - gettext/gettext.nm
ppp: Re-add ifname patch
[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 6name = gettext
5dd3a80e 7version = 0.19.3
86e241bd 8release = 1
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
5dd3a80e
MT
34 expat-devel
35 glib2-devel
df4ac564 36 libcroco-devel
5dd3a80e 37 libunistring-devel
802ea3af 38 libxml2-devel
5dd3a80e 39 ncurses-devel
802ea3af
MT
40 end
41
42 configure_options += \
43 --disable-static \
44 --enable-shared \
45 --disable-rpath
46
3f942a52
SS
47 test
48 make check
49 end
5697a8bb
MT
50
51 install_cmds
52 # cleanup rpaths
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}
56 fi
57 done
b0fdf190
MT
58
59 # Fix library permissions.
60 chmod 755 %{BUILDROOT}%{libdir}/preloadable_libintl.so
5697a8bb 61 end
802ea3af
MT
62end
63
64packages
65 package %{name}
5dd3a80e
MT
66 provides += bundled(gnulib)
67 end
1f9bc2f0 68
997373fd
SS
69 package %{name}-common-devel
70 summary = Common development files for gettext.
71 description = %{summary}
72 arch = noarch
73
74 files
75 /usr/share/gettext/
76 end
77 end
78
802ea3af
MT
79 package %{name}-devel
80 template DEVEL
c28cd4f9 81
5697a8bb 82 requires
997373fd 83 gettext-common-devel=%{thisver}
c28cd4f9 84 gettext-libs=%{thisver}
d137cccc 85 git
5697a8bb 86 end
997373fd
SS
87
88 files += \
89 /usr/bin/autopoint \
90 /usr/share/man/man1/autopoint.1
c28cd4f9
SS
91 end
92
93 package %{name}-libs
94 template LIBS
95
96 files
5697a8bb
MT
97 %{libdir}/libgettextlib-*.so
98 %{libdir}/libgettextpo.so.*
99 %{libdir}/libgettextsrc-*.so
100 %{libdir}/preloadable_libintl.so
c28cd4f9 101 end
802ea3af 102 end
1f9bc2f0
MT
103
104 package %{name}-debuginfo
105 template DEBUGINFO
106 end
802ea3af 107end