2 # This file is to be manually edited
4 # This package is not relocatable
6 %define gs_version @GNUSTEP_MAKE_VERSION@
7 %define gs_name gnustep-make
8 %define gs_prefix /usr/GNUstep
9 %define gs_libcombo gnu-gnu-gnu
12 Version: %{gs_version}
14 Source: ftp://ftp.gnustep.org/pub/gnustep/core/%{gs_name}-%{gs_version}.tar.gz
16 Group: System Environment/Base
17 Summary: GNUstep Makefile package
18 Packager: GNUstep Development <bug-gnustep@gnu.org>
19 Vendor: The GNUstep Project
20 URL: http://www.gnustep.org/
21 BuildRoot: /var/tmp/build-%{gs_name}
25 This package contains the basic scripts, makefiles and directory layout
26 needed to run and compile any GNUstep software. This package was configured
27 for library combo %{gs_libcombo}.
30 %setup -n %{gs_name}-%{gs_version}
33 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{gs_prefix} --with-library-combo=%{gs_libcombo}
37 make install special_prefix=${RPM_BUILD_ROOT}
40 mkdir -p ${RPM_BUILD_ROOT}/etc/profile.d
42 # Create profile files
44 echo "#!/bin/sh" > mygnustep.sh
45 echo ". %{gs_prefix}/System/@MAKEFILES_SUFFIX@/GNUstep.sh" >> mygnustep.sh
47 #echo "#!/bin/csh" > mygnustep.csh
48 #echo "source %{gs_prefix}/System/@MAKEFILES_SUFFIX@/GNUstep.csh" >> mygnustep.csh
51 mv mygnustep.sh $RPM_BUILD_ROOT/etc/profile.d/GNUstep.sh
52 #mv mygnustep.csh $RPM_BUILD_ROOT/etc/profile.d/GNUstep.csh
56 rm -rf $RPM_BUILD_ROOT
59 %defattr (-, root, root)
61 # Well - this is the simplest trick you could think of. We include in
62 # the package everything which was installed inside /usr/GNUstep/
65 # Add the profiles for linux as configuration files <FIXME gdomap etc>
67 %config /etc/profile.d/GNUstep.sh
68 #%config /etc/profile.d/GNUstep.csh
72 # FIXME - do we want to add dirs to the library path or not
78 # if [ -z "$GNUSTEP_SYSTEM_ROOT" ]; then
79 # . %{gs_root}/@MAKEFILES_SUFFIX@/GNUstep.sh
81 # grep -q '%{gs_prefix}/System/Library/Libraries/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/%{gs_libcombo}' /etc/ld.so.conf || echo "%{gs_prefix}/System/Library/Libraries/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/%{gs_libcombo}" >> /etc/ld.so.conf
88 # if [ -z "$GNUSTEP_SYSTEM_ROOT" ]; then
89 # . %{gs_root}/@MAKEFILES_SUFFIX@/GNUstep.sh
91 # mv -f /etc/ld.so.conf /etc/ld.so.conf.orig
92 # grep -v "^%{gs_prefix}/System/Library/Libraries/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/%{gs_libcombo}" /etc/ld.so.conf.orig > /etc/ld.so.conf
93 # rm -f /etc/ld.so.conf.orig
99 * Thu Jul 19 2001 Adam Fedor <fedor@gnu.org>
102 * Thu Apr 12 2001 Adam Fedor <fedor@gnu.org>
103 - Changed default combo to gnu-gnu-gnu
105 * Mon Feb 19 2001 Nicola Pero <nicola@brainstorm.co.uk>
106 - Updated for new special_prefix option
108 * Wed Jan 17 2001 Nicola Pero <nicola@brainstorm.co.uk>
109 - Updated; heavily simplified and mostly rewritten
111 * Sat Sep 18 1999 Christopher Seawood <cls@seawood.org>
113 - Added nodupsh patch
115 * Sat Aug 07 1999 Christopher Seawood <cls@seawood.org>
116 - Updated to cvs dawn_6 branch
118 * Fri Jun 25 1999 Christopher Seawood <cls@seawood.org>
119 - Split into separate rpm from gnustep-core
120 - Build from cvs snapshot
121 - Added services patch