]> git.pld-linux.org Git - packages/gettext.git/blob - gettext.spec
- fixed Source url.
[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:        18
9 License:        GPL
10 Group:          Development/Tools
11 Group(fr):      Development/Outils
12 Group(pl):      Programowanie/Narzêdzia
13 Source0:        ftp://ftp.gnu.org/pub/gnu/gettext/%{name}-%{version}.tar.gz
14 Patch0:         gettext-jbj.patch
15 Patch1:         gettext-info.patch
16 Patch2:         gettext-arm.patch
17 Patch4:         gettext-Makefile.in.in.patach
18 Patch5:         gettext-DESTDIR.patch
19 Patch6:         gettext-hacks.patch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 The gettext library provides an easy to use library and tools for creating,
24 using, and modifying natural language catalogs. It is a powerfull and
25 simple method for internationalizing programs.
26
27 %description -l de
28 Die gettext-Library enthält eine einfach anzuwendende Library und Tools zum
29 Erstellen, Verwenden und Ändern von natürlichsprachigen-Kataloge. Es ist
30 ein einfaches und leistungsfähiges Verfahren zum Lokalisieren von
31 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 lokalizacji
41 (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 %package devel
49 Summary:        Utilties for program national language support
50 Summary(de):    Utilities zum Programmieren von nationaler Sprachunterstützung
51 Summary(fr):    Utilitaires pour le support de la langue nationnalepar les programmes.
52 Summary(pl):    Narzêdzia dla programów ze wsparciem dla jêzyków narodowych
53 Summary(tr):    Desteði için kitaplýk ve araçlar
54 Group:          Development/Tools
55 Group(fr):      Development/Outils
56 Group(pl):      Programowanie/Narzêdzia
57 Requires:       m4
58 Requires:       automake
59 Requires:       autoconf
60 Requires:       %{name} = %{version}
61
62 %description devel
63 The gettext library provides an easy to use library and tools for creating,
64 using, and modifying natural language catalogs. It is a powerfull and
65 simple method for internationalizing programs.
66
67 %prep
68 %setup -q
69 %patch0 -p1
70 %patch1 -p1
71 %patch2 -p1
72 %patch4 -p1
73 %patch5 -p1
74 %patch6 -p1
75
76 %build
77 aclocal
78 libtoolize --copy --force
79 automake
80 autoconf
81 LDFLAGS="-s"; export LDFLAGS
82 %configure \
83         --enable-shared \
84         --with-included-gettext 
85 make
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT/bin
90
91 make install DESTDIR=$RPM_BUILD_ROOT 
92
93 mv -f $RPM_BUILD_ROOT%{_bindir}/gettext $RPM_BUILD_ROOT/bin/gettext
94
95 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/* \
96         ABOUT-NLS AUTHORS BUGS ChangeLog DISCLAIM NEWS README* THANKS TODO
97         
98 %find_lang %{name}
99
100 %post devel
101 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
102
103 %postun devel
104 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109 %files -f %{name}.lang
110 %defattr(644,root,root,755)
111 %attr(755,root,root) /bin/*
112
113 %files devel
114 %defattr(644,root,root,755)
115 %doc *.gz
116 %attr(755,root,root) %{_bindir}/*
117 %{_infodir}/*info*
118 %{_aclocaldir}/*
119 %{_datadir}/gettext
This page took 0.089289 seconds and 4 git commands to generate.