about summary refs log tree commit diff
path: root/rpm/template
diff options
context:
space:
mode:
Diffstat (limited to 'rpm/template')
-rw-r--r--rpm/template29
1 files changed, 22 insertions, 7 deletions
diff --git a/rpm/template b/rpm/template
index 319f62c92f..bc7972bf76 100644
--- a/rpm/template
+++ b/rpm/template
@@ -1,26 +1,41 @@
 Name: glibc
-Description: GNU libc
+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@
-if test x@prefix@ = x/usr; then
-  cat >configparms <<EOF
-slibdir=/lib
-sysconfdir=/etc
+cat >configparms <<EOF
+CFLAGS=$RPM_OPT_FLAGS
+install_root=$RPM_BUILD_ROOT
 EOF
-fi
 make
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %install
 make install
 
 %files
-%doc FAQ NEWS NOTES README INSTALL
+%doc BUGS FAQ NEWS NOTES README INSTALL