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