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