Group :: Development/C
RPM: dietlibc
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: dietlibc
Version: 0.28
Release: alt1
%define diethome %_prefix/lib/%name
Summary: C library optimized for size
License: GPL
Group: Development/C
Url: http://www.fefe.de/%name/
Source: ftp://ftp.kernel.org/pub/linux/libs/%name/%name-%version.tar.bz2
Source1: %name-Makefile.rules
Patch1: %name-0.23-alt-getline.patch
Patch2: %name-0.27-alt-ioverflow.patch
Patch3: %name-0.28-alt-config.patch
Patch4: %name-0.27-alt-define.patch
Patch5: %name-0.28-syscall.patch
# MDK
Patch30: %name-0.28-64bit-fixes.patch
Patch31: %name-0.27-biarch.patch
Patch32: %name-0.27-kernel2.6-types.patch
Patch33: %name-0.27-x86_64-lseek64.patch
Patch34: %name-0.27-x86_64-stat64.patch
%description
Small libc for building embedded applications.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%build
%make_build prefix=%diethome
%install
%make_install install \
prefix=%diethome \
BINDIR=%_bindir \
MAN1DIR=%_man1dir \
DESTDIR=%buildroot
%__install -m644 %SOURCE1 %buildroot%diethome/Makefile.rules
%files
%_bindir/*
%_man1dir/*
%diethome
%doc AUTHOR BUGS CAVEAT README THANKS
%changelog
…
Full changelog you can see here
Version: 0.28
Release: alt1
%define diethome %_prefix/lib/%name
Summary: C library optimized for size
License: GPL
Group: Development/C
Url: http://www.fefe.de/%name/
Source: ftp://ftp.kernel.org/pub/linux/libs/%name/%name-%version.tar.bz2
Source1: %name-Makefile.rules
Patch1: %name-0.23-alt-getline.patch
Patch2: %name-0.27-alt-ioverflow.patch
Patch3: %name-0.28-alt-config.patch
Patch4: %name-0.27-alt-define.patch
Patch5: %name-0.28-syscall.patch
# MDK
Patch30: %name-0.28-64bit-fixes.patch
Patch31: %name-0.27-biarch.patch
Patch32: %name-0.27-kernel2.6-types.patch
Patch33: %name-0.27-x86_64-lseek64.patch
Patch34: %name-0.27-x86_64-stat64.patch
%description
Small libc for building embedded applications.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%build
%make_build prefix=%diethome
%install
%make_install install \
prefix=%diethome \
BINDIR=%_bindir \
MAN1DIR=%_man1dir \
DESTDIR=%buildroot
%__install -m644 %SOURCE1 %buildroot%diethome/Makefile.rules
%files
%_bindir/*
%_man1dir/*
%diethome
%doc AUTHOR BUGS CAVEAT README THANKS
%changelog
…
Full changelog you can see here