URL: http://www.softwarestudio.org/libical
Group: Development/Libraries
AutoReqProv: off
-Source: sope-mod_ngobjweb-trunk-latest.tar.gz
+Source: %{mod_ngobjweb_source}
Prefix: /usr/lib
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
# ****************************** build ********************************
%build
-# on fedora core
+#on redhat/fedora core
export PATH=$PATH:/usr/sbin
-make APXS_INCLUDE_DIRS="-I/usr/include/httpd -I/usr/include/apr-0"
-# for suse
-#make APXS="/usr/sbin/apxs2" APXS_INCLUDE_DIRS="-I/usr/include/apache2"
+#fedora core
+make %{mod_ngobjweb_makeflags} APXS_INCLUDE_DIRS="-I/usr/include/httpd -I/usr/include/apr-0"
+#suse91
+#make %{mod_ngobjweb_makeflags} APXS="/usr/sbin/apxs2" APXS_INCLUDE_DIRS="-I/usr/include/apache2"
# ****************************** install ******************************
%install
URL: http://www.opengroupware.org
Group: Development/Libraries
AutoReqProv: off
-Source: sope-trunk-latest.tar.gz
+Source: %{sope_source}
Prefix: /usr/local
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildPreReq: ogo-gnustep_make
# ****************************** build ********************************
%build
source %{prefix}/OGo-GNUstep/Library/Makefiles/GNUstep.sh
-make debug=yes
+make %{sope_makeflags}
# ****************************** install ******************************
%install
source %{prefix}/OGo-GNUstep/Library/Makefiles/GNUstep.sh
mkdir -p ${RPM_BUILD_ROOT}%{prefix}/lib/lib
-make debug=yes INSTALL_ROOT_DIR=${RPM_BUILD_ROOT} \
- GNUSTEP_INSTALLATION_DIR=${RPM_BUILD_ROOT}%{prefix} \
- FHS_INSTALL_ROOT=${RPM_BUILD_ROOT}%{prefix} \
- install
+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
rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/rss2plist2