Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:verhaegs:branches:home:verhaegs:amixdev
ppc-amigaos-binutils
ppc-amigaos-binutils.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ppc-amigaos-binutils.spec of Package ppc-amigaos-binutils
%define Name binutils %define Version 2.18 Name : ppc-amigaos-%{Name} Version : %{Version} Release : amixdev.1.<CI_CNT>.<B_CNT> Summary : A GNU collection of binary utilities for ppc-amigaos Group : Development/Tools License : GPL URL : http://sources.redhat.com/binutils/ Source0 : ftp://ftp.gnu.org/gnu/%{Name}/%{Name}-%{Version}.tar.bz2 Patch0 : 0001-adtools-svn-repo-binutils-HEAD-as-one-big-patch-on-o.patch BuildRoot : %{_tmppath}/%{name}-%{version}-build BuildRequires : flex, bison, texinfo %if 0%{?suse_version} == 1110 # SLE 11 does not like files in /usr/ppc-amigaos #!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 AmigaOS4 development. It is based on the source code available in trunk of adtools subversion repository. %prep %setup -q -n %{Name}-%{Version} %patch0 -p1 %build CFLAGS="%{optflags} -Wno-error" \ ./configure --target=ppc-amigaos --program-prefix=ppc-amigaos- --prefix=%{_prefix} \ --mandir=%{_mandir} --infodir=%{_infodir} make all %install rm -rf %{buildroot} make DESTDIR=%{buildroot} install #Don't hard link the files cd %{buildroot}%{_prefix}/ppc-amigaos/bin rm -f ar; ln -s %{_prefix}/bin/ppc-amigaos-ar ar rm -f as; ln -s %{_prefix}/bin/ppc-amigaos-as as rm -f ld; ln -s %{_prefix}/bin/ppc-amigaos-ld ld rm -f nm; ln -s %{_prefix}/bin/ppc-amigaos-nm nm rm -f ranlib; ln -s %{_prefix}/bin/ppc-amigaos-ranlib ranlib rm -f strip; ln -s %{_prefix}/bin/ppc-amigaos-strip strip rm -f objcopy; ln -s %{_prefix}/bin/ppc-amigaos-objcopy objcopy rm -f objdump; ln -s %{_prefix}/bin/ppc-amigaos-objdump objdump # Currently only pack bin and man pages, other files will conflict with other # packages as they don't have the prefix in the name rm -fr %{buildroot}%{_libdir} %{buildroot}/usr/include %{buildroot}/usr/share/locale \ %{buildroot}/%{_infodir} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README COPYING COPYING.LIB %{_bindir}/* %{_mandir}/man1/* %{_prefix}/ppc-amigaos %changelog * Sat Feb 21 2015 Staf Verhaegen <staf@stafverhaegen.be> - - First version
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