]>
Commit | Line | Data |
---|---|---|
4cb74223 | 1 | %bcond_with pp # disable stack protector 'coz dietlibc will not work with it! |
2 | ||
c3a70eef | 3 | Summary: C library optimized for size |
dd5e72ff | 4 | Summary(pl): Biblioteka standardowa C zoptymalizowana na rozmiar |
d6210763 | 5 | Summary(pt_BR): libc pequena otimizada para tamanho |
09de3116 | 6 | Name: dietlibc |
91ba8d78 | 7 | Version: 0.24 |
3b24d9ed | 8 | Release: 4 |
e72c8dd4 | 9 | Epoch: 2 |
aae0fca7 | 10 | License: GPL v2 |
09de3116 | 11 | Group: Development/Libraries |
18646183 | 12 | Source0: http://www.kernel.org/pub/linux/libs/dietlibc/%{name}-%{version}.tar.bz2 |
91ba8d78 | 13 | # Source0-md5: 1dc54e022c2b31fa99a512225ed36150 |
3b24d9ed | 14 | Source1: %{name}-divrem.m4 |
711665cb | 15 | Patch0: %{name}-ppc.patch |
b633677b | 16 | Patch1: %{name}-opt.patch |
b0443187 | 17 | Patch2: %{name}-athlon.patch |
fe0d2b24 | 18 | Patch3: %{name}-amd64.patch |
ef49f35c | 19 | URL: http://www.fefe.de/dietlibc/ |
3b24d9ed JB |
20 | %ifarch sparc |
21 | BuildRequires: m4 | |
22 | BuildRequires: perl-base | |
23 | %endif | |
09de3116 | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
c3a70eef | 25 | |
b633677b JB |
26 | %define dietprefix %{_prefix}/%{_target_cpu}-linux-dietlibc |
27 | # for some reason known only to rpm there must be "\\|" not "\|" here | |
fe0d2b24 | 28 | %define libarch %(echo %{_target_cpu} | sed -e 's/i.86\\|athlon/i386/;s/amd64/x86_64/') |
b633677b | 29 | |
c3a70eef | 30 | %description |
31 | Small libc for building embedded applications. | |
32 | ||
dd5e72ff JB |
33 | %description -l pl |
34 | Niewielka libc do budowania aplikacji wbudowanych. | |
35 | ||
aae0fca7 | 36 | %description -l pt_BR |
b633677b JB |
37 |