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