INFO: libc5.4.46
Wojciech "Sas" Cieciwa
cieciwa w alpha.zarz.agh.edu.pl
Śro, 25 Lis 1998, 10:34:28 CET
Witam,
Mam ogromną prośbę, czy może ktoś sprawdzić jak się kompiluje ten spec
pod czystym gcc ???
Obawiam się, że egcs daje mi odrobine popalić i nie wiem, czy pakiet
będzie działał poprawnie...
Pozdrawiam.
Sas.
=============================================================================
UNIX System Administrator, POLAND
_/_/_/_/ _/_/_/_/ _/_/_/_/ Wojciech 'Sas' Cieciwa
_/ _/ _/ _/
_/_/_/_/ _/_/_/_/ _/_/_/_/ cieciwa w alpha.zarz.agh.edu.pl
_/ _/ _/ _/ sas w uci.agh.edu.pl
_/_/_/_/ _/ _/ _/_/_/_/
http://www2.zarz.agh.edu.pl/~cieciwa
-------------- następna część ---------
Name: libc
Summary: standard shared libraries for programs
Summary(pl): Biblioteka systemowa - Libc5
Version: 5.4.46
Release: 1
Copyright: distributable
Group: Libraries
Source: sunsite.unc.edu:/pub/Linux/GCC/libc-%{version}.tar.gz
BuildRoot: /tmp/%name-root
Provides: libc5
%description
Contains the standard libraries that are used by multiple programs on
the system. In order to save disk space and memory, as well as to
ease upgrades, common system code is kept in one place and shared between
programs. This package contains the most important sets of shared libraries,
the standard C library and the standard math library. Without these, a
Linux system will not function.
%description -l pl
%prep
%setup -c -q
cd include
ln -s /usr/src/linux/include/linux .
ln -s /usr/src/linux/include/asm .
cd ../libc
mv config.in config.in.tmpl
sed "s&REPLACEMEWITHTARGET&$RPM_BUILD_ROOT/&" < config.in.tmpl > config.in
%build
cd libc
./configure <<EOF
EOF
make depend
make
%install
if [ "X$RPM_BUILD_ROOT" != "X" ]; then
rm -rf $RPM_BUILD_ROOT
fi
install -d $RPM_BUILD_ROOT/etc
install -d $RPM_BUILD_ROOT/lib
install -d $RPM_BUILD_ROOT/usr/i486-linux-libc5/{bin,lib,include}
cd $RPM_BUILD_DIR/%name-%version
rm -f include/*.inc include/*.mkcfg include/*.wc
for l in libc libm ; do
install -s libc/elfshared/$l.so* $RPM_BUILD_ROOT/usr/i486-linux-libc5/lib
done
cd libc/elf
for l in libc libm ; do
JUMP_PARAMS=$l/jump.params
SHLIB_VERSION=`awk -F= ' { if ($1 == "Version") print $2 } ' $JUMP_PARAMS`
MAJOR_VERSION=`echo $SHLIB_VERSION | sed 's/\..*//'`
lib=$l.so
mlib=$lib.$MAJOR_VERSION
flib=$lib.$SHLIB_VERSION
cd $RPM_BUILD_ROOT/usr/i486-linux-libc5/lib
ln -sf $flib $mlib
ln -sf $mlib $lib
cd $RPM_BUILD_DIR/%name-%version/libc/elf
done
%clean
if [ "X$RPM_BUILD_ROOT" != "X" ]; then
rm -rf $RPM_BUILD_ROOT
fi
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(755, root, root, 644)
%doc libc/README libc/TODO libc/glibc libc/libc6 libc/release.libc
/usr/i486-linux-libc5/lib/libm.so*
/usr/i486-linux-libc5/lib/libc.so*
%changelog
* Wed Nov 25 1998 Wojciech "Sas" Cięciwa <cieciwa w alpha.zarz.agh.edu.pl>
- fixing problem with links,
- removed unused package,
- fixing install problem.
* Wed Nov 11 1998 Wojciech "Sas" Cięciwa <cieciwa w alpha.zarz.agh.edu.pl>
- build RPM.
Więcej informacji o liście dyskusyjnej pld-devel-pl