]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - gettext/gettext.nm
Merge remote-tracking branch 'stevee/libatasmart'
[people/arne_f/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
MT
6name = gettext
7version = 0.18.1.1
d137cccc 8release = 7
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
54 end
802ea3af
MT
55end
56
57packages
58 package %{name}
1f9bc2f0 59
997373fd
SS
60 package %{name}-common-devel
61 summary = Common development files for gettext.
62 description = %{summary}
63 arch = noarch
64
65 files
66 /usr/share/gettext/
67 end
68 end
69
802ea3af
MT
70 package %{name}-devel
71 template DEVEL
c28cd4f9 72
5697a8bb 73 requires
997373fd 74 gettext-common-devel=%{thisver}
c28cd4f9 75 gettext-libs=%{thisver}
d137cccc 76 git
5697a8bb 77 end
997373fd
SS
78
79 files += \
80 /usr/bin/autopoint \
81 /usr/share/man/man1/autopoint.1
c28cd4f9
SS
82 end
83
84 package %{name}-libs
85 template LIBS
86
87 files
5697a8bb
MT
88 %{libdir}/libgettextlib-*.so
89 %{libdir}/libgettextpo.so.*
90 %{libdir}/libgettextsrc-*.so
91 %{libdir}/preloadable_libintl.so
c28cd4f9 92 end
802ea3af 93 end
1f9bc2f0
MT
94
95 package %{name}-debuginfo
96 template DEBUGINFO
97 end
802ea3af 98end