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