summaryrefslogtreecommitdiff
path: root/rpm/template
blob: 319f62c92f87de3d2fcea09e5b3228b54c9d963d (plain)
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
Name: glibc
Description: GNU libc
Group: Development/Libraries/Libc
Version: @VERSION@
Release: 1
Copyright: LGPL, GPL
Source: glibc-@VERSION@.tar.gz

%prep
%setup

%build
configure --prefix=@prefix@
if test x@prefix@ = x/usr; then
  cat >configparms <<EOF
slibdir=/lib
sysconfdir=/etc
EOF
fi
make

%install
make install

%files
%doc FAQ NEWS NOTES README INSTALL