]>
Commit | Line | Data |
---|---|---|
98a7741e | 1 | # |
b287d865 | 2 | # Conditional build: |
5145b9c7 | 3 | # min_kernel (default is 2.6.12) |
fd1d4127 | 4 | %bcond_without memusage # don't build memusage utility |
757f96eb | 5 | %bcond_without selinux # without SELinux support (in nscd) |
c9d8e545 | 6 | %bcond_with tests # perform "make test" |
0a85848c | 7 | %bcond_without localedb # don't build localedb-all (is time consuming) |
472e31ee | 8 | %bcond_with cross # build using crossgcc (without libgcc_eh) |
b287d865 | 9 | # |
37cd6ebc | 10 | # TODO: |
72549d49 | 11 | # - look at locale fixes/updates in bugzilla |
c793d691 | 12 | # - no more chicken-egg problem (postshell is no more dynamically linked with libc), remove SONAME symlinks? see files section. |
72549d49 | 13 | # [OLD] |
37cd6ebc | 14 | # - localedb-gen man pages(?) |
feca75cc | 15 | # - math/{test-fenv,test-tgmath,test-float,test-ifloat}, |
5145b9c7 | 16 | # debug/backtrace-tst(SEGV) fail on alpha |
4c3586c2 | 17 | %{!?min_kernel:%global min_kernel 2.6.12} |
f3f771b7 | 18 | |
e24149ab PS |
19 | %ifarch sparc64 |
20 | %undefine with_memusage | |
21 | %endif | |
22 | ||
f65fa240 | 23 | %define llh_version 7:2.6.20.4-1 |
e8c60795 | 24 | |
236a5027 | 25 | Summary: GNU libc |
32ba7e9f ER |
26 | Summary(de.UTF-8): GNU libc |
27 | Summary(es.UTF-8): GNU libc | |
28 | Summary(fr.UTF-8): GNU libc | |
29 | Summary(ja.UTF-8): GNU libc ライブラリ | |
30 | Summary(pl.UTF-8): GNU libc | |
31 | Summary(ru.UTF-8): GNU libc версии 2.3 | |
32 | Summary(tr.UTF-8): GNU libc | |
33 | Summary(uk.UTF-8): GNU libc версії 2.3 | |
5240d049 | 34 | Name: glibc |
65b076c7 | 35 | Version: 2.5 |
89c06979 | 36 | Release: 3 |
f98eacd6 | 37 | Epoch: 6 |
602a978a | 38 | License: LGPL |
236a5027 | 39 | Group: Libraries |
72549d49 | 40 | Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2 |
65b076c7 | 41 | # Source0-md5: 1fb29764a6a650a4d5b409dda227ac9f |
5145b9c7 | 42 | Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-libidn-%{version}.tar.bz2 |
65b076c7 | 43 | # Source1-md5: 8787868ba8962d9b125997ec2f25ac01 |
4206408a | 44 | Source2: nscd.init |
45 | Source3: nscd.sysconfig | |
46 | Source4: nscd.logrotate | |
940eb3e9 | 47 | #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2 |
49ead7a0 JB |
48 | Source5: http://qboosh.cs.net.pl/man/%{name}-man-pages.tar.bz2 |
49 | # Source5-md5: f464eadf3cf06761f65639e44a179e6b | |
50 | Source6: %{name}-localedb-gen | |
51 | Source7: %{name}-LD-path.c | |
f2d222e0 | 52 | Patch0: %{name}-cvs20070210.patch |
b13993d0 | 53 | Patch1: %{name}-pl.po-update.patch |
4206408a | 54 | Patch2: %{name}-pld.patch |
55 | Patch3: %{name}-crypt-blowfish.patch | |
5145b9c7 | 56 | Patch4: %{name}-alpha-ev6-opcodes.patch |
98036fec | 57 | Patch5: %{name}-sparc-softfp-gcc.patch |
4b000c98 | 58 | Patch6: %{name}-paths.patch |
a456b349 | 59 | Patch7: %{name}-no_opt_override.patch |
e69f9d61 JB |
60 | Patch8: %{name}-missing-nls.patch |
61 | Patch9: %{name}-java-libc-wait.patch | |
f2d222e0 | 62 | Patch10: %{name}-info.patch |
a456b349 | 63 | Patch11: %{name}-no_debuggable_objects.patch |
ba326c24 | 64 | Patch12: %{name}-includes.patch |
c8ab4310 | 65 | Patch13: %{name}-ppc-inline-fsqrt.patch |
ba326c24 | 66 | Patch14: %{name}-sparc-errno_fix.patch |
5145b9c7 | 67 | |
ba326c24 | 68 | Patch17: %{name}-new-charsets.patch |
5145b9c7 | 69 | |
6eff0d91 | 70 | Patch20: %{name}-tzfile-noassert.patch |
ba326c24 | 71 | Patch21: %{name}-morelocales.patch |
5145b9c7 JB |
72 | Patch22: %{name}-locale_fixes.patch |
73 | Patch23: %{name}-ZA_collate.patch | |
74 | Patch24: %{name}-iconvconfig-nxstack.patch | |
75 | Patch25: %{name}-cross-gcc_eh.patch | |
fcd6e70a | 76 | Patch26: %{name}-with-stroke.patch |
5145b9c7 JB |
77 | # PaX hack (dropped) |
78 | #Patch30: %{name}-pax_dl-execstack.patch | |
959d1cc7 | 79 | URL: http://www.gnu.org/software/libc/ |
f70abfbb | 80 | %{?with_selinux:BuildRequires: audit-libs-devel} |
5b00029e | 81 | BuildRequires: autoconf |
69afb5a6 | 82 | BuildRequires: automake |
6b6b6315 | 83 | BuildRequires: binutils >= 2:2.15.90.0.3 |
0b88ed7c | 84 | BuildRequires: gcc >= 5:3.4 |
5145b9c7 | 85 | BuildRequires: gawk |
fd1d4127 | 86 | %{?with_memusage:BuildRequires: gd-devel >= 2.0.1} |
29f12ae8 | 87 | BuildRequires: gettext-devel >= 0.10.36 |
5f1a81a9 | 88 | %{!?with_cross:BuildRequires: dietlibc-static} |
757f96eb | 89 | %{?with_selinux:BuildRequires: libselinux-devel >= 1.18} |
f65fa240 | 90 | BuildRequires: linux-libc-headers >= %{llh_version} |
c1db9e72 | 91 | BuildRequires: perl-base |
42a6983a | 92 | BuildRequires: rpm-build >= 4.3-0.20030610.28 |
7bc5c9b6 | 93 | BuildRequires: rpm-perlprov |
da100088 | 94 | BuildRequires: rpmbuild(macros) >= 1.315 |
9597ca56 | 95 | BuildRequires: sed >= 4.0.5 |
54e3db45 | 96 | BuildRequires: texinfo |
a0eebe50 | 97 | AutoReq: false |
71181534 JB |
98 | Requires: %{name}-misc = %{epoch}:%{version}-%{release} |
99 | Requires: basesystem | |
5145b9c7 | 100 | Requires: uname(release) >= %{min_kernel} |
9b9eac8d | 101 | Provides: /sbin/ldconfig |
5145b9c7 JB |
102 | Provides: glibc(nptl) |
103 | Provides: glibc(tls) | |
104 | Provides: glibc64 | |
c37d4a8e | 105 | Provides: ldconfig |
e217c7d2 JB |
106 | Obsoletes: glibc-common |
107 | Obsoletes: glibc-debug | |
5145b9c7 | 108 | Obsoletes: glibc64 |
c37d4a8e | 109 | Obsoletes: ldconfig |
ea3a228f | 110 | Conflicts: kernel < %{min_kernel} |
5145b9c7 JB |
111 | Conflicts: kernel24 |
112 | Conflicts: kernel24-smp | |
4377d843 | 113 | Conflicts: ld.so < 1.9.9-10 |
bd975df5 | 114 | Conflicts: man-pages < 1.43 |
5b00029e | 115 | Conflicts: poldek < 0.18.8-5 |
06fed0d7 | 116 | Conflicts: rc-scripts < 0.3.1-13 |
bd975df5 | 117 | Conflicts: rpm < 4.1 |
5145b9c7 | 118 | ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64 |
a0eebe50 | 119 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
d90a3b13 | 120 | |
cf7b4302 | 121 | # avoid -s here (ld.so must not be stripped to allow any program debugging) |
f620b835 | 122 | %define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.* |
472e31ee | 123 | %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6 |
5145b9c7 | 124 | |
37f910e8 JB |
125 | # -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking |
126 | %ifarch sparc sparcv9 | |
127 | %{expand:%%define __cc %{__cc} -m32} | |
128 | %endif | |
129 | ||
5145b9c7 JB |
130 | # Xen-friendly glibc |
131 | %define specflags_ia32 -mno-tls-direct-seg-refs | |
132 | %define specflags_x86_64 -mno-tls-direct-seg-refs | |
133 | %define specflags_amd64 -mno-tls-direct-seg-refs | |
134 | %define specflags_ia32e -mno-tls-direct-seg-refs | |
135 | ||
ff9a9e81 JB |
136 | # we don't want perl dependency in glibc-devel |
137 | %define _noautoreqfiles %{_bindir}/mtrace | |
42a6983a JB |
138 | # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra |
139 | # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was | |
140 | # patched not to crash on partial hardlinks too) | |
141 | %define _hack_dontneed_PartialHardlinkSets 1 | |
26e88040 | 142 | %define _noautochrpath .*\\(ldconfig\\|sln\\) |
b88b18eb | 143 | |
f65fa240 JB |
144 | # rationale needed here; implies BR: gcc >= 4.2.0 |
145 | #define specflags -fgnu89-inline | |
89c06979 | 146 | |
d90a3b13 | 147 | %description |
7a3b906b | 148 | Contains the standard libraries that are used by multiple programs on |
149 | the system. In order to save disk space and memory, as well as to ease | |
602a978a | 150 | upgrades, common system code is kept in one place and shared between |
151 | programs. This package contains the most important sets of shared | |
7a3b906b | 152 | libraries, the standard C library and the standard math library. |
153 | Without these, a Linux system will not function. It also contains | |
b1414da6 | 154 | national language (locale) support. |
76f01b70 | 155 | |
1cb6acca | 156 | Can be used on: Linux kernel >= %{min_kernel}. |
d90a3b13 | 157 | |
94008272 JR |
158 | %description -l es.UTF-8 |
159 | Contiene las bibliotecas estándared que son usadas por varios | |
d22b4284 | 160 | programas del sistema. Para ahorrar el espacio en el disco y la |
94008272 | 161 | memoria, igual que para facilitar actualizaciones, código común del |
d22b4284 | 162 | sistema se guarda en un sitio y es compartido entre los programas. |
94008272 JR |
163 | Este paquete contiene las bibliotecas compartidas más importantes, es |
164 | decir la biblioteca C estándar y la biblioteca estándar de matemática. | |
165 | Sin éstas, un sistema Linux no podrá funcionar. También está incluido | |
b1414da6 | 166 | soporte de idiomas nacionales (locale). |
4a04bb32 | 167 | |
94008272 | 168 | Puede usarse con: núcleo Linux >= %{min_kernel}. |
4a04bb32 | 169 | |
94008272 JR |
170 | %description -l de.UTF-8 |
171 | Enthält die Standard-Libraries, die von verschiedenen Programmen im | |
7a3b906b | 172 | System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen |
173 | und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an | |
174 | einer einzigen Stelle gespeichert und wird von den Programmen | |
94008272 | 175 | gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der |
7a3b906b | 176 | shared Libraries, die Standard-C-Library und die |
177 | Standard-Math-Library, ohne die das Linux-System nicht funktioniert. | |
94008272 | 178 | Ferner enthält es den Support für die verschiedenen Sprachgregionen |
b1414da6 | 179 | (locale). |
76f01b70 | 180 | |
1cb6acca | 181 | Can be used on: Linux kernel >= %{min_kernel}. |
d90a3b13 | 182 | |
94008272 JR |
183 | %description -l fr.UTF-8 |
184 | Contient les bibliothèques standards utilisées par de nombreux | |
185 | programmes du système. Afin d'économiser l'espace disque et mémoire, | |
186 | et de faciliter les mises à jour, le code commun au système est mis à | |
187 | un endroit et partagé entre les programmes. Ce paquetage contient les | |
188 | bibliothèques partagées les plus importantes, la bibliothèque standard | |
189 | du C et la bibliothèque mathématique standard. Sans celles-ci, un | |
190 | système Linux ne peut fonctionner. Il contient aussi la gestion des | |
b1414da6 | 191 | langues nationales (locales). |
76f01b70 | 192 | |
1cb6acca | 193 | Can be used on: Linux kernel >= %{min_kernel}. |
d90a3b13 | 194 | |
94008272 | 195 | %description -l ja.UTF-8 |
c5387ad5 | 196 | glibc |
94008272 JR |
197 | パッケージはシステム上の複数のプログラムで使われる標準ライブラリを |
198 | ふくみます。ディスクスペースとメモリを節約したり、アップグレードを | |
199 | 用意にするために、共通のシステムコードは一つの場所におかれ、プログラム | |
200 | 間で共有されます。この部分的なパッケージはシェアドライブラリのかなり | |
201 | 重要なセットをふくみます: 標準 C ライブラリと標準数値ライブラリです。 | |
202 | この二つのライブラリ抜きでは、Linux システムは機能しません。 glibc | |
203 | パッケージはまた地域言語 (locale) サポートとタイムゾーンデータベース | |
204 | サポートをふくみます。 | |
76f01b70 | 205 | |
1cb6acca | 206 | Can be used on: Linux kernel >= %{min_kernel}. |
e50f6fb1 | 207 | |
94008272 JR |
208 | %description -l pl.UTF-8 |
209 | W pakiecie znajdują się podstawowe biblioteki, używane przez różne | |
210 | programy w Twoim systemie. Używanie przez programy bibliotek z tego | |
211 | pakietu oszczędza miejsce na dysku i pamięć. Większość kodu | |
212 | systemowego jest usytuowane w jednym miejscu i dzielone między wieloma | |
213 | programami. Pakiet ten zawiera bardzo ważny zbiór bibliotek | |
214 | standardowych, współdzielonych (dynamicznych) bibliotek C i | |
215 | matematycznych. Bez glibc system Linux nie jest w stanie funkcjonować. | |
216 | Znajdują się tutaj również definicje różnych informacji dla wielu | |
217 | języków (locale). | |
218 | ||
219 | Pakiet jest przeznaczony dla jądra Linuksa >= %{min_kernel}. | |
220 | ||
221 | %description -l ru.UTF-8 | |
222 | Содержит стандартные библиотеки, используемые многочисленными | |
223 | программами в системе. Для того, чтобы сохранить дисковое пространство | |
224 | и память, а также для простоты обновления, системный код, общий для | |
225 | всех программ, хранится в одном месте и коллективно используется всеми | |
226 | программами. Этот пакет содержит наиболее важные из разделяемых | |
227 | библиотек - стандартную библиотеку C и стандартную библиотеку | |
228 | математики. Без этих библиотек Linux функционировать не будет. Также | |
229 | пакет содержит поддержку национальных языков (locale). | |
76f01b70 | 230 | |
1cb6acca | 231 | Can be used on: Linux kernel >= %{min_kernel}. |
98a7741e | 232 | |
94008272 JR |
233 | %description -l tr.UTF-8 |
234 | Bu paket, birçok programın kullandığı standart kitaplıkları içerir. | |
235 | Disk alanı ve bellek kullanımını azaltmak ve aynı zamanda güncelleme | |
236 | işlemlerini kolaylaştırmak için ortak sistem kodları tek bir yerde | |
237 | tutulup programlar arasında paylaştırılır. Bu paket en önemli ortak | |
238 | kitaplıkları, standart C kitaplığını ve standart matematik kitaplığını | |
239 | içerir. Bu kitaplıklar olmadan Linux sistemi çalışmayacaktır. Yerel | |
240 | dil desteği ve zaman dilimi veri tabanı da bu pakette yer alır. | |
76f01b70 | 241 | |
1cb6acca | 242 | Can be used on: Linux kernel >= %{min_kernel}. |
d90a3b13 | 243 | |
94008272 JR |
244 | %description -l uk.UTF-8 |
245 | Містить стандартні бібліотеки, котрі використовуються численними | |
246 | програмами в системі. Для того, щоб зберегти дисковий простір та | |
247 | пам'ять, а також для простоти поновлення системи, системний код, | |
248 | спільний для всіх програм, зберігається в одному місці і колективно | |
249 | використовується всіма програмами. Цей пакет містить найбільш важливі | |
250 | з динамічних бібліотек - стандартну бібліотеку С та стандартну | |
251 | бібліотеку математики. Без цих бібліотек Linux функціонувати не буде. | |
252 | Також пакет містить підтримку національних мов (locale). | |
76f01b70 | 253 | |
1cb6acca | 254 | Can be used on: Linux kernel >= %{min_kernel}. |
98a7741e | 255 | |
c4fea372 JK |
256 | %package misc |
257 | Summary: Utilities and data used by glibc | |
32ba7e9f | 258 | Summary(pl.UTF-8): Narzędzia i dane używane przez glibc |
e44a2813 | 259 | Group: Applications/System |
a0eebe50 | 260 | AutoReq: false |
71181534 JB |
261 | Requires(pre): %{name} = %{epoch}:%{version}-%{release} |
262 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
b1414da6 | 263 | Requires: tzdata >= 2006g-2 |
c4fea372 JK |
264 | |
265 | %description misc | |
fd1d4127 JB |
266 | Utilities and data used by glibc. |
267 | ||
94008272 JR |
268 | %description misc -l pl.UTF-8 |
269 | Narzędzia i dane używane przez glibc. | |
c4fea372 | 270 | |
fb120840 | 271 | %package devel |
959d1cc7 | 272 | Summary: Additional libraries required to compile |
32ba7e9f ER |
273 | Summary(de.UTF-8): Weitere Libraries zum Kompilieren |
274 | Summary(es.UTF-8): Bibliotecas adicionales necesarias para la compilación | |
275 | Summary(fr.UTF-8): Librairies supplémentaires nécessaires à la compilation | |
276 | Summary(ja.UTF-8): 標準 C ライブラリで使われるヘッダーとオブジェクトファイル | |
277 | Summary(pl.UTF-8): Dodatkowe biblioteki wymagane podczas kompilacji | |
278 | Summary(ru.UTF-8): Дополнительные библиотеки, необходимые для компиляции | |
279 | Summary(tr.UTF-8): Geliştirme için gerekli diğer kitaplıklar | |
280 | Summary(uk.UTF-8): Додаткові бібліотеки, потрібні для компіляції | |
959d1cc7 | 281 | Group: Development/Libraries |
69afb5a6 | 282 | Requires: %{name} = %{epoch}:%{version}-%{release} |
5b00029e | 283 | Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release} |
9b9eac8d | 284 | Requires: %{name}-headers = %{epoch}:%{version}-%{release} |
5b00029e | 285 | Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release} |
b34a4e03 | 286 | Obsoletes: libiconv-devel |
959d1cc7 | 287 | |
288 | %description devel | |
7a3b906b | 289 | To develop programs which use the standard C libraries (which nearly |
290 | all programs do), the system needs to have these standard header files | |
291 | and object files available for creating the executables. | |
959d1cc7 | 292 | |
94008272 | 293 | %description devel -l de.UTF-8 |
7a3b906b | 294 | Bei der Entwicklung von Programmen, die die Standard-C-Libraries |
94008272 JR |
295 | verwenden (also fast alle), benötigt das System diese Standard-Header- |
296 | und Objektdateien zum Erstellen der ausführbaren Programme. | |
d90a3b13 | 297 | |
94008272 JR |
298 | %description devel -l es.UTF-8 |
299 | Para desarrollar programas que utilizan las bibliotecas C estándar (lo | |
300 | cual hacen prácticamente todos los programas), el sistema necesita | |
4a04bb32 | 301 | disponer de estos ficheros de cabecera y de objetos para crear los |
302 | ejecutables. | |
303 | ||
94008272 JR |
304 | %description devel -l fr.UTF-8 |
305 | Pour développer des programmes utilisant les bibliothèques standard du | |
306 | C (ce que presque tous les programmes font), le système doit posséder | |
307 | ces fichiers en-têtes et objets standards pour créer les exécutables. | |
308 | ||
309 | %description devel -l ja.UTF-8 | |
310 | glibc-devel パッケージは(ほとんどすべてのプログラムで使われる)標準 C | |
311 | ライブラリを使用したプログラムを開発するためのヘッダーとオブジェクト | |
312 | ファイルを含みます。もし標準 C | |
313 | ライブラリを使用するプログラムを開発するなら | |
314 | 実行ファイルを作成する目的でこれらの標準ヘッダとオブジェクトファイル | |
315 | が使用できます。 | |
316 | ||
317 | %description devel -l pl.UTF-8 | |
318 | Pakiet ten jest niezbędny przy tworzeniu własnych programów | |
319 | korzystających ze standardowej biblioteki C. Znajdują się tutaj pliki | |
320 | nagłówkowe oraz pliki obiektowe, niezbędne do kompilacji programów | |
7a3b906b | 321 | wykonywalnych i innych bibliotek. |
d90a3b13 | 322 | |
94008272 JR |
323 | %description devel -l ru.UTF-8 |
324 | Для разработки программ, использующих стандартные библиотеки C (а | |
325 | практически все программы их используют), системе НЕОБХОДИМЫ хедеры и | |
326 | объектные файлы, содержащиеся в этом пакете, чтобы создавать | |
327 | исполняемые файлы. | |
98a7741e | 328 | |
94008272 JR |
329 | %description devel -l tr.UTF-8 |
330 | C kitaplığını kullanan (ki hemen hemen hepsi kullanıyor) programlar | |
331 | geliştirmek için gereken standart başlık dosyaları ve statik | |
332 | kitaplıklar. | |
d90a3b13 | 333 | |
94008272 JR |
334 | %description devel -l uk.UTF-8 |
335 | Для розробки програм, що використовують стандартні бібліотеки C | |
336 | (практично всі програми їх використовують), системі НЕОБХІДНІ хедери | |
337 | та об'єктні файли, що містяться в цьому пакеті, цоб створювати | |
338 | виконувані файли. | |
98a7741e | 339 | |
5b00029e JB |
340 | %package headers |
341 | Summary: Header files for development using standard C libraries | |
32ba7e9f | 342 | Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów przy użyciu standardowych bibliotek C |
e44a2813 | 343 | Group: Development/Building |
5b00029e JB |
344 | Provides: %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release} |
345 | %ifarch %{x8664} | |
5145b9c7 | 346 | # If both -m32 and -m64 is to be supported on x86_64, x86_64 package |
5b00029e JB |
347 | # have to be installed, not ix86 one. |
348 | Obsoletes: %{name}-headers(i386) | |
349 | Obsoletes: %{name}-headers(i486) | |
350 | Obsoletes: %{name}-headers(i586) | |
351 | Obsoletes: %{name}-headers(i686) | |
352 | Obsoletes: %{name}-headers(athlon) | |
353 | Obsoletes: %{name}-headers(pentium3) | |
354 | Obsoletes: %{name}-headers(pentium4) | |
355 | %endif | |
f70abfbb JB |
356 | %ifarch ppc64 |
357 | Obsoletes: %{name}-headers(ppc) | |
358 | %endif | |
359 | %ifarch s390x | |
360 | Obsoletes: %{name}-headers(s390) | |
361 | %endif | |
362 | %ifarch sparc64 | |
363 | Obsoletes: %{name}-headers(sparc) | |
364 | %endif | |
f65fa240 | 365 | Requires: linux-libc-headers >= %{llh_version} |
5b00029e JB |
366 | |
367 | %description headers | |
368 | The glibc-headers package contains the header files necessary for | |
369 | developing programs which use the standard C libraries (which are used | |
370 | by nearly all programs). If you are developing programs which will use | |
371 | the standard C libraries, your system needs to have these standard | |
372 | header files available in order to create the executables. | |
373 | ||
374 | Install glibc-headers if you are going to develop programs which will | |
375 | use the standard C libraries. | |
376 | ||
94008272 JR |
377 | %description headers -l pl.UTF-8 |
378 | Pakiet glibc-headers zawiera pliki nagłówkowe niezbędne do rozwijania | |
379 | programów używających standardowych bibliotek C (używanych przez | |
380 | prawie wszystkie programy). Jeśli tworzymy programy korzystające ze | |
381 | standardowych bibliotek C, system wymaga dostępności tych | |
382 | standardowych plików nagłówkowych do tworzenia programów | |
5b00029e JB |
383 | wykonywalnych. |
384 | ||
94008272 JR |
385 | Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy |
386 | korzystające ze standardowych bibliotek C. | |
5b00029e JB |
387 | |
388 | %package devel-utils | |
389 | Summary: Utilities needed for development using standard C libraries | |
32ba7e9f | 390 | Summary(pl.UTF-8): Narzędzia do tworzenia programów przy użyciu standardowych bibliotek C |
5b00029e JB |
391 | Group: Development/Libraries |
392 | Provides: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release} | |
393 | %ifarch %{x8664} | |
394 | # If both -m32 and -m64 is to be supported on AMD64, x86_64 package | |
395 | # have to be installed, not ix86 one. | |
396 | Obsoletes: %{name}-devel-utils(i386) | |
397 | Obsoletes: %{name}-devel-utils(i486) | |
398 | Obsoletes: %{name}-devel-utils(i586) | |
399 | Obsoletes: %{name}-devel-utils(i686) | |
400 | Obsoletes: %{name}-devel-utils(athlon) | |
401 | Obsoletes: %{name}-devel-utils(pentium3) | |
402 | Obsoletes: %{name}-devel-utils(pentium4) | |
403 | %endif | |
f70abfbb JB |
404 | %ifarch ppc64 |
405 | Obsoletes: %{name}-devel-utils(ppc) | |
406 | %endif | |
407 | %ifarch s390x | |
408 | Obsoletes: %{name}-devel-utils(s390) | |
409 | %endif | |
410 | %ifarch sparc64 | |
411 | Obsoletes: %{name}-devel-utils(sparc) | |
412 | %endif | |
5b00029e JB |
413 | |
414 | %description devel-utils | |
415 | The glibc-devel-utils package contains utilities necessary for | |
416 | developing programs which use the standard C libraries (which are used | |
417 | by nearly all programs). If you are developing programs which will use | |
418 | the standard C libraries, your system needs to have these utilities | |
419 | available. | |
420 | ||
421 | Install glibc-devel-utils if you are going to develop programs which | |
422 | will use the standard C libraries. | |
423 | ||
94008272 JR |
424 | %description devel-utils -l pl.UTF-8 |
425 | Pakiet glibc-devel-utils zawiera narzędzia niezbędne do rozwijania | |
426 | programów używających standardowych bibliotek C (używanych przez | |
427 | prawie wszystkie programy). Jeśli tworzymy programy korzystające ze | |
428 | standardowych bibliotek C, system wymaga dostępności tych narzędzi do | |
429 | tworzenia programów wykonywalnych. | |
5b00029e | 430 | |
94008272 JR |
431 | Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy |
432 | korzystające ze standardowych bibliotek C. | |
5b00029e JB |
433 | |
434 | %package devel-doc | |
435 | Summary: Documentation needed for development using standard C libraries | |
32ba7e9f | 436 | Summary(pl.UTF-8): Dokumentacja do tworzenia programów przy użyciu standardowych bibliotek C |
5b00029e JB |
437 | Group: Documentation |
438 | Provides: %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release} | |
439 | %ifarch %{x8664} | |
5145b9c7 | 440 | # If both -m32 and -m64 is to be supported on x86_64, x86_64 package |
5b00029e JB |
441 | # have to be installed, not ix86 one. |
442 | Obsoletes: %{name}-devel-doc(i386) | |
443 | Obsoletes: %{name}-devel-doc(i486) | |
444 | Obsoletes: %{name}-devel-doc(i586) | |
445 | Obsoletes: %{name}-devel-doc(i686) | |
446 | Obsoletes: %{name}-devel-doc(athlon) | |
447 | Obsoletes: %{name}-devel-doc(pentium3) | |
448 | Obsoletes: %{name}-devel-doc(pentium4) | |
449 | %endif | |
f70abfbb JB |
450 | %ifarch ppc64 |
451 | Obsoletes: %{name}-devel-doc(ppc) | |
452 | %endif | |
453 | %ifarch s390x | |
454 | Obsoletes: %{name}-devel-doc(s390) | |
455 | %endif | |
456 | %ifarch sparc64 | |
457 | Obsoletes: %{name}-devel-doc(sparc) | |
458 | %endif | |
5b00029e JB |
459 | |
460 | %description devel-doc | |
461 | The glibc-devel-doc package contains info and manual pages necessary | |
462 | for developing programs which use the standard C libraries (which are | |
463 | used by nearly all programs). | |
464 | ||
465 | Install glibc-devel-doc if you are going to develop programs which | |
466 | will use the standard C libraries. | |
467 | ||
94008272 | 468 | %description devel-doc -l pl.UTF-8 |
5b00029e | 469 | Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do |
94008272 | 470 | rozwijania programów używających standardowych bibliotek C (używanych |
5b00029e JB |
471 | przez prawie wszystkie programy). |
472 | ||
94008272 JR |
473 | Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy |
474 | korzystające ze standardowych bibliotek C. | |
5b00029e | 475 | |
fb120840 | 476 | %package -n nscd |
bab19d4a | 477 | Summary: Name Service Caching Daemon |
32ba7e9f ER |
478 | Summary(es.UTF-8): Demonio de caché del servicio de nombres |
479 | Summary(ja.UTF-8): ネームサービスキャッシングデーモン (nacd) | |
480 | Summary(pl.UTF-8): Demon zapamiętujący odpowiedzi serwisów nazw | |
481 | Summary(ru.UTF-8): Кэширующий демон сервисов имен | |
482 | Summary(uk.UTF-8): Кешуючий демон севісів імен | |
06880031 | 483 | Group: Networking/Daemons |
9b9eac8d ER |
484 | Requires(post): fileutils |
485 | Requires(post,preun): /sbin/chkconfig | |
486 | Requires(postun): /usr/sbin/groupdel | |
487 | Requires(postun): /usr/sbin/userdel | |
da7cc665 JB |
488 | Requires(pre): /bin/id |
489 | Requires(pre): /usr/bin/getgid | |
490 | Requires(pre): /usr/sbin/groupadd | |
491 | Requires(pre): /usr/sbin/useradd | |
69afb5a6 | 492 | Requires: %{name} = %{epoch}:%{version}-%{release} |
da7cc665 | 493 | %{?with_selinux:Requires: libselinux >= 1.18} |
71181534 | 494 | Requires: rc-scripts >= 0.2.0 |
da7cc665 JB |
495 | Provides: group(nscd) |
496 | Provides: user(nscd) | |
bab19d4a | 497 | |
498 | %description -n nscd | |
7a3b906b | 499 | nscd caches name service lookups; it can dramatically improve |
90ff660b | 500 | performance with NIS+, and may help with DNS as well. |
bab19d4a | 501 | |
94008272 JR |
502 | %description -n nscd -l es.UTF-8 |
503 | nscd guarda las peticiones del servicio de nombres en una caché; eso | |
504 | puede aumentar drásticamente las prestaciones de NIS+, y también puede | |
90ff660b | 505 | ayudar con DNS. |
4a04bb32 | 506 | |
94008272 JR |
507 | %description -n nscd -l ja.UTF-8 |
508 | Nscd はネームサービス参照をキャッシュし、NIS+ のパフォーマンスを | |
509 | ドラマティックに改善することができ、DNS を同様に補助します。 | |
c5387ad5 | 510 | |
94008272 JR |
511 | %description -n nscd -l pl.UTF-8 |
512 | nscd zapamiętuje zapytania i odpowiedzi NIS oraz DNS. Pozwala | |
513 | drastycznie poprawić szybkość działania NIS+. | |
c43e39f5 | 514 | |
94008272 JR |
515 | %description -n nscd -l ru.UTF-8 |
516 | nscd кэширует результаты запросов к сервисам имен; это может резко | |
517 | увеличить производительность работы с NIS+ и, также, может помочь с | |
98a7741e | 518 | DNS. |
519 | ||
94008272 JR |
520 | %description -n nscd -l uk.UTF-8 |
521 | nscd кешує результати запросів до сервісів імен; це може сильно | |
522 | збільшити швидкість роботи з NIS+ і, також, може допомогти з DNS. | |
98a7741e | 523 | |
d34cb8bc | 524 | %package -n localedb-src |
c5895f38 | 525 | Summary: locale database source code |
32ba7e9f ER |
526 | Summary(es.UTF-8): Código fuente de la base de datos de los locales |
527 | Summary(pl.UTF-8): Kod źródłowy bazy locale | |
2abb6d39 | 528 | Group: Libraries |
69afb5a6 | 529 | Requires: %{name} = %{epoch}:%{version}-%{release} |
860ccbf5 | 530 | Requires: gzip |
a22f09bc | 531 | Requires: sed |
d34cb8bc | 532 | |
533 | %description -n localedb-src | |
7a3b906b | 534 | This add-on package contains the data needed to build the locale data |
40430bed | 535 | files to use the internationalization features of the GNU libc. |
d34cb8bc | 536 | |
94008272 | 537 | %description -n localedb-src -l es.UTF-8 |
4a04bb32 | 538 | Este paquete adicional contiene los datos necesarios para construir |
539 | los ficheros de locale, imprescindibles para usar las cualidades de | |
94008272 | 540 | internacionalización de GNU libc. |
4a04bb32 | 541 | |
94008272 JR |
542 | %description -n localedb-src -l pl.UTF-8 |
543 | Pakiet ten zawiera dane niezbędne do zbudowania binarnych plików | |
544 | lokalizacyjnych, by móc wykorzystać możliwości oferowane przez GNU | |
40430bed JB |
545 | libc. |
546 | ||
547 | %package localedb-all | |
548 | Summary: locale database for all locales supported by glibc | |
32ba7e9f ER |
549 | Summary(es.UTF-8): Base de datos de todos los locales soportados por glibc |
550 | Summary(pl.UTF-8): Baza danych locale dla wszystkich lokalizacji obsługiwanych przez glibc | |
40430bed | 551 | Group: Libraries |
69afb5a6 | 552 | Requires: %{name} = %{epoch}:%{version}-%{release} |
9b9eac8d | 553 | Requires: iconv = %{epoch}:%{version}-%{release} |
40430bed JB |
554 | |
555 | %description localedb-all | |
556 | This package contains locale database for all locales supported by | |
420cf057 | 557 | glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want |
40430bed JB |
558 | something smaller with support for chosen locales only, consider |
559 | installing localedb-src and regenerating database using localedb-gen | |
560 | script (when database is generated, localedb-src can be uninstalled). | |
561 | ||
94008272 | 562 | %description localedb-all -l es.UTF-8 |
d22b4284 | 563 | Este paquete contiene una base de datos de todos los locales |
94008272 JR |
564 | soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox. |
565 | 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos | |
566 | locales elegidos, considérese instalar localedb-src y regenerar la | |
d22b4284 | 567 | base de datos usando el escript localedb-gen (una vez que la base de |
94008272 | 568 | datos esté creada, localedb-src se podrá desinstalar). |
4a04bb32 | 569 | |
94008272 JR |
570 | %description localedb-all -l pl.UTF-8 |
571 | Ten pakiet zawiera bazę danych locale dla wszystkich lokalizacji | |
572 | obsługiwanych przez glibc. W glibc 2.3.x jest to jeden duży plik | |
573 | (około 39MB); aby mieć coś mniejszego, z obsługą tylko wybranych | |
574 | lokalizacji, należy zainstalować pakiet localedb-src i przegenerować | |
575 | bazę danych przy użyciu skryptu localedb-gen (po wygenerowaniu bazy | |
576 | pakiet localedb-src można odinstalować). | |
d34cb8bc | 577 | |
578 | %package -n iconv | |
579 | Summary: Convert encoding of given files from one encoding to another | |
32ba7e9f ER |
580 | Summary(es.UTF-8): Convierte entre varias codificaciones de los ficheros dados |
581 | Summary(pl.UTF-8): Moduły do konwersji plików tekstowych z jednego kodowania do innego | |
2abb6d39 | 582 | Group: Libraries |
69afb5a6 | 583 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d34cb8bc | 584 | |
585 | %description -n iconv | |
7a3b906b | 586 | Convert encoding of given files from one encoding to another. You need |
4a04bb32 | 587 | this package if you want to convert some document from one encoding to |
c5895f38 | 588 | another or if you have installed some programs which use Generic |
7a3b906b | 589 | Character Set Conversion Interface. |
d34cb8bc | 590 | |
94008272 JR |
591 | %description -n iconv -l es.UTF-8 |
592 | Convierte la codificación de dados ficheros. Necesita este paquete si | |
593 | quiere convertir un documento entre una codificación (juego de | |
594 | caracteres) y otra, o si tiene instalado algún programa que usa el | |
595 | Generic Character Set Conversion Interface (interfaz genérica de | |
596 | conversión de juegos de caracteres). | |
597 | ||
598 | %description -n iconv -l pl.UTF-8 | |
599 | Moduły do konwersji plików tekstowych z jednego kodowania do innego. | |
600 | Trzeba mieć zainstalowany ten pakiet, aby wykonywać konwersję | |
601 | dokumentów z jednego kodowania do innego lub do używania programów | |
602 | korzystających z Generic Character Set Conversion Interface w glibc, | |
603 | czyli z zestawu funkcji z tej biblioteki, które umożliwiają konwersję | |
2abb6d39 | 604 | kodowania danych z poziomu dowolnego programu. |
d34cb8bc | 605 | |
fb120840 | 606 | %package static |
c7df086f | 607 | Summary: Static libraries |
32ba7e9f ER |
608 | Summary(es.UTF-8): Bibliotecas estáticas |
609 | Summary(pl.UTF-8): Biblioteki statyczne | |
610 | Summary(ru.UTF-8): Статические библиотеки glibc | |
611 | Summary(uk.UTF-8): Статичні бібліотеки glibc | |
c7df086f | 612 | Group: Development/Libraries |
69afb5a6 | 613 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
ca91c518 | 614 | Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release} |
b34a4e03 | 615 | Obsoletes: libiconv-static |
c7df086f | 616 | |
617 | %description static | |
d34cb8bc | 618 | GNU libc static libraries. |
c7df086f | 619 | |
94008272 JR |
620 | %description static -l es.UTF-8 |
621 | Bibliotecas estáticas de GNU libc. | |
4a04bb32 | 622 | |
94008272 | 623 | %description static -l pl.UTF-8 |
d34cb8bc | 624 | Biblioteki statyczne GNU libc. |
625 | ||
94008272 JR |
626 | %description static -l ru.UTF-8 |
627 | Это отдельный пакет со статическими библиотеками, которые больше не | |
628 | входят в glibc-devel. | |
98a7741e | 629 | |
94008272 JR |
630 | %description static -l uk.UTF-8 |
631 | Це окремий пакет зі статичними бібліотеками, що більше не входять в | |
632 | склад glibc-devel. | |
98a7741e | 633 | |
d34cb8bc | 634 | %package profile |
635 | Summary: glibc with profiling support | |
32ba7e9f ER |
636 | Summary(de.UTF-8): glibc mit Profil-Unterstützung |
637 | Summary(es.UTF-8): glibc con soporte de perfilamiento | |
638 | Summary(fr.UTF-8): glibc avec support pour profiling | |
639 | Summary(pl.UTF-8): glibc ze wsparciem dla profilowania | |
640 | Summary(ru.UTF-8): GNU libc с поддержкой профайлера | |
641 | Summary(tr.UTF-8): Ölçüm desteği olan glibc | |
642 | Summary(uk.UTF-8): GNU libc з підтримкою профайлера | |
d34cb8bc | 643 | Group: Development/Libraries/Libc |
69afb5a6 | 644 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
dd75ad7c | 645 | Obsoletes: libc-profile |
d34cb8bc | 646 | |
647 | %description profile | |
4a04bb32 | 648 | When programs are being profiled using gprof, they must use these |
7a3b906b | 649 | libraries instead of the standard C libraries for gprof to be able to |
650 | profile them correctly. | |
d34cb8bc | 651 | |
94008272 JR |
652 | %description profile -l de.UTF-8 |
653 | Damit Programmprofile mit gprof richtig erstellt werden, müssen diese | |
654 | Libraries anstelle der üblichen C-Libraries verwendet werden. | |
d34cb8bc | 655 | |
94008272 | 656 | %description profile -l es.UTF-8 |
4a04bb32 | 657 | Cuando programas son perfilidas usando gprof, tienen que usar estas |
94008272 | 658 | biblioteces en vez de las estándares para que gprof pueda perfilarlas |
4a04bb32 | 659 | correctamente. |
660 | ||
94008272 JR |
661 | %description profile -l pl.UTF-8 |
662 | Programy profilowane za pomocą gprof muszą używać tych bibliotek | |
663 | zamiast standardowych bibliotek C, aby gprof mógł odpowiednio je | |
664 | wyprofilować. | |
665 | ||
666 | %description profile -l uk.UTF-8 | |
667 | Коли програми досліджуються профайлером gprof, вони повинні | |
668 | використовувати замість стандартних бібліотек бібліотеки, що містяться | |
669 | в цьому пакеті. При використанні стандартних бібліотек gprof замість | |
670 | реальних результатів буде показувати ціни на папайю в Гонолулу в | |
671 | позаминулому році... | |
672 | ||
673 | %description profile -l tr.UTF-8 | |
674 | gprof kullanılarak ölçülen programlar standart C kitaplığı yerine bu | |
675 | kitaplığı kullanmak zorundadırlar. | |
676 | ||
677 | %description profile -l ru.UTF-8 | |
678 | Когда программы исследуются профайлером gprof, они должны | |
679 | использовать, вместо стандартных библиотек, библиотеки, включенные в | |
680 | этот пакет. При использовании стандартных библиотек gprof вместо | |
681 | реальных результатов будет показывать цены на папайю в Гонолулу в | |
682 | позапрошлом году... | |
98a7741e | 683 | |
71a76fad | 684 | %package pic |
5240d049 | 685 | Summary: glibc PIC archive |
32ba7e9f ER |
686 | Summary(es.UTF-8): Archivo PIC de glibc |
687 | Summary(pl.UTF-8): Archiwum PIC glibc | |
908ab141 | 688 | Group: Development/Libraries/Libc |
69afb5a6 | 689 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
71a76fad | 690 | |
691 | %description pic | |
908ab141 | 692 | GNU C Library PIC archive contains an archive library (ar file) |
693 | composed of individual shared objects. This is used for creating a | |
694 | library which is a smaller subset of the standard libc shared library. | |
71a76fad | 695 | |
94008272 | 696 | %description pic -l es.UTF-8 |
d22b4284 SP |
697 | El archivo PIC de la biblioteca glibc contiene una biblioteca |
698 | archivada (un fichero ar) compuesta de individuales objetos | |
699 | compartidos. Es usado para crear una biblioteca que sea un subconjunto | |
94008272 | 700 | más pequeño de la biblioteca libc compartida estándar. |
4a04bb32 | 701 | |
94008272 JR |
702 | %description pic -l pl.UTF-8 |
703 | Archiwum PIC biblioteki GNU C zawiera archiwalną bibliotekę (plik ar) | |
704 | złożoną z pojedynczych obiektów współdzielonych. Używana jest do | |
705 | tworzenia biblioteki będącej mniejszym podzestawem standardowej | |
706 | biblioteki współdzielonej libc. | |
5240d049 | 707 | |
4206408a | 708 | %package -n nss_compat |
709 | Summary: Old style NYS NSS glibc module | |
32ba7e9f ER |
710 | Summary(es.UTF-8): El antiguo módulo NYS NSS de glibc |
711 | Summary(pl.UTF-8): Stary moduł NYS NSS glibc | |
4206408a | 712 | Group: Base |
69afb5a6 | 713 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c37d4a8e | 714 | |
4206408a | 715 | %description -n nss_compat |
5240d049 TP |
716 | Old style NYS NSS glibc module. |
717 | ||
94008272 JR |
718 | %description -n nss_compat -l es.UTF-8 |
719 | El antiguo módulo NYS NSS de glibc | |
4a04bb32 | 720 | |
94008272 JR |
721 | %description -n nss_compat -l pl.UTF-8 |
722 | Stary moduł NYS NSS glibc. | |
c37d4a8e | 723 | |
4206408a | 724 | %package -n nss_dns |
725 | Summary: BIND NSS glibc module | |
32ba7e9f ER |
726 | Summary(es.UTF-8): Módulo BIND NSS de glibc |
727 | Summary(pl.UTF-8): Moduł BIND NSS glibc | |
4206408a | 728 | Group: Base |
69afb5a6 | 729 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c37d4a8e | 730 | |
4206408a | 731 | %description -n nss_dns |
732 | BIND NSS glibc module. | |
c37d4a8e | 733 | |
94008272 JR |
734 | %description -n nss_dns -l es.UTF-8 |
735 | Módulo BIND NSS de glibc. | |
4a04bb32 | 736 | |
94008272 JR |
737 | %description -n nss_dns -l pl.UTF-8 |
738 | Moduł BIND NSS glibc. | |
5240d049 | 739 | |
4206408a | 740 | %package -n nss_files |
741 | Summary: Traditional files databases NSS glibc module | |
32ba7e9f ER |
742 | Summary(es.UTF-8): Módulo de tradicionales bases de datos en ficheros para glibc |
743 | Summary(pl.UTF-8): Moduł tradycyjnych plikowych baz danych NSS glibc | |
4206408a | 744 | Group: Base |
69afb5a6 | 745 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c37d4a8e | 746 | |
4206408a | 747 | %description -n nss_files |
748 | Traditional files databases NSS glibc module. | |
c37d4a8e | 749 | |
94008272 JR |
750 | %description -n nss_files -l es.UTF-8 |
751 | Módulo de tradicionales bases de datos en ficheros para glibc. | |
4a04bb32 | 752 | |
94008272 JR |
753 | %description -n nss_files -l pl.UTF-8 |
754 | Moduł tradycyjnych plikowych baz danych NSS glibc. | |
5240d049 | 755 | |
4206408a | 756 | %package -n nss_hesiod |
c6600969 | 757 | Summary: hesiod NSS glibc module |
32ba7e9f ER |
758 | Summary(es.UTF-8): Módulo hesiod NSS de glibc |
759 | Summary(pl.UTF-8): Moduł hesiod NSS glibc | |
4206408a | 760 | Group: Base |
69afb5a6 | 761 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c37d4a8e | 762 | |
4206408a | 763 | %description -n nss_hesiod |
5240d049 TP |
764 | glibc NSS (Name Service Switch) module for databases access. |
765 | ||
94008272 JR |
766 | %description -n nss_hesiod -l es.UTF-8 |
767 | Módulo hesiod NSS de glibc. | |
4a04bb32 | 768 | |
94008272 JR |
769 | %description -n nss_hesiod -l pl.UTF-8 |
770 | Moduł glibc NSS (Name Service Switch) dostępu do baz danych. | |
c37d4a8e | 771 | |
4206408a | 772 | %package -n nss_nis |
773 | Summary: NIS(YP) NSS glibc module | |
32ba7e9f ER |
774 | Summary(es.UTF-8): Módulo NIS(YP) NSS de glibc |
775 | Summary(pl.UTF-8): Moduł NIS(YP) NSS glibc | |
4206408a | 776 | Group: Base |
69afb5a6 | 777 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c37d4a8e | 778 | |
4206408a | 779 | %description -n nss_nis |
5240d049 TP |
780 | glibc NSS (Name Service Switch) module for NIS(YP) databases access. |
781 | ||
94008272 JR |
782 | %description -n nss_nis -l es.UTF-8 |
783 | Módulo NSS de glibc para acceder las bases de datos NIS(YP). | |
4a04bb32 | 784 | |
94008272 JR |
785 | %description -n nss_nis -l pl.UTF-8 |
786 | Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS(YP). | |
c37d4a8e | 787 | |
4206408a | 788 | %package -n nss_nisplus |
789 | Summary: NIS+ NSS module | |
32ba7e9f ER |
790 | Summary(es.UTF-8): Módulo NIS+ NSS |
791 | Summary(pl.UTF-8): Moduł NIS+ NSS | |
4206408a | 792 | Group: Base |
69afb5a6 | 793 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c37d4a8e | 794 | |
4206408a | 795 | %description -n nss_nisplus |
4a04bb32 | 796 | glibc NSS (Name Service Switch) module for NIS+ databases access. |
797 | ||
94008272 JR |
798 | %description -n nss_nisplus -l es.UTF-8 |
799 | Módulo NSS (Name Service Switch) de glibc para acceder las bases de | |
d22b4284 | 800 | datos NIS+. |
5240d049 | 801 | |
94008272 JR |
802 | %description -n nss_nisplus -l pl.UTF-8 |
803 | Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS+. | |
c37d4a8e | 804 | |
4206408a | 805 | %package memusage |
5240d049 | 806 | Summary: A toy |
32ba7e9f ER |
807 | Summary(es.UTF-8): Un juguete |
808 | Summary(pl.UTF-8): Zabawka | |
f78859cb | 809 | Group: Applications |
69afb5a6 | 810 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c37d4a8e | 811 | |
4206408a | 812 | %description memusage |
813 | A toy. | |
c37d4a8e | 814 | |
94008272 | 815 | %description memusage -l es.UTF-8 |
4a04bb32 | 816 | Un juguete. |
817 | ||
94008272 | 818 | %description memusage -l pl.UTF-8 |
5240d049 TP |
819 | Zabawka. |
820 | ||
602a978a | 821 | %prep |
72549d49 | 822 | %setup -q -a1 |
5145b9c7 | 823 | ln -s glibc-libidn-%{version} libidn |
9ab3e8a9 | 824 | %patch0 -p1 |
6658c043 | 825 | %patch1 -p1 |
d36b187a | 826 | %patch2 -p1 |
ddf4fb34 | 827 | %patch3 -p1 |
4b000c98 | 828 | %patch4 -p1 |
98036fec | 829 | %patch5 -p1 |
16c630b5 | 830 | %patch6 -p1 |
a456b349 | 831 | %patch7 -p1 |
abd55222 | 832 | %patch8 -p1 |
e69f9d61 | 833 | %patch9 -p1 |
f2d222e0 | 834 | %patch10 -p1 |
5145b9c7 JB |
835 | %patch11 -p1 |
836 | %patch12 -p1 | |
c8ab4310 | 837 | %patch13 -p1 |
ba326c24 | 838 | %patch14 -p0 |
5145b9c7 | 839 | |
42752e86 | 840 | %patch17 -p1 |
6eff0d91 | 841 | |
4b000c98 | 842 | %patch20 -p1 |
4707c1ba | 843 | %patch21 -p1 |
bf1d49cf | 844 | %patch22 -p1 |
e69f9d61 | 845 | %patch23 -p1 |
72549d49 | 846 | %patch24 -p1 |
5145b9c7 | 847 | %{?with_cross:%patch25 -p1} |
fcd6e70a | 848 | %patch26 -p1 |
94e35f34 | 849 | |
de1c7a1b | 850 | # these would be copied to localedb-src |
9e47feda | 851 | rm -f localedata/locales/*{.orig,~} |
de1c7a1b | 852 | |
98a7741e | 853 | chmod +x scripts/cpp |
d90a3b13 | 854 | |
40240acb JB |
855 | # i786 (aka pentium4) hack |
856 | cd nptl/sysdeps/i386 && ln -s i686 i786 && cd - | |
857 | cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd - | |
858 | ||
95b00200 JR |
859 | # A lot of programs still misuse memcpy when they have to use |
860 | # memmove. The memcpy implementation below is not tolerant at | |
861 | # all. | |
862 | rm -f sysdeps/alpha/alphaev6/memcpy.S | |
863 | ||
d90a3b13 | 864 | %build |
0469b7fd | 865 | # glibc has its own way to remove PLT relocations. / H. J. Lu. |
28a2e091 | 866 | unset LD_SYMBOLIC_FUNCTIONS || : |
0469b7fd | 867 | |
9b9d0010 | 868 | cp -f /usr/share/automake/config.sub scripts |
68ed41fd PS |
869 | %{__aclocal} |
870 | %{__autoconf} | |
5145b9c7 | 871 | |
2ed7b994 | 872 | rm -rf builddir |
cfac0d25 | 873 | install -d builddir |
e2a5184e | 874 | cd builddir |
472e31ee JB |
875 | %ifarch sparc64 |
876 | CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6" | |
877 | %endif | |
5145b9c7 | 878 | AWK="gawk" \ |
e2a5184e | 879 | ../%configure \ |
49db3d50 | 880 | --enable-kernel="%{min_kernel}" \ |
5145b9c7 | 881 | --enable-omitfp \ |
6658c043 | 882 | --with-headers=%{_includedir} \ |
40240acb JB |
883 | --with%{!?with_selinux:out}-selinux \ |
884 | --with-tls \ | |
4c3586c2 | 885 | --enable-add-ons=nptl,libidn \ |
5145b9c7 JB |
886 | --enable-stackguard-randomization \ |
887 | --enable-hidden-plt \ | |
4b632179 | 888 | --enable-bind-now \ |
2ed7b994 | 889 | --enable-profile |
55463a82 | 890 | |
f3cc1845 PS |
891 | %{__make} \ |
892 | sLIBdir=%{_libdir} | |
893 | ||
5145b9c7 | 894 | cd .. |
cfac0d25 | 895 | |
e81552c8 | 896 | %if %{with tests} |
5145b9c7 | 897 | for d in builddir; do |
40240acb | 898 | cd $d |
e81552c8 | 899 | env LANGUAGE=C LC_ALL=C \ |
00139ef4 | 900 | %{__make} tests 2>&1 | awk ' |
e81552c8 AM |
901 | BEGIN { file = "" } |
902 | { | |
114d7fe6 | 903 | if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) { |
e81552c8 AM |
904 | file=$0; |
905 | gsub(/.*\[/, NIL, file); | |
906 | gsub(/\].*/, NIL, file); | |
907 | } | |
00139ef4 | 908 | print $0; |
e81552c8 AM |
909 | } |
910 | END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }' | |
40240acb JB |
911 | cd .. |
912 | done | |
e81552c8 | 913 | %endif |
adfd3b3d | 914 | |
e408c264 | 915 | %if !%{with cross} |
55139ed8 | 916 | diet %{__cc} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst |
f70abfbb | 917 | %endif |
b6bedda4 | 918 | |
d90a3b13 | 919 | %install |
920 | rm -rf $RPM_BUILD_ROOT | |
f307cfc5 | 921 | install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd} |
f8865a58 | 922 | |
e2a5184e | 923 | cd builddir |
5240d049 | 924 | env LANGUAGE=C LC_ALL=C \ |
1739e791 | 925 | %{__make} install \ |
bab19d4a | 926 | install_root=$RPM_BUILD_ROOT \ |
927 | infodir=%{_infodir} \ | |
928 | mandir=%{_mandir} | |
f8865a58 | 929 | |
0a85848c | 930 | %if %{with localedb} |
5240d049 | 931 | env LANGUAGE=C LC_ALL=C \ |
8ab3a6c9 | 932 | %{__make} localedata/install-locales \ |
bab19d4a | 933 | install_root=$RPM_BUILD_ROOT |
0a85848c | 934 | %endif |
d90a3b13 | 935 | |
5240d049 TP |
936 | PICFILES="libc_pic.a libc.map |
937 | math/libm_pic.a libm.map | |
938 | resolv/libresolv_pic.a" | |
71a76fad | 939 | |
5240d049 TP |
940 | install $PICFILES $RPM_BUILD_ROOT%{_libdir} |
941 | install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o | |
942 | install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o | |
cfac0d25 | 943 | cd .. |
8ab3a6c9 | 944 | |
e408c264 | 945 | %if !%{with cross} |
b6bedda4 | 946 | install glibc-postinst $RPM_BUILD_ROOT/sbin |
f70abfbb | 947 | %endif |
b6bedda4 | 948 | |
4c3586c2 | 949 | %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}} |
c4fea372 | 950 | mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir} |
77d92b8b | 951 | |
b1414da6 JB |
952 | rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime |
953 | # moved to tzdata package | |
954 | rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo | |
d90a3b13 | 955 | |
277c4a9d | 956 | ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a |
ff4a133a | 957 | |
277c4a9d | 958 | # make symlinks across top-level directories absolute |
0781f7b6 | 959 | for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do |
277c4a9d | 960 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so |
c4fea372 | 961 | ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so |
277c4a9d JB |
962 | done |
963 | ||
05486726 AM |
964 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd |
965 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd | |
966 | install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd | |
87d5a0d2 | 967 | install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir} |
bebe21cc | 968 | sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf |
87d5a0d2 | 969 | install posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir} |
16c630b5 | 970 | |
c646f82f | 971 | bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} |
21f1736f | 972 | > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache |
60d03a9f | 973 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d |
5145b9c7 | 974 | echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf |
8ab3a6c9 | 975 | rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7 |
c37d4a8e | 976 | |
ddf4fb34 | 977 | :> $RPM_BUILD_ROOT/var/log/nscd |
f307cfc5 JB |
978 | :> $RPM_BUILD_ROOT/var/lib/nscd/passwd |
979 | :> $RPM_BUILD_ROOT/var/lib/nscd/group | |
980 | :> $RPM_BUILD_ROOT/var/lib/nscd/hosts | |
236a5027 | 981 | |
cfac0d25 JB |
982 | rm -rf documentation |
983 | install -d documentation | |
16c630b5 | 984 | |
5145b9c7 JB |
985 | for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do |
986 | cp -f nptl/$f documentation/$f.nptl | |
3cc9adfc | 987 | done |
5145b9c7 | 988 | cp -f crypt/README.ufc-crypt ChangeLog* documentation |
d90a3b13 | 989 | |
49db3d50 | 990 | rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so |
5873e793 | 991 | |
c7d9be53 | 992 | # strip ld.so with --strip-debug only (other ELFs are stripped by rpm): |
e6a48891 | 993 | %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so} |
c7d9be53 | 994 | |
503c0862 | 995 | # Collect locale files and mark them with %%lang() |
cfac0d25 JB |
996 | rm -f glibc.lang |
997 | echo '%defattr(644,root,root,755)' > glibc.lang | |
49db3d50 | 998 | for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do |
503c0862 | 999 | if [ -d $i ]; then |
1aa895e1 | 1000 | lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'` |
a7079698 | 1001 | twochar=1 |
1002 | # list of long %%lang values we do support | |
aa65c8d7 | 1003 | for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \ |
a7079698 | 1004 | zh_CN zh_CN.gbk zh_HK zh_TW ; do |
1005 | if [ $j = "$lang" ]; then | |
1006 | twochar= | |
1007 | fi | |
1008 | done | |
1009 | if [ -n "$twochar" ]; then | |
1010 | if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then | |
1011 | lang=`echo $lang | sed "s,\..*,,"` | |
1012 | else | |
dfd9b0bb | 1013 | lang=`echo $lang | sed "s,_.*,,"` |
c5387ad5 | 1014 | fi |
1015 | fi | |
503c0862 | 1016 | dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"` |
cfac0d25 | 1017 | echo "%lang($lang) $dir" >> glibc.lang |
503c0862 JR |
1018 | fi |
1019 | done | |
84dca6d3 | 1020 | |
4b000c98 | 1021 | # NOTES: |
429f21ad | 1022 | # Languages not supported by glibc locales, but usable via $LANGUAGE: |
1023 | # ang - Old English (gtk+, gnome) | |
1024 | # tlh - Klingon (bzflag) | |
1025 | # | |
84dca6d3 | 1026 | # To be added when they become supported by glibc: |
84dca6d3 | 1027 | # az_IR (gtk+) |
429f21ad | 1028 | # dv, haw, kok, ps, syr (iso-codes) |
84dca6d3 | 1029 | # gn (gn_BR in gnome, maybe gn_PY) |
1030 | # my (gaim) | |
84dca6d3 | 1031 | # |
1032 | # What about sr@ije? It used to be sr_CS@ije (should be @[i]jekavian?), | |
1033 | # but now this dialect uses sr_ME locale - rename dir to sr_ME? | |
692dc976 | 1034 | # |
b4ec8e5c | 1035 | # bn is used for bn_BD or bn_IN? Assume bn_IN as nothing for bn_BD appeared |
84dca6d3 | 1036 | # till now. |
b4ec8e5c | 1037 | # |
84dca6d3 | 1038 | # Omitted here - already existing (with libc.mo): |
1039 | # be ca cs da de el en_GB es fi fr gl hr hu it ja ko nb nl pl pt_BR ru rw sk | |
1040 | # sv tr zh_CN zh_TW | |
b4ec8e5c | 1041 | # |
84dca6d3 | 1042 | for i in aa aa@saaho af am an ang ar as ast az be@alternative be@latin bg bn \ |
1043 | bn_IN br bs byn csb cy de_AT dz en en@boldquot en@quot en_AU en_CA en_US \ | |
05b4e975 SS |
1044 | eo es_AR es_MX es_NI es_PR et eu fa fil fo fr_BE fur fy ga gd gez gu gv \ |
1045 | he hi hsb hy ia id ik is it_CH iu ka kk kl km kn ku kw ky lg li lo lt lv \ | |
1046 | mai mg mi mk ml mn mr ms mt nds ne nl_BE nn nr nso oc om or pa pap pt rm \ | |
1047 | ro sa sc se si sid sl so sq sr sr@Latn sr@ije ss st sw ta te tg th ti tig \ | |
1048 | tk tl tlh tn ts tt ug uk ur uz uz@cyrillic ve vi wa wal wo xh yi yo zh_HK \ | |
1049 | zu ; do | |
8ab3a6c9 | 1050 | if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then |
5b2b5619 | 1051 | install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES |
1052 | lang=`echo $i | sed -e 's/_.*//'` | |
cfac0d25 | 1053 | echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang |
5b2b5619 | 1054 | fi |
1055 | done | |
503c0862 | 1056 | |
40430bed | 1057 | # localedb-gen infrastructure |
ae7aa792 ER |
1058 | sed -e 's,@localedir@,%{_libdir}/locale,' %{SOURCE6} > $RPM_BUILD_ROOT%{_bindir}/localedb-gen |
1059 | chmod +x $RPM_BUILD_ROOT%{_bindir}/localedb-gen | |
cfac0d25 | 1060 | install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n |
40430bed | 1061 | |
8ab3a6c9 | 1062 | # shutup check-files |
8bc00675 JB |
1063 | rm -f $RPM_BUILD_ROOT%{_mandir}/README.* |
1064 | rm -f $RPM_BUILD_ROOT%{_mandir}/diff.* | |
1065 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir | |
8ab3a6c9 | 1066 | # we don't support kernel without ptys support |
49db3d50 | 1067 | rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown |
88300fde | 1068 | |
ea870772 JB |
1069 | %clean |
1070 | rm -rf $RPM_BUILD_ROOT | |
1071 | ||
fc7d9af9 JB |
1072 | # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist |
1073 | # when %%postun is run | |
002a72ae | 1074 | |
e408c264 | 1075 | %if !%{with cross} |
d326d834 | 1076 | %post -p /sbin/postshell |
3a32e57b | 1077 | /sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls |
ecf87e84 | 1078 | /sbin/ldconfig |
88300fde AF |
1079 | -/sbin/telinit u |
1080 | ||
d326d834 | 1081 | %postun -p /sbin/postshell |
d326d834 | 1082 | /sbin/ldconfig |
88300fde | 1083 | -/sbin/telinit u |
d90a3b13 | 1084 | |
5145b9c7 | 1085 | %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6 |
60d03a9f JB |
1086 | -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave |
1087 | -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf | |
f70abfbb | 1088 | %endif |
60d03a9f | 1089 | |
5240d049 | 1090 | %post memusage -p /sbin/ldconfig |
5145b9c7 | 1091 | %postun memusage -p /sbin/ldconfig |
05486726 | 1092 | |
188ceaa6 | 1093 | %post -n iconv -p %{_sbindir}/iconvconfig |
436fd1ea | 1094 | |
d90a3b13 | 1095 | %post devel |
19cc9468 | 1096 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
d90a3b13 | 1097 | |
d34cb8bc | 1098 | %postun devel |
19cc9468 | 1099 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
d90a3b13 | 1100 | |
da7cc665 | 1101 | %pre -n nscd |
e9351fa5 ER |
1102 | %groupadd -P nscd -g 144 -r nscd |
1103 | %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "nscd" -g nscd nscd | |
da7cc665 | 1104 | |
8912a874 | 1105 | %post -n nscd |
19cc9468 | 1106 | /sbin/chkconfig --add nscd |
c6600969 | 1107 | touch /var/log/nscd |
1108 | chmod 000 /var/log/nscd | |
1109 | chown root:root /var/log/nscd | |
1110 | chmod 640 /var/log/nscd | |
9b9eac8d | 1111 | %service nscd restart "nscd daemon" |
8912a874 | 1112 | |
1113 | %preun -n nscd | |
19cc9468 | 1114 | if [ "$1" = "0" ]; then |
9b9eac8d | 1115 | %service nscd stop |
19cc9468 | 1116 | /sbin/chkconfig --del nscd |
1117 | fi | |
8912a874 | 1118 | |
da7cc665 JB |
1119 | %postun -n nscd |
1120 | if [ "$1" = "0" ]; then | |
1121 | %userremove nscd | |
1122 | %groupremove nscd | |
1123 | fi | |
1124 | ||
d22b4284 SP |
1125 | %files |
1126 | %defattr(644,root,root,755) | |
e2a5184e | 1127 | %doc README NEWS FAQ BUGS |
e408c264 | 1128 | %if !%{with cross} |
b6bedda4 | 1129 | %attr(755,root,root) /sbin/glibc-postinst |
f70abfbb | 1130 | %endif |
fea833d1 | 1131 | %attr(755,root,root) /sbin/ldconfig |
c4fea372 JK |
1132 | # ld* and libc.so.6 SONAME symlinks must be in package because of |
1133 | # chicken-egg problem (postshell is dynamically linked with libc); | |
c793d691 | 1134 | # NOTE: postshell is now linked statically with diet |
05743f54 JB |
1135 | # ld-*.so SONAME is: |
1136 | # ld.so.1 on ppc | |
1137 | # ld64.so.1 on ppc64,s390x | |
1138 | # ld-linux-ia64.so.2 on ia64 | |
7adf02d6 | 1139 | # ld-linux-x86-64.so.2 on x86_64 |
05743f54 | 1140 | # ld-linux.so.2 on other archs |
c4fea372 JK |
1141 | %attr(755,root,root) /%{_lib}/ld* |
1142 | %attr(755,root,root) /%{_lib}/libanl* | |
1143 | %attr(755,root,root) /%{_lib}/libdl* | |
1144 | %attr(755,root,root) /%{_lib}/libnsl* | |
1145 | %attr(755,root,root) /%{_lib}/lib[BScmprtu]* | |
0a85848c | 1146 | %{?with_localedb:%dir %{_libdir}/locale} |
f307cfc5 | 1147 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf |
60d03a9f | 1148 | %dir %{_sysconfdir}/ld.so.conf.d |
05643622 | 1149 | %ghost %{_sysconfdir}/ld.so.cache |
c4fea372 | 1150 | |
0b0bde94 JK |
1151 | #%files -n nss_dns |
1152 | %defattr(644,root,root,755) | |
1153 | %attr(755,root,root) /%{_lib}/libnss_dns*.so* | |
1154 | ||
1155 | #%files -n nss_files | |
1156 | %defattr(644,root,root,755) | |
1157 | %attr(755,root,root) /%{_lib}/libnss_files*.so* | |
1158 | ||
c4fea372 JK |
1159 | %files misc -f %{name}.lang |
1160 | %defattr(644,root,root,755) | |
236a5027 | 1161 | |
f307cfc5 | 1162 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf |
87d5a0d2 AM |
1163 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf |
1164 | ||
4206408a | 1165 | %config %{_sysconfdir}/rpc |
c37d4a8e | 1166 | |
fea833d1 | 1167 | %attr(755,root,root) /sbin/sln |
ba697d79 | 1168 | %attr(755,root,root) %{_bindir}/catchsegv |
72549d49 | 1169 | %attr(755,root,root) %{_bindir}/getconf |
ba697d79 | 1170 | %attr(755,root,root) %{_bindir}/getent |
3abcf615 | 1171 | %attr(755,root,root) %{_bindir}/iconv |
ba697d79 | 1172 | %attr(755,root,root) %{_bindir}/ldd |
472e31ee | 1173 | %ifarch %{ix86} m68k sparc sparcv9 |
ba697d79 | 1174 | %attr(755,root,root) %{_bindir}/lddlibc4 |
f15a9825 | 1175 | %endif |
ba697d79 | 1176 | %attr(755,root,root) %{_bindir}/locale |
ba697d79 | 1177 | %attr(755,root,root) %{_bindir}/rpcgen |
1178 | %attr(755,root,root) %{_bindir}/tzselect | |
ba697d79 | 1179 | |
bab19d4a | 1180 | %attr(755,root,root) %{_sbindir}/rpcinfo |
bab19d4a | 1181 | %attr(755,root,root) %{_sbindir}/zdump |
1182 | %attr(755,root,root) %{_sbindir}/zic | |
236a5027 | 1183 | |
72549d49 JB |
1184 | %dir %{_libexecdir}/getconf |
1185 | %attr(755,root,root) %{_libexecdir}/getconf/* | |
1186 | ||
503c0862 JR |
1187 | %dir %{_datadir}/locale |
1188 | %{_datadir}/locale/locale.alias | |
236a5027 | 1189 | |
fa0f5e25 | 1190 | %{_mandir}/man1/catchsegv.1* |
72549d49 | 1191 | %{_mandir}/man1/getconf.1* |
4377d843 | 1192 | %{_mandir}/man1/getent.1* |
fa0f5e25 | 1193 | %{_mandir}/man1/iconv.1* |
3d65e37f | 1194 | %{_mandir}/man1/ldd.1* |
fa0f5e25 JB |
1195 | %{_mandir}/man1/locale.1* |
1196 | %{_mandir}/man1/rpcgen.1* | |
1197 | %{_mandir}/man5/locale.5* | |
1198 | %{_mandir}/man5/nsswitch.conf.5* | |
1199 | %{_mandir}/man5/tzfile.5* | |
3d65e37f | 1200 | %{_mandir}/man7/* |
fa0f5e25 JB |
1201 | %{_mandir}/man8/ld*.8* |
1202 | %{_mandir}/man8/rpcinfo.8* | |
1203 | %{_mandir}/man8/sln.8* | |
1204 | %{_mandir}/man8/tzselect.8* | |
1205 | %{_mandir}/man8/zdump.8* | |
1206 | %{_mandir}/man8/zic.8* | |
1207 | %lang(cs) %{_mandir}/cs/man7/* | |
1208 | %lang(de) %{_mandir}/de/man5/tzfile.5* | |
1209 | %lang(de) %{_mandir}/de/man7/* | |
49ead7a0 | 1210 | %lang(es) %{_mandir}/es/man1/ldd.1* |
fa0f5e25 JB |
1211 | %lang(es) %{_mandir}/es/man5/locale.5* |
1212 | %lang(es) %{_mandir}/es/man5/nsswitch.conf.5* | |
1213 | %lang(es) %{_mandir}/es/man5/tzfile.5* | |
1214 | %lang(es) %{_mandir}/es/man7/* | |
1215 | %lang(es) %{_mandir}/es/man8/ld*.8* | |
1216 | %lang(es) %{_mandir}/es/man8/tzselect.8* | |
1217 | %lang(es) %{_mandir}/es/man8/zdump.8* | |
1218 | %lang(es) %{_mandir}/es/man8/zic.8* | |
3d65e37f | 1219 | %lang(fi) %{_mandir}/fi/man1/ldd.1* |
1220 | %lang(fr) %{_mandir}/fr/man1/ldd.1* | |
fa0f5e25 JB |
1221 | %lang(fr) %{_mandir}/fr/man5/locale.5* |
1222 | %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5* | |
1223 | %lang(fr) %{_mandir}/fr/man5/tzfile.5* | |
1224 | %lang(fr) %{_mandir}/fr/man7/* | |
1225 | %lang(fr) %{_mandir}/fr/man8/ld*.8* | |
1226 | %lang(fr) %{_mandir}/fr/man8/tzselect.8* | |
1227 | %lang(fr) %{_mandir}/fr/man8/zdump.8* | |
1228 | %lang(fr) %{_mandir}/fr/man8/zic.8* | |
3d65e37f | 1229 | %lang(hu) %{_mandir}/hu/man1/ldd.1* |
fa0f5e25 JB |
1230 | %lang(hu) %{_mandir}/hu/man7/* |
1231 | %lang(hu) %{_mandir}/hu/man8/ld*.8* | |
1232 | %lang(hu) %{_mandir}/hu/man8/zdump.8* | |
1233 | %lang(it) %{_mandir}/it/man5/locale.5* | |
1234 | %lang(it) %{_mandir}/it/man7/* | |
1235 | %lang(it) %{_mandir}/it/man8/tzselect.8* | |
1236 | %lang(it) %{_mandir}/it/man8/zdump.8* | |
3d65e37f | 1237 | %lang(ja) %{_mandir}/ja/man1/ldd.1* |
fa0f5e25 JB |
1238 | %lang(ja) %{_mandir}/ja/man1/rpcgen.1* |
1239 | %lang(ja) %{_mandir}/ja/man5/locale.5* | |
1240 | %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5* | |
1241 | %lang(ja) %{_mandir}/ja/man5/tzfile.5* | |
3d65e37f | 1242 | %lang(ja) %{_mandir}/ja/man7/* |
fa0f5e25 JB |
1243 | %lang(ja) %{_mandir}/ja/man8/ld*.8* |
1244 | %lang(ja) %{_mandir}/ja/man8/rpcinfo.8* | |
1245 | %lang(ja) %{_mandir}/ja/man8/sln.8* | |
1246 | %lang(ja) %{_mandir}/ja/man8/tzselect.8* | |
1247 | %lang(ja) %{_mandir}/ja/man8/zdump.8* | |
1248 | %lang(ja) %{_mandir}/ja/man8/zic.8* | |
49ead7a0 | 1249 | %lang(ko) %{_mandir}/ko/man1/ldd.1* |
fa0f5e25 JB |
1250 | %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5* |
1251 | %lang(ko) %{_mandir}/ko/man5/tzfile.5* | |
1252 | %lang(ko) %{_mandir}/ko/man7/* | |
1253 | %lang(ko) %{_mandir}/ko/man8/tzselect.8* | |
1254 | %lang(ko) %{_mandir}/ko/man8/zdump.8* | |
3d65e37f | 1255 | %lang(pl) %{_mandir}/pl/man1/ldd.1* |
fa0f5e25 JB |
1256 | %lang(pl) %{_mandir}/pl/man5/locale.5* |
1257 | %lang(pl) %{_mandir}/pl/man7/* | |
1258 | %lang(pl) %{_mandir}/pl/man8/ld*.8* | |
1259 | %lang(pt) %{_mandir}/pt/man5/locale.5* | |
1260 | %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5* | |
1261 | %lang(pt) %{_mandir}/pt/man5/tzfile.5* | |
3d65e37f | 1262 | %lang(pt) %{_mandir}/pt/man7/* |
fa0f5e25 JB |
1263 | %lang(pt) %{_mandir}/pt/man8/ld*.8* |
1264 | %lang(pt) %{_mandir}/pt/man8/tzselect.8* | |
1265 | %lang(pt) %{_mandir}/pt/man8/zdump.8* | |
1266 | %lang(pt) %{_mandir}/pt/man8/zic.8* | |
49ead7a0 JB |
1267 | %lang(ru) %{_mandir}/ru/man1/getent.1* |
1268 | %lang(ru) %{_mandir}/ru/man1/iconv.1* | |
1269 | %lang(ru) %{_mandir}/ru/man1/ldd.1* | |
1270 | %lang(ru) %{_mandir}/ru/man1/locale.1* | |
1271 | %lang(ru) %{_mandir}/ru/man1/rpcgen.1* | |
1272 | %lang(ru) %{_mandir}/ru/man5/locale.5* | |
fa0f5e25 JB |
1273 | %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5* |
1274 | %lang(ru) %{_mandir}/ru/man5/tzfile.5* | |
1275 | %lang(ru) %{_mandir}/ru/man7/* | |
49ead7a0 JB |
1276 | %lang(ru) %{_mandir}/ru/man8/ld*.8* |
1277 | %lang(ru) %{_mandir}/ru/man8/rpcinfo.8* | |
fa0f5e25 JB |
1278 | %lang(ru) %{_mandir}/ru/man8/tzselect.8* |
1279 | %lang(ru) %{_mandir}/ru/man8/zdump.8* | |
1280 | %lang(ru) %{_mandir}/ru/man8/zic.8* | |
49ead7a0 JB |
1281 | %lang(tr) %{_mandir}/tr/man1/iconv.1* |
1282 | %lang(tr) %{_mandir}/tr/man1/ldd.1* | |
fa0f5e25 JB |
1283 | %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1* |
1284 | %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1* | |
1285 | %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5* | |
1286 | %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5* | |
1287 | %lang(zh_CN) %{_mandir}/zh_CN/man7/* | |
1288 | %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8* | |
1289 | %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8* | |
1290 | %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8* | |
4206408a | 1291 | |
94655bd2 | 1292 | %files -n nss_compat |
1293 | %defattr(644,root,root,755) | |
c4fea372 | 1294 | %attr(755,root,root) /%{_lib}/libnss_compat*.so* |
94655bd2 | 1295 | |
e82c8242 | 1296 | %files -n nss_hesiod |
1297 | %defattr(644,root,root,755) | |
c4fea372 | 1298 | %attr(755,root,root) /%{_lib}/libnss_hesiod*.so* |
e82c8242 | 1299 | |
1300 | %files -n nss_nis | |
1301 | %defattr(644,root,root,755) | |
c4fea372 JK |
1302 | %attr(755,root,root) /%{_lib}/libnss_nis.so.* |
1303 | %attr(755,root,root) /%{_lib}/libnss_nis-*.so | |
e82c8242 | 1304 | |
1305 | %files -n nss_nisplus | |
1306 | %defattr(644,root,root,755) | |
c4fea372 | 1307 | %attr(755,root,root) /%{_lib}/libnss_nisplus*.so* |
e82c8242 | 1308 | |
fd1d4127 | 1309 | %if %{with memusage} |
4206408a | 1310 | %files memusage |
1311 | %defattr(644,root,root,755) | |
1312 | %attr(755,root,root) %{_bindir}/memusage* | |
fd1d4127 | 1313 | %attr(755,root,root) %{_libdir}/libmemusage.so |
5ea2d863 | 1314 | %endif |
4206408a | 1315 | |
462c36a3 | 1316 | %files devel |
236a5027 | 1317 | %defattr(644,root,root,755) |
40240acb JB |
1318 | %attr(755,root,root) %{_libdir}/lib[!cmp]*.so |
1319 | %attr(755,root,root) %{_libdir}/libcrypt.so | |
1320 | %attr(755,root,root) %{_libdir}/libm.so | |
1321 | %attr(755,root,root) %{_libdir}/libpcprofile.so | |
1322 | %attr(755,root,root) %{_libdir}/*crt*.o | |
1323 | # ld scripts | |
1324 | %{_libdir}/libc.so | |
1325 | %{_libdir}/libpthread.so | |
40240acb JB |
1326 | %{_libdir}/libbsd-compat.a |
1327 | %{_libdir}/libbsd.a | |
1328 | %{_libdir}/libc_nonshared.a | |
1329 | %{_libdir}/libg.a | |
1330 | %{_libdir}/libieee.a | |
5145b9c7 JB |
1331 | %ifarch alpha ppc sparc |
1332 | %{_libdir}/libnldbl_nonshared.a | |
1333 | %endif | |
40240acb JB |
1334 | %{_libdir}/libpthread_nonshared.a |
1335 | %{_libdir}/librpcsvc.a | |
fb46cf23 | 1336 | %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64 |
5b00029e | 1337 | %{_includedir}/gnu/stubs-*.h |
fb46cf23 | 1338 | %endif |
5b00029e JB |
1339 | |
1340 | %files headers | |
1341 | %defattr(644,root,root,755) | |
462c36a3 | 1342 | %{_includedir}/*.h |
3c882bd9 JB |
1343 | %ifarch alpha |
1344 | %{_includedir}/alpha | |
1345 | %endif | |
462c36a3 | 1346 | %{_includedir}/arpa |
1347 | %{_includedir}/bits | |
5b00029e JB |
1348 | %dir %{_includedir}/gnu |
1349 | %{_includedir}/gnu/lib*.h | |
1350 | %{_includedir}/gnu/stubs.h | |
462c36a3 | 1351 | %{_includedir}/net |
1352 | %{_includedir}/netash | |
1353 | %{_includedir}/netatalk | |
1354 | %{_includedir}/netax25 | |
1355 | %{_includedir}/neteconet | |
1356 | %{_includedir}/netinet | |
1357 | %{_includedir}/netipx | |
1358 | %{_includedir}/netpacket | |
1359 | %{_includedir}/netrom | |
1360 | %{_includedir}/netrose | |
1361 | %{_includedir}/nfs | |
1362 | %{_includedir}/protocols | |
1363 | %{_includedir}/rpc | |
1364 | %{_includedir}/rpcsvc | |
1365 | %{_includedir}/scsi | |
1366 | %{_includedir}/sys | |
1367 | ||
5b00029e JB |
1368 | %files devel-utils |
1369 | %defattr(644,root,root,755) | |
1370 | %attr(755,root,root) %{_bindir}/gencat | |
1371 | %attr(755,root,root) %{_bindir}/*prof* | |
1372 | %attr(755,root,root) %{_bindir}/*trace | |
1373 | ||
1374 | %files devel-doc | |
1375 | %defattr(644,root,root,755) | |
1376 | %doc documentation/* NOTES PROJECTS | |
900994f2 | 1377 | %{_infodir}/libc.info* |
d90a3b13 | 1378 | |
fa0f5e25 | 1379 | %{_mandir}/man1/sprof.1* |
2c6699cc | 1380 | %{_mandir}/man3/* |
1fc785e2 | 1381 | %lang(cs) %{_mandir}/cs/man3/* |
1382 | %lang(de) %{_mandir}/de/man3/* | |
1383 | %lang(es) %{_mandir}/es/man3/* | |
1384 | %lang(fr) %{_mandir}/fr/man3/* | |
1385 | %lang(hu) %{_mandir}/hu/man3/* | |
fa0f5e25 | 1386 | %lang(it) %{_mandir}/it/man3/* |
1145bfaf | 1387 | %lang(ja) %{_mandir}/ja/man3/* |
1388 | %lang(ko) %{_mandir}/ko/man3/* | |
1389 | %lang(nl) %{_mandir}/nl/man3/* | |
1390 | %lang(pl) %{_mandir}/pl/man3/* | |
1391 | %lang(pt) %{_mandir}/pt/man3/* | |
49ead7a0 | 1392 | %lang(ru) %{_mandir}/ru/man1/sprof.1* |
1145bfaf | 1393 | %lang(ru) %{_mandir}/ru/man3/* |
49ead7a0 | 1394 | %lang(tr) %{_mandir}/tr/man3/* |
fa0f5e25 JB |
1395 | %lang(uk) %{_mandir}/uk/man3/* |
1396 | %lang(zh_CN) %{_mandir}/zh_CN/man3/* | |
236a5027 | 1397 | |
bab19d4a | 1398 | %files -n nscd |
1399 | %defattr(644,root,root,755) | |
f307cfc5 JB |
1400 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd |
1401 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.* | |
46b7a91b | 1402 | %attr(754,root,root) /etc/rc.d/init.d/nscd |
4206408a | 1403 | %attr(755,root,root) %{_sbindir}/nscd* |
f307cfc5 | 1404 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd |
ddf4fb34 | 1405 | %attr(640,root,root) %ghost /var/log/nscd |
7dc8db4b | 1406 | %dir /var/run/nscd |
f307cfc5 JB |
1407 | %dir /var/lib/nscd |
1408 | %attr(600,root,root) %ghost /var/lib/nscd/passwd | |
1409 | %attr(600,root,root) %ghost /var/lib/nscd/group | |
1410 | %attr(600,root,root) %ghost /var/lib/nscd/hosts | |
fa0f5e25 JB |
1411 | %{_mandir}/man5/nscd.conf.5* |
1412 | %{_mandir}/man8/nscd.8* | |
1413 | %{_mandir}/man8/nscd_nischeck.8* | |
49ead7a0 JB |
1414 | %lang(es) %{_mandir}/es/man5/nscd.conf.5* |
1415 | %lang(es) %{_mandir}/es/man8/nscd.8* | |
fa0f5e25 JB |
1416 | %lang(fr) %{_mandir}/fr/man5/nscd.conf.5* |
1417 | %lang(fr) %{_mandir}/fr/man8/nscd.8* | |
1418 | %lang(ja) %{_mandir}/ja/man5/nscd.conf.5* | |
1419 | %lang(ja) %{_mandir}/ja/man8/nscd.8* | |
1420 | %lang(pt) %{_mandir}/pt/man5/nscd.conf.5* | |
1421 | %lang(pt) %{_mandir}/pt/man8/nscd.8* | |
49ead7a0 JB |
1422 | %lang(ru) %{_mandir}/ru/man5/nscd.conf.5* |
1423 | %lang(ru) %{_mandir}/ru/man8/nscd.8* | |
1424 | %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5* | |
c43e39f5 | 1425 | |
d34cb8bc | 1426 | %files -n localedb-src |
1427 | %defattr(644,root,root,755) | |
ba697d79 | 1428 | %attr(755,root,root) %{_bindir}/localedef |
40430bed | 1429 | %attr(755,root,root) %{_bindir}/localedb-gen |
d34cb8bc | 1430 | %{_datadir}/i18n |
fa0f5e25 | 1431 | %{_mandir}/man1/localedef.1* |
49ead7a0 | 1432 | %lang(ru) %{_mandir}/ru/man1/localedef.1* |
40430bed | 1433 | |
0a85848c | 1434 | %if %{with localedb} |
40430bed JB |
1435 | %files localedb-all |
1436 | %defattr(644,root,root,755) | |
fbd4c876 | 1437 | %{_libdir}/locale/locale-archive |
0a85848c | 1438 | %endif |
d34cb8bc | 1439 | |
1440 | %files -n iconv | |
1441 | %defattr(644,root,root,755) | |
436fd1ea | 1442 | %attr(755,root,root) %{_sbindir}/iconvconfig |
fbd4c876 | 1443 | %dir %{_libdir}/gconv |
1444 | %{_libdir}/gconv/gconv-modules | |
1445 | %attr(755,root,root) %{_libdir}/gconv/*.so | |
d34cb8bc | 1446 | |
c7df086f | 1447 | %files static |
1448 | %defattr(644,root,root,755) | |
fbd4c876 | 1449 | %{_libdir}/libanl.a |
1450 | %{_libdir}/libBrokenLocale.a | |
1451 | %{_libdir}/libc.a | |
1452 | %{_libdir}/libcrypt.a | |
1453 | %{_libdir}/libdl.a | |
1454 | %{_libdir}/libm.a | |
1455 | %{_libdir}/libmcheck.a | |
1456 | %{_libdir}/libnsl.a | |
1457 | %{_libdir}/libpthread.a | |
1458 | %{_libdir}/libresolv.a | |
1459 | %{_libdir}/librt.a | |
1460 | %{_libdir}/libutil.a | |
e2a5184e | 1461 | |
d34cb8bc | 1462 | %files profile |
1463 | %defattr(644,root,root,755) | |
fbd4c876 | 1464 | %{_libdir}/lib*_p.a |
71a76fad | 1465 | |
1466 | %files pic | |
1467 | %defattr(644,root,root,755) | |
fbd4c876 | 1468 | %{_libdir}/lib*_pic.a |
1469 | %{_libdir}/lib*.map | |
1470 | %{_libdir}/soinit.o | |
1471 | %{_libdir}/sofini.o |