Summary: OGo GNUstep make Name: ogo-gnustep_make Version: %{ogo_gnustep_make_version} Release: %{ogo_gnustep_make_buildcount}%{dist_suffix} Vendor: Packager: Frank Reppin License: LGPL URL: http://www.gnustep.org Group: Development/Libraries AutoReqProv: off Source: %{ogo_gnustep_make_source} Prefix: %{ogo_gnustep_make_prefix} #Patch: #Requires: #BuildPreReq: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description The makefile package is a simple, powerful and extensible way to write makefiles for a GNUstep-based project. It allows the user to write a project without having to deal with the complex issues associated with configuration, building, installation, and packaging. It also allows the user to easily create cross-compiled binaries. %prep rm -fr ${RPM_BUILD_ROOT} %setup -q -n gnustep-make-%{version} # ****************************** build ******************************** %build OGO_INSTALL_ROOT=${RPM_BUILD_ROOT}%{prefix}/OGo-GNUstep export LIB_DIR=-L/usr/local/lib export CPPFLAGS=-Wno-import export CFLAGS=-O0 ./configure --prefix=${OGO_INSTALL_ROOT} \ --with-library-combo=gnu-fd-nil \ --with-network-root=${OGO_INSTALL_ROOT} \ --with-local-root=${OGO_INSTALL_ROOT} \ --without-system-root make %{ogo_gnustep_make_makeflags} # ****************************** install ****************************** %install make %{ogo_gnustep_make_makeflags} install #fix paths OLD=${RPM_BUILD_ROOT}%{prefix} NEW=%{prefix} %{__perl} -i.build -pe"s~${OLD}~${NEW}~g" ${RPM_BUILD_ROOT}%{prefix}/OGo-GNUstep/Library/Makefiles/GNUstep.csh %{__perl} -i.build -pe"s~${OLD}~${NEW}~g" ${RPM_BUILD_ROOT}%{prefix}/OGo-GNUstep/Library/Makefiles/GNUstep.sh %{__perl} -i.build -pe"s~${OLD}~${NEW}~g" ${RPM_BUILD_ROOT}%{prefix}/OGo-GNUstep/.GNUsteprc # ****************************** post ******************************** %post if [ $1 = 1 ]; then cd %{prefix}/OGo-GNUstep ln -s Library/Makefiles fi if [ $1 = 2 ]; then #can I vanish? guess not - but who knows? cd %{prefix}/OGo-GNUstep if [ ! -e "Makefiles" ]; then ln -s Library/Makefiles fi fi # ****************************** postun ******************************* %postun if [ $1 = 0 ]; then cd %{prefix}/OGo-GNUstep rm -f Makefiles fi # ****************************** clean ******************************** %clean rm -fr ${RPM_BUILD_ROOT} # ****************************** files ******************************** %files %defattr(-,root,root,-) %{prefix}/OGo-GNUstep/.GNUsteprc %{prefix}/OGo-GNUstep/.GNUsteprc.build %{prefix}/OGo-GNUstep/Library/Libraries %{prefix}/OGo-GNUstep/Library/Makefiles/GNUstep-reset.sh %{prefix}/OGo-GNUstep/Library/Makefiles/GNUstep.csh %{prefix}/OGo-GNUstep/Library/Makefiles/GNUstep.csh.build %{prefix}/OGo-GNUstep/Library/Makefiles/GNUstep.sh %{prefix}/OGo-GNUstep/Library/Makefiles/GNUstep.sh.build %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/Documentation/autogsdoc.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/Documentation/gsdoc.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/Documentation/install_files.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/Documentation/javadoc.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/Documentation/latex.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/Documentation/texi.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/Shared/bundle.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/Shared/headers.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/Shared/java.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/Shared/stamp-string.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/Shared/strings.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/application.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/bundle.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/clibrary.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/ctool.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/documentation.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/framework.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/gswapp.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/gswbundle.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/java-tool.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/java.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/library.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/objc.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/palette.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/resource-set.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/rules.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/service.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/subproject.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/test-application.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/test-library.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/test-tool.make %{prefix}/OGo-GNUstep/Library/Makefiles/Instance/tool.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/aggregate.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/application.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/bundle.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/clibrary.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/ctool.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/documentation.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/framework.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/gswapp.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/gswbundle.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/java-tool.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/java.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/library.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/objc.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/palette.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/resource-set.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/rpm.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/rules.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/service.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/source-distribution.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/subproject.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/test-application.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/test-library.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/test-tool.make %{prefix}/OGo-GNUstep/Library/Makefiles/Master/tool.make %{prefix}/OGo-GNUstep/Library/Makefiles/aggregate.make %{prefix}/OGo-GNUstep/Library/Makefiles/application.make %{prefix}/OGo-GNUstep/Library/Makefiles/bundle.make %{prefix}/OGo-GNUstep/Library/Makefiles/clean_cpu.sh %{prefix}/OGo-GNUstep/Library/Makefiles/clean_os.sh %{prefix}/OGo-GNUstep/Library/Makefiles/clean_vendor.sh %{prefix}/OGo-GNUstep/Library/Makefiles/clibrary.make %{prefix}/OGo-GNUstep/Library/Makefiles/common.make %{prefix}/OGo-GNUstep/Library/Makefiles/config.guess %{prefix}/OGo-GNUstep/Library/Makefiles/config.make %{prefix}/OGo-GNUstep/Library/Makefiles/config.sub %{prefix}/OGo-GNUstep/Library/Makefiles/cpu.sh %{prefix}/OGo-GNUstep/Library/Makefiles/ctool.make %{prefix}/OGo-GNUstep/Library/Makefiles/documentation.make %{prefix}/OGo-GNUstep/Library/Makefiles/executable.template %{prefix}/OGo-GNUstep/Library/Makefiles/fixpath.sh %{prefix}/OGo-GNUstep/Library/Makefiles/framework.make %{prefix}/OGo-GNUstep/Library/Makefiles/gswapp.make %{prefix}/OGo-GNUstep/Library/Makefiles/gswbundle.make %{prefix}/OGo-GNUstep/Library/Makefiles/install-sh %{prefix}/OGo-GNUstep/Library/Makefiles/java-executable.template %{prefix}/OGo-GNUstep/Library/Makefiles/java-tool.make %{prefix}/OGo-GNUstep/Library/Makefiles/java.make %{prefix}/OGo-GNUstep/Library/Makefiles/jni.make %{prefix}/OGo-GNUstep/Library/Makefiles/ld_lib_path.csh %{prefix}/OGo-GNUstep/Library/Makefiles/ld_lib_path.sh %{prefix}/OGo-GNUstep/Library/Makefiles/library-combo.make %{prefix}/OGo-GNUstep/Library/Makefiles/library.make %{prefix}/OGo-GNUstep/Library/Makefiles/messages.make %{prefix}/OGo-GNUstep/Library/Makefiles/mkinstalldirs %{prefix}/OGo-GNUstep/Library/Makefiles/names.make %{prefix}/OGo-GNUstep/Library/Makefiles/native-library.make %{prefix}/OGo-GNUstep/Library/Makefiles/objc.make %{prefix}/OGo-GNUstep/Library/Makefiles/os.sh %{prefix}/OGo-GNUstep/Library/Makefiles/palette.make %{prefix}/OGo-GNUstep/Library/Makefiles/relative_path.sh %{prefix}/OGo-GNUstep/Library/Makefiles/resource-set.make %{prefix}/OGo-GNUstep/Library/Makefiles/rules.make %{prefix}/OGo-GNUstep/Library/Makefiles/service.make %{prefix}/OGo-GNUstep/Library/Makefiles/spec-debug-alone-rules.template %{prefix}/OGo-GNUstep/Library/Makefiles/spec-debug-rules.template %{prefix}/OGo-GNUstep/Library/Makefiles/spec-rules.template %{prefix}/OGo-GNUstep/Library/Makefiles/strip_makefiles.sh %{prefix}/OGo-GNUstep/Library/Makefiles/subproject.make %{prefix}/OGo-GNUstep/Library/Makefiles/tar-exclude-list %{prefix}/OGo-GNUstep/Library/Makefiles/target.make %{prefix}/OGo-GNUstep/Library/Makefiles/test-application.make %{prefix}/OGo-GNUstep/Library/Makefiles/test-library.make %{prefix}/OGo-GNUstep/Library/Makefiles/test-tool.make %{prefix}/OGo-GNUstep/Library/Makefiles/tool.make %{prefix}/OGo-GNUstep/Library/Makefiles/transform_paths.sh %{prefix}/OGo-GNUstep/Library/Makefiles/user_home %{prefix}/OGo-GNUstep/Library/Makefiles/vendor.sh %{prefix}/OGo-GNUstep/Library/Makefiles/which_lib %{prefix}/OGo-GNUstep/Tools/debugapp %{prefix}/OGo-GNUstep/Tools/openapp %{prefix}/OGo-GNUstep/Tools/opentool %{prefix}/OGo-GNUstep/share/config.site # ********************************* changelog ************************* %changelog * Thu Apr 21 2005 Frank Reppin - don't use '--with-user-root' in configure * Wed Sep 09 2004 Frank Reppin - initial spec for OGo purposes. - didnt checked if there's already an existing spec, thus I built it from scratch