]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - gettext/gettext.nm
libpng: Update to 1.6.10.
[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.2
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 libcroco-devel
35 libxml2-devel
36 end
37
38 configure_options += \
39 --disable-static \
40 --enable-shared \
41 --disable-rpath
42
43 test
44 make check
45 end
46
47 install_cmds
48 # cleanup rpaths
49 for i in $(find %{BUILDROOT}%{bindir} %{BUILDROOT}%{libdir} -type f); do
50 if file ${i} | grep "ELF 64-bit" >/dev/null; then
51 chrpath -l ${i} && chrpath --delete ${i}
52 fi
53 done
54
55 # Fix library permissions.
56 chmod 755 %{BUILDROOT}%{libdir}/preloadable_libintl.so
57 end
58 end
59
60 packages
61 package %{name}
62
63 package %{name}-common-devel
64 summary = Common development files for gettext.
65 description = %{summary}
66 arch = noarch
67
68 files
69 /usr/share/gettext/
70 end
71 end
72
73 package %{name}-devel
74 template DEVEL
75
76 requires
77 gettext-common-devel=%{thisver}
78 gettext-libs=%{thisver}
79 git
80 end
81
82 files += \
83 /usr/bin/autopoint \
84 /usr/share/man/man1/autopoint.1
85 end
86
87 package %{name}-libs
88 template LIBS
89
90 files
91 %{libdir}/libgettextlib-*.so
92 %{libdir}/libgettextpo.so.*
93 %{libdir}/libgettextsrc-*.so
94 %{libdir}/preloadable_libintl.so
95 end
96 end
97
98 package %{name}-debuginfo
99 template DEBUGINFO
100 end
101 end