]> git.pld-linux.org Git - packages/gettext.git/blob - gettext.spec
- using %find_lang macro
[packages/gettext.git] / gettext.spec
1 Summary:        Utilties for program national language support
2 Summary(de):    Utilities zum Programmieren von nationaler Sprachunterstützung
3 Summary(fr):    Utilitaires pour le support de la langue nationnalepar les programmes.
4 Summary(pl):    Narzêdzia dla programów ze wsparciem dla jêzyków narodowych
5 Summary(tr):    Desteði için kitaplýk ve araçlar
6 Name:           gettext
7 Version:        0.10.35
8 Release:        10
9 Copyright:      GPL
10 Group:          Development/Tools
11 Group(pl):      Programowanie/Narzêdzia
12 Source:         ftp://alpha.gnu.org/gnu/%{name}-%{version}.tar.gz
13 Patch0:         gettext-jbj.patch
14 Patch1:         gettext-info.patch
15 Patch2:         gettext-arm.patch
16 Patch4:         gettext-Makefile.in.in.patach
17 Prereq:         /sbin/install-info
18 Requires:       m4
19 Requires:       automake
20 Requires:       autoconf
21 Buildroot:      /tmp/%{name}-%{version}-root
22
23 %description
24 The gettext library provides an easy to use library and tools for creating,
25 using, and modifying natural language catalogs. It is a powerfull and simple
26 method for internationalizing programs.
27
28 %description -l de
29 Die gettext-Library enthält eine einfach anzuwendende Library und Tools
30 zum Erstellen, Verwenden und Ändern von natürlichsprachigen-Kataloge. Es ist
31 ein einfaches und leistungsfähiges Verfahren zum Lokalisieren von Programmen.
32
33 %description -l fr
34 La librarie gettext fournit des outils et une librairie simple à utiliser
35 pour manipuler, créer, et modifier des catalogues de langage naturel. C'est
36 une méthode simple et puissante pour internationnaliser les programmes.
37
38 %description -l pl
39 Pakiet gettext dostarcza narzêdzi do tworzenia, u¿ywania i modyfikacji
40 katalogów jêzyków narodowych. To jest prosta i wydajna metoda
41 lokalizacji (internationalizacji) programów.
42
43 %description -l tr
44 gettext, yerel dil desteðinde kullanýlan kataloglarý deðiþtirebilmek için,
45 kolayca kullanýlabilen kitaplýk ve araçlarý saðlar. Bu, programlarý
46 uluslararasýlaþtýrmak için sýkça baþvurulan, kuvvetli bir yöntemdir.
47
48 %prep
49 %setup -q
50 %patch0 -p1
51 %patch1 -p1
52 %patch2 -p1
53 %patch4 -p1
54
55 %build
56 autoconf
57 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
58 ./configure %{_target} \
59         --enable-shared \
60         --with-included-gettext \
61         --prefix=/usr
62 make
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 make install \
67         prefix=$RPM_BUILD_ROOT/usr
68
69 strip $RPM_BUILD_ROOT%{_bindir}/* || :
70
71 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/* \
72         ABOUT-NLS AUTHORS BUGS ChangeLog DISCLAIM NEWS README* THANKS TODO
73         
74 %find_lang %{name}
75
76 %post
77 /sbin/install-info %{_infodir}/gettext.info.gz /etc/info-dir
78
79 %preun
80 if [ "$1" = 0 ]; then
81         /sbin/install-info --delete %{_infodir}/gettext.info.gz /etc/info-dir
82 fi
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %files -f %{name}.lang
88 %defattr(644,root,root,755)
89 %doc *.gz
90 %attr(755,root,root) %{_bindir}/*
91 %{_infodir}/*info*.gz
92 %{_datadir}/aclocal/*
93 %{_datadir}/gettext
94
95 %changelog
96 * Mon Apr 12 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
97   [0.10.35-9]
98 - standarized {un}registering info pages (added gettext-info.patch),
99 - removed emacs-po_mode subpackage (it would be beter add po mode macros
100   directly in [x]emacs packages).
101
102 * Sat Sep 26 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
103 - corrected pl translation.
104
105 * Sun Sep 13 1998 Cristian Gafton <gafton@redhat.com>
106 - include the aclocal support files.
107
108 * Fri Sep  3 1998 Bill Nottingham <notting@redhat.com>
109 - remove devel package (functionality is in glibc).
110
111 * Sat Aug 22 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
112   [0.10.35-1]
113 - added missing %attr in %files for emacs-po_mode.
114
115 * Fri May 15 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
116   [0.10.35-1]
117 - %%{version} macro instead %%{PACKAGE_VERSION},
118 - added -q %setup parameter,
119 - added using %%{name} and %%{version} macro in Buildroot,
120 - removed Packager field from spec (if you want recompile package and
121   redistribute this package later put this in your private .rpmrc). 
122 - added making emacsc-po_mode subpackage with emac extension for editing .po
123   files,
124 - added %lang macros for %{_datadir}/locale/*/LC_MESSAGES/gettext.mo files,
125 - added %defattr macro in %files (require rpm >= 2.4.99).
126
127 * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
128   [0.10-5]
129 - translations modified for de, fr, tr
130
131 * Sun Nov 02 1997 Cristian Gafton <gafton@redhat.com>
132 - added info handling
133 - added misc-patch (skip emacs-lisp modofications)
134
135 * Sat Nov 01 1997 Erik Troan <ewt@redhat.com>
136 - removed locale.aliases as we get it from glibc now
137 - uses a buildroot
138
139 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
140 - Built against glibc
This page took 0.033631 seconds and 4 git commands to generate.