tools-make/spec-debug-alone-rules.template
Nicola Pero d6b99dc9a9 Remove %install string from comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@14724 72102866-910b-0410-8b05-ffd578937521
2002-10-11 15:33:54 +00:00

41 lines
680 B
Text

#
# Setup sources
#
%prep
%setup -n %{gs_name}-%{gs_version}
#
# Build commands
#
%build
if [ -z "$GNUSTEP_SYSTEM_ROOT" ]; then
. %{gs_root}/Makefiles/GNUstep.sh
fi
if [ "%{gs_configure}" = "YES" ]; then
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{gs_root}
fi
make debug=yes
#
# Install commands (generate file list too)
#
%install
if [ -z "$GNUSTEP_SYSTEM_ROOT" ]; then
. %{gs_root}/Makefiles/GNUstep.sh
fi
make debug=yes \
INSTALL_ROOT_DIR=$RPM_BUILD_ROOT \
GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{gs_install_dir} \
filelist=yes install
#
# Clean commands
#
%clean
rm -rf $RPM_BUILD_ROOT
#
# File list (generated by install)
#
%files -f file-list-debug