Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:verhaegs:branches:home:verhaegs:amixdev
ppc-morphos-binutils
ppc-morphos-binutils.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ppc-morphos-binutils.spec of Package ppc-morphos-binutils
%define Name binutils %define Version 2.9.1 Name : ppc-morphos-%{Name} Version : %{Version} Release : amixdev.1.<CI_CNT>.<B_CNT> Summary : A GNU collection of binary utilities for ppc-morphos Group : Development/Tools License : GPL URL : http://sources.redhat.com/binutils/ Source0 : ftp://ftp.gnu.org/gnu/%{Name}/%{Name}-%{Version}.tar.gz Patch0 : 0001-Removed-generated-files-that-were-in-imported-tarbal.patch Patch1 : 0002-MorphOS-sdk-source-20130129.patch Patch2 : 0003-Added-some-lost-files-and-reset-some-file-modes-to-t.patch Patch3 : 0004-Remove-white-space-disruption.patch Patch4 : 0005-Hard-code-non-replaced-commands.patch BuildRoot : %{_tmppath}/%{name}-%{version}-build BuildRequires : flex, bison, texinfo %if 0%{?suse_version} == 1110 # SLE 11 does not like files in /usr/ppc-morphos #!BuildIgnore : post-build-checks %endif %description Binutils is a collection of binary utilities, including ar (for creating, modifying and extracting from archives), nm (for listing symbols from object files), objcopy (for copying and translating object files), objdump (for displaying information from object files), ranlib (for generating an index for the contents of an archive), size (for listing the section sizes of an object or archive file), strings (for listing printable strings from files), strip (for discarding symbols), c++filt (a filter for demangling encoded C++ symbols), addr2line (for converting addresses to file and line), and nlmconv (for converting object code into an NLM). Install binutils if you need to perform any of these types of actions on binary files. Most programmers will want to install binutils. This package is for PowerPC MorphOS development. It is based on the source code released in sdk-source-20140413 tarball. %prep %setup -q -n %{Name}-%{Version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %build ./configure --target=ppc-morphos --program-prefix=ppc-morphos- --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} make all %install rm -rf %{buildroot} make prefix=%{buildroot}%{_prefix} libdir=%{buildroot}%{_libdir} mandir=%{buildroot}%{_mandir} install #Don't hard link the files cd %{buildroot}%{_prefix}/ppc-morphos/bin rm -f ar; ln -s %{_prefix}/bin/ppc-morphos-ar ar rm -f as; ln -s %{_prefix}/bin/ppc-morphos-as as rm -f ld; ln -s %{_prefix}/bin/ppc-morphos-ld ld rm -f nm; ln -s %{_prefix}/bin/ppc-morphos-nm nm rm -f ranlib; ln -s %{_prefix}/bin/ppc-morphos-ranlib ranlib rm -f strip; ln -s %{_prefix}/bin/ppc-morphos-strip strip # Currently only pack bin and man pages rm -fr %{buildroot}%{_libdir} %{buildroot}/usr/include %{buildroot}/usr/info %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README COPYING COPYING.LIB ChangeLog Product-Info %{_bindir}/* %{_mandir}/man1/* %{_prefix}/ppc-morphos %{_prefix}/ppc-morphos/* %changelog * Thu Dec 25 2014 Staf Verhaegen <staf@stafverhaegen.be> - Added support for .deb based distros * Thu Dec 18 2014 Staf Verhaegen <staf@stafverhaegen.be> - Added support for compiling on the (open)SUSE distros * Wed Dec 17 2014 Staf Verhaegen <staf@stafverhaegen.be> - First release based on MorpOS SDK source code.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor