# ****************************** build ********************************
%build
-source %{prefix}/OGo-GNUstep/Library/Makefiles/GNUstep.sh
+./configure --prefix=${RPM_BUILD_ROOT}%{prefix} \
+ --enable-debug \
+ --gsmake=%{prefix}/OGo-GNUstep
+
make %{sope_makeflags}
# ****************************** install ******************************
%install
-source %{prefix}/OGo-GNUstep/Library/Makefiles/GNUstep.sh
-mkdir -p ${RPM_BUILD_ROOT}%{prefix}/lib/lib
+mkdir -p ${RPM_BUILD_ROOT}%{prefix}/lib
+
make %{sope_makeflags} INSTALL_ROOT_DIR=${RPM_BUILD_ROOT} \
GNUSTEP_INSTALLATION_DIR=${RPM_BUILD_ROOT}%{prefix} \
- FHS_INSTALL_ROOT=${RPM_BUILD_ROOT}%{prefix} \
install
rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/rss2plist1