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