SPECS: gnustep-make-libFoundation.spec (NEW) - derived from gnome-...

czarny czarny at pld-linux.org
Wed Sep 7 20:31:35 CEST 2005


Author: czarny                       Date: Wed Sep  7 18:31:35 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- derived from gnome-make.spec
- init spec for compatibility with libFoundation

---- Files affected:
SPECS:
   gnustep-make-libFoundation.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/gnustep-make-libFoundation.spec
diff -u /dev/null SPECS/gnustep-make-libFoundation.spec:1.1
--- /dev/null	Wed Sep  7 20:31:35 2005
+++ SPECS/gnustep-make-libFoundation.spec	Wed Sep  7 20:31:30 2005
@@ -0,0 +1,416 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	docs	# don't build documentation (for bootstrap)
+#
+# TODO:
+# - check spelling, typo & rel 1
+# - find a nice way to include the /etc/profile.d scripts
+# - think bout the %_prefix
+
+%define		_realname	gnustep-make
+
+Summary:	GNUstep Makefile package libFoundation version
+Summary(pl):	Pakiet GNUstep Makefile wersja libFoundation
+Name:		gnustep-make-libFoundation
+Version:	1.11.0
+Release:	0.1
+License:	GPL
+Vendor:		The GNUstep Project
+Group:		Applications/System
+Source0:	ftp://ftp.gnustep.org/pub/gnustep/core/%{_realname}-%{version}.tar.gz
+# Source0-md5:	91f7e64e0531d56571ae93f6fdf14f58
+URL:		http://www.gnustep.org/
+BuildRequires:	autoconf
+BuildRequires:	automake
+%{?with_docs:BuildRequires: gnustep-make-devel}
+BuildRequires:	tetex
+BuildRequires:	tetex-dvips
+BuildRequires:	tetex-format-latex
+BuildRequires:	tetex-format-plain
+BuildRequires:	texinfo-texi2dvi
+Requires:	gnustep-dirs
+Conflicts:	gnustep-core
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_prefix		/usr/%{_lib}/GNUstep-libFoundation
+%define		gsos		linux-gnu
+%ifarch %{ix86}
+%define		gscpu		ix86
+%else
+# also s/alpha.*/alpha/, but we use only "alpha" arch for now
+%define		gscpu		%(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/')
+%endif
+
+%description
+This package contains the basic tools needed to run GNUstep
+applications.
+
+This version of gnustep-make is compiled for support with libFoundation.
+
+%description -l pl
+Ten pakiet zawiera podstawowe narzędzia potrzebne do uruchamiania
+aplikacji GNUstep.
+
+Ta wersja gnustep-make'a jest skompilowana dla wsparcia libFoundation.
+
+%package devel
+Summary:	Files needed to develop applications with gnustep-make libFoundation version
+Summary(pl):	Pliki potrzebne do tworzenia aplikacji przy użyciu gnustep-make wersja libFoundation
+Group:		Development/Tools
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+The makefile package is a simplistic, powerful and extensible way to
+write makefiles for a GNUstep-based project. It allows the user to
+write a GNUstep-based project without having to deal with the complex
+issues associated with the configuration and installation of the core
+GNUstep libraries. It also allows the user to easily create
+cross-compiled binaries.
+
+This version of gnustep-make is compiled for support with libFoundation.
+
+%description devel -l pl
+Pakiet makefile jest prostą, wydajną i rozszerzalną metodą pisania
+makefile'i do projektów opartych o GNUstep. Pozwala użytkownikowi na
+tworzenie projektów z pominięciem skomplikowanych szczegółów
+konfiguracji i instalacji podstawowych bibliotek GNUstep. Pozwala
+także łatwo tworzyć kompilowane skrośnie binaria.
+
+Ta wersja gnustep-make'a jest skompilowana dla wsparcia libFoundation.
+
+%prep
+%setup -q -n %{_realname}-%{version}
+
+%build
+cp -f /usr/share/automake/config.* .
+%{__autoconf}
+%configure \
+	--disable-flattened \
+	--with-tar=tar \
+	--with-library-combo=gnu-fd-nil
+
+%{__make}
+
+%if %{with docs}
+%{__make} -C Documentation
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	special_prefix=$RPM_BUILD_ROOT
+
+#libFoundation + friends won't build without that
+ln -s Library/Makefiles $RPM_BUILD_ROOT%{_prefix}/System/Makefiles
+
+%if %{with docs}
+%{__make} -C Documentation install \
+	GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
+%endif
+
+#install -d $RPM_BUILD_ROOT/etc/profile.d
+## Create profile files
+#cat > $RPM_BUILD_ROOT/etc/profile.d/GNUstep.sh << EOF
+##!/bin/sh
+#. %{_prefix}/System/Library/Makefiles/GNUstep.sh
+#
+#if [ ! -d \$GNUSTEP_USER_ROOT ]; then
+#	mkdir \$GNUSTEP_USER_ROOT
+#	chmod +rwx \$GNUSTEP_USER_ROOT
+#	. %{_prefix}/System/Library/Makefiles/GNUstep.sh
+#fi
+#EOF
+
+#cat > $RPM_BUILD_ROOT/etc/profile.d/GNUstep.csh << EOF
+##!/bin/csh
+#source %{_prefix}/System/Library/Makefiles/GNUstep.csh
+#
+#test -d \$GNUSTEP_USER_ROOT
+#if (\$status != 0) then
+#	mkdir \$GNUSTEP_USER_ROOT
+#	chmod +rwx \$GNUSTEP_USER_ROOT
+#	source %{_prefix}/System/Library/Makefiles/GNUstep.csh
+#endif
+#EOF
+
+# not (yet?) supported by rpm-compress-doc
+find $RPM_BUILD_ROOT%{_prefix}/System/Library/Documentation \
+	-type f ! -name '*.html' ! -name '*.css' ! -name '*.gz' | xargs gzip -9nf
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%pre
+if [ -d %{_prefix}/System/Makefiles -a ! -L %{_prefix}/System/Makefiles ]; then
+	[ -d %{_prefix}/System/Library ] || install -d %{_prefix}/System/Library
+	mv -f %{_prefix}/System/Makefiles %{_prefix}/System/Library
+	ln -sf Library/Makefiles %{_prefix}/System/Makefiles
+	echo 'Reinstall gnustep-make and gnustep-make-devel if some files are missing.' >&2
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog
+#%attr(755,root,root) %config(noreplace) %verify(not size mtime md5) /etc/profile.d/GNUstep.sh
+#%attr(755,root,root) %config(noreplace) %verify(not size mtime md5) /etc/profile.d/GNUstep.csh
+
+# GNUstep top-level
+%dir %{_prefix}
+%{_prefix}/Local
+%dir %{_prefix}/System
+%{_prefix}/System/Makefiles
+
+# System domain
+%{_prefix}/System/Applications
+%dir %{_prefix}/System/Library
+%{_prefix}/System/share
+%attr(755,root,root) %{_prefix}/System/Tools
+
+# System/Library folder
+%{_prefix}/System/Library/ApplicationSupport
+%{_prefix}/System/Library/Bundles
+%{_prefix}/System/Library/ColorPickers
+%{_prefix}/System/Library/Colors
+%{_prefix}/System/Library/DocTemplates
+%if %{with docs}
+%docdir %{_prefix}/System/Library/Documentation
+%dir %{_prefix}/System/Library/Documentation
+%endif
+%{_prefix}/System/Library/Fonts
+%{_prefix}/System/Library/Frameworks
+%{_prefix}/System/Library/Headers
+%{_prefix}/System/Library/Images
+%{_prefix}/System/Library/KeyBindings
+%{_prefix}/System/Library/Libraries
+%dir %{_prefix}/System/Library/Makefiles
+%{_prefix}/System/Library/PostScript
+%{_prefix}/System/Library/Services
+%{_prefix}/System/Library/Sounds
+
+%if %{with docs}
+%dir %{_prefix}/System/Library/Documentation/Developer
+%dir %{_prefix}/System/Library/Documentation/Developer/Make
+%{_prefix}/System/Library/Documentation/Developer/Make/ReleaseNotes
+%dir %{_prefix}/System/Library/Documentation/User
+%{_prefix}/System/Library/Documentation/User/GNUstep
+%dir %{_prefix}/System/Library/Documentation/info
+%{_prefix}/System/Library/Documentation/info/*.info*
+%dir %{_prefix}/System/Library/Documentation/man
+%dir %{_prefix}/System/Library/Documentation/man/man1
+%{_prefix}/System/Library/Documentation/man/man1/openapp.1*
+%dir %{_prefix}/System/Library/Documentation/man/man7
+%{_prefix}/System/Library/Documentation/man/man7/GNUstep.7*
+%endif
+
+%attr(755,root,root) %{_prefix}/System/Library/Makefiles/config.*
+%{_prefix}/System/Library/Makefiles/tar-exclude-list
+%attr(755,root,root) %{_prefix}/System/Library/Makefiles/*.sh
+%attr(755,root,root) %{_prefix}/System/Library/Makefiles/*.csh
+%dir %{_prefix}/System/Library/Makefiles/%{gscpu}
+%dir %{_prefix}/System/Library/Makefiles/%{gscpu}/%{gsos}
+%attr(755,root,root) %{_prefix}/System/Library/Makefiles/%{gscpu}/%{gsos}/user_home
+%attr(755,root,root) %{_prefix}/System/Library/Makefiles/%{gscpu}/%{gsos}/which_lib
+
+%files devel
+%defattr(644,root,root,755)
+%if %{with docs}
+%docdir %{_prefix}/System/Library/Documentation
+%{_prefix}/System/Library/Documentation/Developer/Make/Manual
+%endif
+
+%{_prefix}/System/Library/Makefiles/*.make
+%{_prefix}/System/Library/Makefiles/*.template
+%{_prefix}/System/Library/Makefiles/Instance
+%{_prefix}/System/Library/Makefiles/Master
+%{_prefix}/System/Library/Makefiles/%{gscpu}/%{gsos}/*.make
+%attr(755,root,root) %{_prefix}/System/Library/Makefiles/install-sh
+%attr(755,root,root) %{_prefix}/System/Library/Makefiles/mkinstalldirs
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/09/07 18:31:30  czarny
+- derived from gnome-make.spec
+- init spec for compatibility with libFoundation
+
+Revision 1.53  2005/09/07 17:38:19  czarny
+- added symlink needed by libFoundation & friends
+- NFY gnu-fd-nil support
+
+Revision 1.52  2005/07/26 22:05:15  qboosh
+- updated to 1.11.0
+
+Revision 1.51  2005/05/21 17:20:30  speedy
+- release 6
+- fixed profile.d/GNUstep.{sh,csh} (build before STBR?)
+
+Revision 1.50  2005/01/12 00:06:34  roman
+- corrected paths in /etc/profile.d/GNUstep.{sh,csh}
+- release 5
+- STBR
+
+Revision 1.49  2005/01/12 00:05:47  roman
+- corrected paths in /etc/profile.d/GNUstep.sh
+
+Revision 1.48  2004/11/12 19:14:21  havner
+- R: gnustep-dirs
+- rel 4
+
+Revision 1.47  2004/10/22 07:11:12  ankry
+- proper variable handling, rel. 3
+
+Revision 1.46  2004/10/17 22:11:46  ankry
+- spaces -> tabs
+
+Revision 1.45  2004/10/17 12:17:40  speedy
+- make directories on login ($GNUSTEP_USER_ROOT)
+
+Revision 1.44  2004/10/17 11:54:48  speedy
+- without docs bcond (building docs requires gnustep-make-devel)
+
+Revision 1.43  2004/10/17 11:28:36  speedy
+- in GNUstep.csh: fix path, there is no %%{prefix}/GNUstep (double GNUstep in path)
+- release 2.
+
+Revision 1.42  2004/09/30 21:18:31  aredridel
+- add missing files
+- use GNU tar always
+
+Revision 1.41  2004/09/30 18:11:47  aredridel
+- up to 0.10.0
+
+Revision 1.40  2004/06/12 17:10:13  aredridel
+- up to 1.9.2
+- removed Network branch, not installed by default now
+
+Revision 1.39  2004/03/04 20:36:20  qboosh
+- fixed gscpu for ppc, release 4
+
+Revision 1.38  2004/03/03 07:40:40  qboosh
+- changed lib to %%{_lib} in prefix, strict internal deps, release 3
+
+Revision 1.37  2004/03/03 07:33:52  qboosh
+- define gscpu for amd64
+
+Revision 1.36  2004/03/03 07:30:26  qboosh
+- refresh config.* for amd64, release 2
+
+Revision 1.35  2004/03/02 05:16:52  aredridel
+- up to 1.9.1
+
+Revision 1.34  2003/12/27 01:17:52  aredridel
+- up to 1.9.0
+
+Revision 1.33  2003/11/23 11:52:38  yoshi
+- Removed unnecessary ^#BuildRequires.
+
+Revision 1.31  2003/09/30 14:58:54  aredridel
+- updated to 1.8.0 (Second released 1.8.0 -- first was broken)
+
+Revision 1.30  2003/09/16 15:27:55  aredridel
+- updated to 1.7.4
+
+Revision 1.29  2003/08/29 16:08:38  qboosh
+- added openapp(1) manual
+
+Revision 1.28  2003/08/25 00:57:05  aredridel
+- updated to 1.7.3
+
+Revision 1.27  2003/08/21 07:24:37  ankry
+- s/kroskompilator/kompilator skrośny/
+
+Revision 1.26  2003/07/26 01:06:15  qboosh
+- compress docs (rpm doesn't support GNUstep Documentation dir yet)
+- added missing GNUstep(7) man page
+
+Revision 1.25  2003/07/25 21:48:32  aredridel
+fixed changelog syntax error
+
+Revision 1.24  2003/07/25 18:53:55  aredridel
+- fixed md5
+
+Revision 1.23  2003/07/25 18:50:40  aredridel
+- Updated to 1.7.2
+- Removed bcond doc
+
+Revision 1.21  2003/07/19 23:54:22  qboosh
+- up to 1.7.1 (warning: GNUstep filesystem hierarchy has changed)
+- removed obsolete acfix patch
+- moved devel docs to -devel
+
+Revision 1.20  2003/05/26 16:25:04  malekith
+- massive attack: adding Source-md5
+
+Revision 1.19  2003/05/25 05:48:20  misi3k
+- massive attack s/pld.org.pl/pld-linux.org/
+
+Revision 1.18  2003/05/14 20:41:59  qboosh
+- updated to 1.6.0, added acfix patch (stupid typo in configure.ac)
+
+Revision 1.17  2003/03/02 21:06:14  qwark
+- new version 0.8.4, removed old patches, it's ready for tests
+
+Revision 1.16  2002/12/29 13:45:27  qboosh
+- updated Vendor, release 1
+
+Revision 1.15  2002/12/28 20:55:43  qboosh
+- not only x86 now
+- removed nonsense - this project doesn't use am/lt/gt
+- added docs
+
+Revision 1.14  2002/12/28 16:24:45  qboosh
+- changed _prefix to some FHS-compliant (or maybe it should be /opt/GNUStep?)
+- fixed missing dirs, some cleanups
+
+Revision 1.13  2002/12/23 07:56:56  qwark
+- update to 1.5.1 version add some "auto.." building. Changes need to be reviewed by someone else :)
+
+Revision 1.12  2002/04/25 16:27:56  arturs
+fixed a small typo
+
+Revision 1.11  2002/02/23 02:17:47  kloczek
+- adapterized.
+
+Revision 1.10  2002/02/22 23:29:00  kloczek
+- removed all Group fields translations (our rpm now can handle translating
+  Group field using gettext).
+
+Revision 1.9  2002/01/18 02:13:10  kloczek
+perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+
+Revision 1.8  2001/11/13 15:44:13  ankry
+- updated to version 1.0.1
+- fixed build, fixed paths
+- commented out "--with_library-combo": where and how should the %%libcombo
+  macro be defined ?
+
+Revision 1.7  2001/09/28 08:57:56  qboosh
+- pl translations; note: there is 1.0.1 on ftp
+
+Revision 1.6  2001/05/02 16:29:04  qboosh
+- adapterized and made spec %%debug ready or added using %%rpm*flags macros
+
+Revision 1.5  2000/06/09 07:54:42  kloczek
+- more %%{__make} macros.
+
+Revision 1.4  2000/06/09 07:22:52  kloczek
+- added using %%{__make} macro.
+
+Revision 1.3  2000/05/20 13:37:50  kloczek
+- spec adapterized and partialy rewrited.
+
+* Sat Sep 18 1999 Christopher Seawood <cls at seawood.org>
+- Version 0.6.0
+- Added nodupsh patch
+
+* Sat Aug 07 1999 Christopher Seawood <cls at seawood.org>
+- Updated to cvs dawn_6 branch
+
+* Fri Jun 25 1999 Christopher Seawood <cls at seawood.org>
+- Split into separate rpm from gnustep-core
+- Build from cvs snapshot
+- Added services patch
================================================================



More information about the pld-cvs-commit mailing list