2001-01-17 14:41:44 +00:00
|
|
|
#
|
2007-02-14 21:48:55 +00:00
|
|
|
# This file is to be manually edited. The current version is very
|
|
|
|
# old. You probably want to install into the Linux FHS, which
|
|
|
|
# this doesn't do.
|
2001-01-17 14:41:44 +00:00
|
|
|
#
|
2000-02-19 00:40:47 +00:00
|
|
|
# This package is not relocatable
|
2001-01-17 14:41:44 +00:00
|
|
|
#
|
|
|
|
%define gs_version @GNUSTEP_MAKE_VERSION@
|
|
|
|
%define gs_name gnustep-make
|
|
|
|
%define gs_prefix /usr/GNUstep
|
2001-04-13 19:49:16 +00:00
|
|
|
%define gs_libcombo gnu-gnu-gnu
|
2001-01-17 14:41:44 +00:00
|
|
|
#
|
|
|
|
Name: %{gs_name}
|
|
|
|
Version: %{gs_version}
|
2001-02-14 16:02:17 +00:00
|
|
|
Release: 1
|
2001-01-17 14:41:44 +00:00
|
|
|
Source: ftp://ftp.gnustep.org/pub/gnustep/core/%{gs_name}-%{gs_version}.tar.gz
|
2007-10-30 14:18:41 +00:00
|
|
|
License: GPL
|
2000-02-19 00:40:47 +00:00
|
|
|
Group: System Environment/Base
|
|
|
|
Summary: GNUstep Makefile package
|
2003-09-16 03:39:50 +00:00
|
|
|
Packager: GNUstep Development <bug-gnustep@gnu.org>
|
2001-01-08 21:45:31 +00:00
|
|
|
Vendor: The GNUstep Project
|
2000-02-19 00:40:47 +00:00
|
|
|
URL: http://www.gnustep.org/
|
2001-01-17 14:41:44 +00:00
|
|
|
BuildRoot: /var/tmp/build-%{gs_name}
|
|
|
|
#
|
2000-02-19 00:40:47 +00:00
|
|
|
|
|
|
|
%description
|
2007-02-14 21:48:55 +00:00
|
|
|
This package contains the basic scripts, makefiles and directory
|
|
|
|
layout needed to run and compile any GNUstep software. This package
|
|
|
|
was configured for library combo %{gs_libcombo} using the standard
|
|
|
|
GNUstep filesystem layout based on %{gs_prefix}.
|
2000-02-19 00:40:47 +00:00
|
|
|
|
|
|
|
%prep
|
2001-01-17 14:41:44 +00:00
|
|
|
%setup -n %{gs_name}-%{gs_version}
|
2000-02-19 00:40:47 +00:00
|
|
|
|
|
|
|
%build
|
2011-03-16 10:25:42 +00:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{gs_prefix} --with-library-combo=%{gs_libcombo} --with-layout=gnustep
|
2000-02-19 00:40:47 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2006-09-28 00:31:59 +00:00
|
|
|
make install DESTDIR=${RPM_BUILD_ROOT}
|
2000-02-19 00:40:47 +00:00
|
|
|
|
|
|
|
%ifos Linux
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}/etc/profile.d
|
2001-01-17 14:41:44 +00:00
|
|
|
|
2000-02-19 00:40:47 +00:00
|
|
|
# Create profile files
|
|
|
|
|
2001-01-17 14:41:44 +00:00
|
|
|
echo "#!/bin/sh" > mygnustep.sh
|
2005-10-12 20:45:14 +00:00
|
|
|
echo ". %{gs_prefix}/System/Library/Makefiles/GNUstep.sh" >> mygnustep.sh
|
2001-01-17 14:41:44 +00:00
|
|
|
|
2001-07-26 18:34:42 +00:00
|
|
|
#echo "#!/bin/csh" > mygnustep.csh
|
2005-10-12 20:45:14 +00:00
|
|
|
#echo "source %{gs_prefix}/System/Library/Makefiles/GNUstep.csh" >> mygnustep.csh
|
2000-02-19 00:40:47 +00:00
|
|
|
|
|
|
|
chmod 755 mygnustep.*
|
|
|
|
mv mygnustep.sh $RPM_BUILD_ROOT/etc/profile.d/GNUstep.sh
|
2001-07-26 18:34:42 +00:00
|
|
|
#mv mygnustep.csh $RPM_BUILD_ROOT/etc/profile.d/GNUstep.csh
|
2001-01-17 14:41:44 +00:00
|
|
|
%endif # Linux
|
2000-02-19 00:40:47 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2001-01-17 14:41:44 +00:00
|
|
|
%files
|
|
|
|
%defattr (-, root, root)
|
|
|
|
|
|
|
|
# Well - this is the simplest trick you could think of. We include in
|
|
|
|
# the package everything which was installed inside /usr/GNUstep/
|
|
|
|
%{gs_prefix}
|
|
|
|
|
2011-03-16 10:25:42 +00:00
|
|
|
# Also include the GNUstep config file
|
|
|
|
/etc/GNUstep/GNUstep.conf
|
|
|
|
|
2001-01-17 14:41:44 +00:00
|
|
|
# Add the profiles for linux as configuration files <FIXME gdomap etc>
|
|
|
|
%ifos Linux
|
|
|
|
%config /etc/profile.d/GNUstep.sh
|
2001-07-26 18:34:42 +00:00
|
|
|
#%config /etc/profile.d/GNUstep.csh
|
2001-01-17 14:41:44 +00:00
|
|
|
%endif # Linux
|
2000-02-19 00:40:47 +00:00
|
|
|
|
|
|
|
%changelog
|
2001-07-26 18:34:42 +00:00
|
|
|
* Thu Jul 19 2001 Adam Fedor <fedor@gnu.org>
|
|
|
|
- Remove csh script
|
|
|
|
|
2001-04-13 19:49:16 +00:00
|
|
|
* Thu Apr 12 2001 Adam Fedor <fedor@gnu.org>
|
|
|
|
- Changed default combo to gnu-gnu-gnu
|
|
|
|
|
2001-02-19 15:31:50 +00:00
|
|
|
* Mon Feb 19 2001 Nicola Pero <nicola@brainstorm.co.uk>
|
|
|
|
- Updated for new special_prefix option
|
|
|
|
|
2001-01-17 14:41:44 +00:00
|
|
|
* Wed Jan 17 2001 Nicola Pero <nicola@brainstorm.co.uk>
|
|
|
|
- Updated; heavily simplified and mostly rewritten
|
|
|
|
|
2000-02-19 00:40:47 +00:00
|
|
|
* Sat Sep 18 1999 Christopher Seawood <cls@seawood.org>
|
|
|
|
- Version 0.6.0
|
|
|
|
- Added nodupsh patch
|
|
|
|
|
|
|
|
* Sat Aug 07 1999 Christopher Seawood <cls@seawood.org>
|
|
|
|
- Updated to cvs dawn_6 branch
|
|
|
|
|
|
|
|
* Fri Jun 25 1999 Christopher Seawood <cls@seawood.org>
|
|
|
|
- Split into separate rpm from gnustep-core
|
|
|
|
- Build from cvs snapshot
|
|
|
|
- Added services patch
|
|
|
|
|