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