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