Removed examples from the spec file.

This commit is contained in:
Martin Baulig
1999-10-24 15:55:46 +00:00
parent 3c3dfcd77d
commit 7327906fde

View File

@@ -34,14 +34,6 @@ Requires: libgtop
%description devel
Libraries, include files, etc you can use to develop GNOME applications.
%package examples
Summary: Examples for LibGTop
Group: X11/libraries
Requires: libgtop
%description examples
Examples for LibGTop.
%changelog
@@ -59,12 +51,12 @@ Examples for LibGTop.
%build
# Needed for snapshot releases.
if [ ! -f configure ]; then
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-examples --with-libgtop-guile --with-libgtop-smp
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-guile --with-libgtop-smp
else
%ifarch alpha
CFLAGS="$RPM_OPT_FLAGS" ./configure --host=alpha-redhat-linux --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-examples --with-libgtop-guile --with-libgtop-smp
CFLAGS="$RPM_OPT_FLAGS" ./configure --host=alpha-redhat-linux --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-guile --with-libgtop-smp
%else
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-examples --with-libgtop-guile --with-libgtop-smp
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-guile --with-libgtop-smp
%endif
fi
@@ -121,7 +113,3 @@ rm -rf $RPM_BUILD_ROOT
%{prefix}/include/*
%{prefix}/lib/libgtop
%files examples
%defattr(-,root,root)
%{prefix}/libexec/libgtop