]> git.pld-linux.org Git - packages/gettext.git/blob - gettext.spec
- release 32: merged oka-plus patch from rawhide.
[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:        32
9 License:        GPL
10 Group:          Development/Tools
11 Group(de):      Entwicklung/Werkzeuge
12 Group(fr):      Development/Outils
13 Group(pl):      Programowanie/Narzêdzia
14 Source0:        ftp://ftp.gnu.org/pub/gnu/gettext/%{name}-%{version}.tar.gz
15 Patch0:         %{name}-jbj.patch
16 Patch1:         %{name}-info.patch
17 Patch2:         %{name}-arm.patch
18 Patch4:         %{name}-Makefile.in.in.patach
19 Patch5:         %{name}-DESTDIR.patch
20 Patch6:         %{name}-hacks.patch
21 Patch7:         %{name}-drepper.patch
22 Patch8:         %{name}-dml.patch
23 Patch9:         %{name}-oka-plus.patch
24 BuildRequires:  automake
25 BuildRequires:  autoconf
26 BuildRequires:  libtool
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 The gettext library provides an easy to use library and tools for
31 creating, using, and modifying natural language catalogs. It is a
32 powerfull and simple method for internationalizing programs.
33
34 %description -l de
35 Die gettext-Library enthält eine einfach anzuwendende Library und
36 Tools zum Erstellen, Verwenden und Ändern von
37 natürlichsprachigen-Kataloge. Es ist ein einfaches und
38 leistungsfähiges Verfahren zum Lokalisieren von Programmen.
39
40 %description -l fr
41 La librarie gettext fournit des outils et une librairie simple à
42 utiliser pour manipuler, créer, et modifier des catalogues de langage
43 naturel. C'est une méthode simple et puissante pour internationnaliser
44 les programmes.
45
46 %description -l pl
47 Pakiet gettext dostarcza narzêdzi do tworzenia, u¿ywania i modyfikacji
48 katalogów jêzyków narodowych. To jest prosta i wydajna metoda
49 lokalizacji (internationalizacji) programów.
50
51 %description -l tr
52 gettext, yerel dil desteðinde kullanýlan kataloglarý deðiþtirebilmek
53 için, kolayca kullanýlabilen kitaplýk ve araçlarý saðlar. Bu,
54 programlarý uluslararasýlaþtýrmak için sýkça baþvurulan, kuvvetli bir
55 yöntemdir.
56
57 %package devel
58 Summary:        Utilties for program national language support
59 Summary(de):    Utilities zum Programmieren von nationaler Sprachunterstützung
60 Summary(fr):    Utilitaires pour le support de la langue nationnalepar les programmes
61 Summary(pl):    Narzêdzia dla programów ze wsparciem dla jêzyków narodowych
62 Summary(tr):    Desteði için kitaplýk ve araçlar
63 Group:          Development/Tools
64 Group(de):      Entwicklung/Werkzeuge
65 Group(fr):      Development/Outils
66 Group(pl):      Programowanie/Narzêdzia
67 Requires:       %{name} = %{version}
68
69 %description devel
70 The gettext library provides an easy to use library and tools for
71 creating, using, and modifying natural language catalogs. It is a
72 powerfull and simple method for internationalizing programs.
73
74 %prep
75 %setup -q
76 %patch0 -p1
77 %patch1 -p1
78 %patch2 -p1
79 %patch4 -p1
80 %patch5 -p1
81 %patch6 -p1
82 %patch7 -p1
83 %patch8 -p1
84 %patch9 -p1
85
86 %build
87 cat m4/*.m4 >acinclude.m4
88 aclocal
89 libtoolize --copy --force
90 automake -a -c
91 autoconf
92 %configure \
93         --enable-shared \
94         --with-included-gettext 
95 %{__make}
96
97 %install
98 rm -rf $RPM_BUILD_ROOT
99 install -d $RPM_BUILD_ROOT/bin
100
101 %{__make} install DESTDIR=$RPM_BUILD_ROOT 
102
103 mv -f $RPM_BUILD_ROOT%{_bindir}/gettext $RPM_BUILD_ROOT/bin/gettext
104
105 gzip -9nf AUTHORS BUGS ChangeLog DISCLAIM NEWS README* THANKS TODO
106
107 %find_lang %{name}
108
109 %post devel
110 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
111
112 %postun devel
113 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
114
115 %clean
116 rm -rf $RPM_BUILD_ROOT
117
118 %files -f %{name}.lang
119 %defattr(644,root,root,755)
120 %attr(755,root,root) /bin/*
121
122 %files devel
123 %defattr(644,root,root,755)
124 %doc *.gz
125 %attr(755,root,root) %{_bindir}/*
126 %{_infodir}/*info*
127 %{_aclocaldir}/*
128 %{_datadir}/gettext
This page took 0.046007 seconds and 4 git commands to generate.