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