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