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