]> git.pld-linux.org Git - packages/gettext.git/blob - gettext.spec
initial version
[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:     1
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 /usr/share/emacs/site-lisp/*.elc
91
92
93 %post
94 /sbin/install-info /usr/info/gettext.info.gz /usr/info/dir
95
96 %preun
97 if [ "$1" = 0 ]; then
98     /sbin/install-info --delete /usr/info/gettext.info.gz /usr/info/dir
99 fi
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %changelog
105 * Fri May 15 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
106   [0.10.35-1]
107 - %%{version} macro instead %%{PACKAGE_VERSION},
108 - added -q %setup parameter,
109 - added using %%{name} and %%{version} macro in Buildroot,
110 - removed Packager field from spec (if you want recompile package and
111   redistribute this package later put this in your private .rpmrc). 
112 - added making emacsc-po_mode subpackage with emac extension for editing .po
113   files,
114 - added %lang macros for /usr/share/locale/*/LC_MESSAGES/gettext.mo files,
115 - added %defattr macro in %files (require rpm >= 2.4.99).
116
117 * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
118   [0.10-5]
119 - translations modified for de, fr, tr
120
121 * Sun Nov 02 1997 Cristian Gafton <gafton@redhat.com>
122 - added info handling
123 - added misc-patch (skip emacs-lisp modofications)
124
125 * Sat Nov 01 1997 Erik Troan <ewt@redhat.com>
126 - removed locale.aliases as we get it from glibc now
127 - uses a buildroot
128
129 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
130 - Built against glibc
This page took 0.093198 seconds and 4 git commands to generate.