summary refs log tree commit diff
path: root/rpm/template
blob: bc7972bf76bdcd0253a1233690f33c13fe46c30c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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