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