rpms/msp430-gcc/F-11 msp430-gcc.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
rspanton
rspanton at fedoraproject.org
Fri Jun 12 16:26:03 UTC 2009
- Previous message (by thread): rpms/dbus-cxx/F-9 .cvsignore, 1.5, 1.6 dbus-cxx.spec, 1.4, 1.5 sources, 1.5, 1.6
- Next message (by thread): rpms/pymol/devel .cvsignore, 1.5, 1.6 pymol.spec, 1.9, 1.10 sources, 1.5, 1.6 setup.patch, 1.2, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rspanton
Update of /cvs/pkgs/rpms/msp430-gcc/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20226
Modified Files:
.cvsignore sources
Added Files:
msp430-gcc.spec
Log Message:
Bring msp430-gcc from devel branch info F-11 branch
--- NEW FILE msp430-gcc.spec ---
%define target msp430
Name: %{target}-gcc
Version: 3.2.3
# There has been no release, so this is a snapshot
Release: 2.20090210cvs%{?dist}
Summary: Cross Compiling GNU GCC targeted at %{target}
Group: Development/Languages
License: GPLv2+
URL: http://mspgcc.sf.net/
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-core-%{version}.tar.bz2
# Pulled from the mspgcc CVS. Regenerate with:
# cvs -z3 -d:pserver:anonymous at mspgcc.cvs.sourceforge.net:/cvsroot/mspgcc login
# empty password (press enter)
# cvs -z3 -d:pserver:anonymous at mspgcc.cvs.sourceforge.net:/cvsroot/mspgcc co -D 2009-02-10 -P gcc/gcc-3.3
# tar -cjf mspgcc-gcc-3.3-20090210.tar.bz2 gcc
Source1: mspgcc-gcc-3.3-20090210.tar.bz2
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: %{target}-binutils
Requires: %{target}-binutils
# Build fails for ppc64 -- bug number to appear on this line after review
# (as documented in https://fedoraproject.org/wiki/Packaging:Guidelines#Architecture_Build_Failures)
ExcludeArch: ppc64
%description
This is a cross compiling version of GNU GCC, which can be used to
compile for the %{target} platform, instead of for the native %{_arch}
platform.
%prep
%setup -q -T -c
%setup -q -T -D -a0
%setup -q -T -D -a1
cp -af gcc/gcc-3.3/* gcc-%{version}/
# Extract %%__os_install_post into os_install_post~
cat << \EOF > os_install_post~
%__os_install_post
EOF
# Generate customized brp-*scripts
cat os_install_post~ | while read a x y; do
case $a in
# Prevent brp-strip* from trying to handle foreign binaries
*/brp-strip*)
b=$(basename $a)
sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
chmod a+x $b
;;
esac
done
sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
< os_install_post~ > os_install_post
%build
cd gcc-%{version}
CC="%{__cc} ${RPM_OPT_FLAGS}" ./configure --prefix=%{_prefix} --mandir=%{_mandir} \
--infodir=%{_infodir} --target=%{target} --disable-nls \
--libdir=%{_libdir} --enable-version-specific-runtime-libs
# Building GCC-3.2.3 is not smp-safe
make
%install
rm -rf $RPM_BUILD_ROOT
make -C gcc-%{version} install DESTDIR=$RPM_BUILD_ROOT
# we don't want these as we are a cross version
rm -rf $RPM_BUILD_ROOT%{_infodir}
mv $RPM_BUILD_ROOT%{_mandir}/man1/cpp.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{target}-cpp.1
mv $RPM_BUILD_ROOT%{_mandir}/man1/gcov.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{target}-gcov.1
rm -rf $RPM_BUILD_ROOT%{_mandir}/man7
rm -f $RPM_BUILD_ROOT%{_libdir}/libiberty.a
%define __os_install_post . ./os_install_post
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%dir %{_libdir}/gcc-lib
%dir %{_libdir}/gcc-lib/%{target}/
%dir %{_libdir}/gcc-lib/%{target}/%{version}/
%{_bindir}/%{target}-*
%{_libdir}/gcc-lib/%{target}/%{version}/*
%{_mandir}/man1/%{target}-*.1.gz
%changelog
* Sat Feb 21 2009 Rob Spanton <rspanton at zepler.net> 3.2.3-2.20090210cvs
- Use setup macro to do cleaner decompressing.
- Own libdir/gcc-lib dirs.
- Rename man files rather than delete them.
* Tue Feb 10 2009 Rob Spanton <rspanton at zepler.net> 3.2.3-1.20090210cvs
- Initial release
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/msp430-gcc/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 27 Mar 2009 20:13:15 -0000 1.1
+++ .cvsignore 12 Jun 2009 16:25:33 -0000 1.2
@@ -0,0 +1,2 @@
+gcc-core-3.2.3.tar.bz2
+mspgcc-gcc-3.3-20090210.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/msp430-gcc/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 27 Mar 2009 20:13:15 -0000 1.1
+++ sources 12 Jun 2009 16:25:33 -0000 1.2
@@ -0,0 +1,2 @@
+66664a84b383ba8d68612cd89b9478b2 gcc-core-3.2.3.tar.bz2
+3622d83dd423933953f5f0aa42dda4dc mspgcc-gcc-3.3-20090210.tar.bz2
- Previous message (by thread): rpms/dbus-cxx/F-9 .cvsignore, 1.5, 1.6 dbus-cxx.spec, 1.4, 1.5 sources, 1.5, 1.6
- Next message (by thread): rpms/pymol/devel .cvsignore, 1.5, 1.6 pymol.spec, 1.9, 1.10 sources, 1.5, 1.6 setup.patch, 1.2, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list