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