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