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