]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - gettext/gettext.nm
paxctl: Update to 0.8.
[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
86e241bd
MT
7version = 0.18.2
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
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
3f942a52
SS
43 test
44 make check
45 end
5697a8bb
MT
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
b0fdf190
MT
54
55 # Fix library permissions.
56 chmod 755 %{BUILDROOT}%{libdir}/preloadable_libintl.so
5697a8bb 57 end
802ea3af
MT
58end
59
60packages
61 package %{name}
1f9bc2f0 62
997373fd
SS
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
802ea3af
MT
73 package %{name}-devel
74 template DEVEL
c28cd4f9 75
5697a8bb 76 requires
997373fd 77 gettext-common-devel=%{thisver}
c28cd4f9 78 gettext-libs=%{thisver}
d137cccc 79 git
5697a8bb 80 end
997373fd
SS
81
82 files += \
83 /usr/bin/autopoint \
84 /usr/share/man/man1/autopoint.1
c28cd4f9
SS
85 end
86
87 package %{name}-libs
88 template LIBS
89
90 files
5697a8bb
MT
91 %{libdir}/libgettextlib-*.so
92 %{libdir}/libgettextpo.so.*
93 %{libdir}/libgettextsrc-*.so
94 %{libdir}/preloadable_libintl.so
c28cd4f9 95 end
802ea3af 96 end
1f9bc2f0
MT
97
98 package %{name}-debuginfo
99 template DEBUGINFO
100 end
802ea3af 101end