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