]>
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 | 9 | Version: 0.30 |
2e769503 | 10 | Release: 2 |
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 | 18 | Patch2: %{name}-platform.patch |
73062649 | 19 | # workaround for http://gcc.gnu.org/PR26374 |
1337a3d8 | 20 | Patch3: %{name}-gcc4.patch |
d227bc8d | 21 | Patch4: %{name}-guard.patch |
6cfbdaaf | 22 | Patch5: %{name}-arm.patch |
ef49f35c | 23 | URL: http://www.fefe.de/dietlibc/ |
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 | |
7e6f0cf7 | 28 | %define libarch %(echo %{_target_cpu} | sed -e 's/i.86\\|pentium.\\|athlon/i386/;s/amd64/x86_64/;s/armv.*/arm/') |
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 |