glibc/rpm/template

42 lines
983 B
Plaintext

Name: glibc
Summary: GNU libc
Group: Development/Libraries/Libc
Version: @VERSION@
Release: 1
Copyright: LGPL, GPL
Source: glibc-@VERSION@.tar.gz
BuildRoot: /tmp/libc
%description
The C language provides no built-in facilities for performing such
common operations as input/output, memory management, string
manipulation, and the like. Instead, these facilities are defined in
a standard library, which you compile and link with your programs. The
GNU C library (this package) defines all of the library functions that
are specified by the ISO C standard, as well as additional features
specific to POSIX and other derivatives of the Unix operating system,
and extensions specific to the GNU system.
%prep
%setup
rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT
%build
configure --prefix=@prefix@
cat >configparms <<EOF
CFLAGS=$RPM_OPT_FLAGS
install_root=$RPM_BUILD_ROOT
EOF
make
%clean
rm -rf $RPM_BUILD_ROOT
%install
make install
%files
%doc BUGS FAQ NEWS NOTES README INSTALL