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