Update.
[glibc.git] / rpm / template
blobbc7972bf76bdcd0253a1233690f33c13fe46c30c
1 Name: glibc
2 Summary: GNU libc
3 Group: Development/Libraries/Libc
4 Version: @VERSION@
5 Release: 1
6 Copyright: LGPL, GPL
7 Source: glibc-@VERSION@.tar.gz
8 BuildRoot: /tmp/libc
10 %description
11 The C language provides no built-in facilities for performing such
12 common operations as input/output, memory management, string
13 manipulation, and the like.  Instead, these facilities are defined in
14 a standard library, which you compile and link with your programs. The
15 GNU C library (this package) defines all of the library functions that
16 are specified by the ISO C standard, as well as additional features
17 specific to POSIX and other derivatives of the Unix operating system,
18 and extensions specific to the GNU system.
20 %prep
21 %setup
23 rm -rf $RPM_BUILD_ROOT
24 mkdir $RPM_BUILD_ROOT
26 %build
27 configure --prefix=@prefix@
28 cat >configparms <<EOF
29 CFLAGS=$RPM_OPT_FLAGS
30 install_root=$RPM_BUILD_ROOT
31 EOF
32 make
34 %clean
35 rm -rf $RPM_BUILD_ROOT
37 %install
38 make install
40 %files
41 %doc BUGS FAQ NEWS NOTES README INSTALL