glibc/rpm/template
Roland McGrath 66da789f8d * rpm/template (%build): Use @prefix@ instead of always /usr.
Set up configparms only if @prefix@ is in fact /usr.
	* rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
1996-07-02 21:57:31 +00:00

27 lines
355 B
Plaintext

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@ = /usr; then
cat >configparms <<EOF
slibdir=/lib
sysconfdir=/etc
EOF
fi
make
%install
make install
%files
%doc FAQ NEWS NOTES README