]> git.pld-linux.org Git - packages/gettext.git/blob - gettext.spec
012e8291cff7532065bc5ee6c087819c564c4dc9
[packages/gettext.git] / gettext.spec
1 Summary:     Libraries and utilties for program national language support
2 Summary(de): Libraries und Utilities zum Programmieren von nationaler Sprachunterstützung
3 Summary(fr): Librairies et  utilitaires pour le support de la langue nationnalepar les programmes.
4 Summary(pl): Biblioteka i narzêdziaand utilties for program national language suppor
5 Summary(tr): Yerel dil desteði için kitaplýk ve araçlar
6 Name:        gettext
7 Version:     0.10.35
8 Release:     2
9 Copyright:   GPL
10 Group:       Development/Tools
11 Source:      ftp://alpha.gnu.org/gnu/%{name}-%{version}.tar.gz
12 Prereq:      /sbin/install-info
13 Requires:    m4, automake
14 Buildroot:   /tmp/%{name}-%{version}-root
15
16 %description
17 The gettext library provides an easy to use library and tools for creating,
18 using, and modifying natural language catalogs. It is a powerfull and simple
19 method for internationalizing programs.
20
21 %description -l de
22 Die gettext-Library enthält eine einfach anzuwendende Library und Tools
23 zum Erstellen, Verwenden und Ändern von natürlichsprachigen-Kataloge. Es ist
24 ein einfaches und leistungsfähiges Verfahren zum Lokalisieren von Programmen.
25
26 %description -l fr
27 La librarie gettext fournit des outils et une librairie simple à utiliser
28 pour manipuler, créer, et modifier des catalogues de langage naturel. C'est
29 une méthode simple et puissante pour internationnaliser les programmes.
30
31 %description -l pl
32 The gettext library provides an easy to use library and tools for creating,
33 using, and modifying natural language catalogs. It is a powerfull and simple
34 method for internationalizing programs.
35
36 %description -l tr
37 gettext, yerel dil desteðinde kullanýlan kataloglarý deðiþtirebilmek için,
38 kolayca kullanýlabilen kitaplýk ve araçlarý saðlar. Bu, programlarý
39 uluslararasýlaþtýrmak için sýkça baþvurulan, kuvvetli bir yöntemdir.
40
41 %package   -n emacs-po_mode
42 Summary:     .po files emacs helper
43 Summary(pl): Makra do emacsa uatwiaj±ce edycje plików .po
44 Group:       Applications/Editors/Emacs
45 Requires:    emacs
46 %description -n emacs-po_mode
47 Package contain extension for helping GNU gettext lovers to edit PO files
48 under emacs.
49
50 %description -l pl -n emacs-po_mode
51 Pakiet ten zawiera rozszerzenia do emacsa pomagaj±ce w edytowaæ pliki .pl
52 pod tym edytorem.
53
54 %prep
55 %setup -q
56
57 %build
58 CFLAGS="$RPM_OPT_FLAGS" ./configure \
59         --with-gnu-gettext \
60         --prefix=/usr
61 make
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 make install \
66         prefix=$RPM_BUILD_ROOT/usr \
67         localedir=$RPM_BUILD_ROOT/usr/share/locale
68 gzip -9nf $RPM_BUILD_ROOT/usr/info/*
69 strip $RPM_BUILD_ROOT/usr/bin/* || :
70
71 %files
72 %defattr(644, root, root, 755)
73 %doc ABOUT-NLS AUTHORS BUGS ChangeLog DISCLAIM NEWS README* THANKS TODO
74 %attr(755, root, root) /usr/bin/*
75 /usr/info/*info*.gz
76 %lang(da) /usr/share/locale/da/LC_MESSAGES/gettext.mo
77 %lang(de) /usr/share/locale/de/LC_MESSAGES/gettext.mo
78 %lang(es) /usr/share/locale/es/LC_MESSAGES/gettext.mo
79 %lang(fr) /usr/share/locale/fr/LC_MESSAGES/gettext.mo
80 %lang(nl) /usr/share/locale/nl/LC_MESSAGES/gettext.mo
81 %lang(no) /usr/share/locale/no/LC_MESSAGES/gettext.mo
82 %lang(no) /usr/share/locale/no@nynorsk/LC_MESSAGES/gettext.mo
83 %lang(ko) /usr/share/locale/ko/LC_MESSAGES/gettext.mo
84 %lang(pl) /usr/share/locale/pl/LC_MESSAGES/gettext.mo
85 %lang(pt) /usr/share/locale/pt/LC_MESSAGES/gettext.mo
86 %lang(sl) /usr/share/locale/sl/LC_MESSAGES/gettext.mo
87 %lang(sv) /usr/share/locale/sv/LC_MESSAGES/gettext.mo
88
89 %files -n emacs-po_mode
90 %attr(644, root, root) /usr/share/emacs/site-lisp/*.elc
91
92 %post
93 /sbin/install-info /usr/info/gettext.info.gz /usr/info/dir
94
95 %preun
96 if [ "$1" = 0 ]; then
97     /sbin/install-info --delete /usr/info/gettext.info.gz /usr/info/dir
98 fi
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %changelog
104 * Sat Aug 22 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
105   [0.10.35-1]
106 - added missing %attr in %files for emacs-po_mode.
107
108 * Fri May 15 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
109   [0.10.35-1]
110 - %%{version} macro instead %%{PACKAGE_VERSION},
111 - added -q %setup parameter,
112 - added using %%{name} and %%{version} macro in Buildroot,
113 - removed Packager field from spec (if you want recompile package and
114   redistribute this package later put this in your private .rpmrc). 
115 - added making emacsc-po_mode subpackage with emac extension for editing .po
116   files,
117 - added %lang macros for /usr/share/locale/*/LC_MESSAGES/gettext.mo files,
118 - added %defattr macro in %files (require rpm >= 2.4.99).
119
120 * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
121   [0.10-5]
122 - translations modified for de, fr, tr
123
124 * Sun Nov 02 1997 Cristian Gafton <gafton@redhat.com>
125 - added info handling
126 - added misc-patch (skip emacs-lisp modofications)
127
128 * Sat Nov 01 1997 Erik Troan <ewt@redhat.com>
129 - removed locale.aliases as we get it from glibc now
130 - uses a buildroot
131
132 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
133 - Built against glibc
This page took 0.124962 seconds and 3 git commands to generate.