]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - gettext/gettext.nm
tzdata: Update to 2014j
[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.19.3
8 release = 1
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 expat-devel
35 glib2-devel
36 libcroco-devel
37 libunistring-devel
38 libxml2-devel
39 ncurses-devel
40 end
41
42 configure_options += \
43 --disable-static \
44 --enable-shared \
45 --disable-rpath
46
47 test
48 make check
49 end
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
58
59 # Fix library permissions.
60 chmod 755 %{BUILDROOT}%{libdir}/preloadable_libintl.so
61 end
62 end
63
64 packages
65 package %{name}
66 provides += bundled(gnulib)
67 end
68
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
79 package %{name}-devel
80 template DEVEL
81
82 requires
83 gettext-common-devel=%{thisver}
84 gettext-libs=%{thisver}
85 git
86 end
87
88 files += \
89 /usr/bin/autopoint \
90 /usr/share/man/man1/autopoint.1
91 end
92
93 package %{name}-libs
94 template LIBS
95
96 files
97 %{libdir}/libgettextlib-*.so
98 %{libdir}/libgettextpo.so.*
99 %{libdir}/libgettextsrc-*.so
100 %{libdir}/preloadable_libintl.so
101 end
102 end
103
104 package %{name}-debuginfo
105 template DEBUGINFO
106 end
107 end