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