]> git.pld-linux.org Git - packages/crosss390x-binutils.git/commitdiff
- initial
authorcieciwa <cieciwa@pld-linux.org>
Sun, 3 Oct 2004 19:03:22 +0000 (19:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    crosss390x-binutils.spec -> 1.1

crosss390x-binutils.spec [new file with mode: 0644]

diff --git a/crosss390x-binutils.spec b/crosss390x-binutils.spec
new file mode 100644 (file)
index 0000000..601a879
--- /dev/null
@@ -0,0 +1,100 @@
+Summary:       Cross S390x GNU binary utility development utilities - binutils
+Summary(es):   Utilitarios para desarrollo de binarios de la GNU - S390x binutils
+Summary(fr):   Utilitaires de développement binaire de GNU - S390x binutils
+Summary(pl):   Skro¶ne narzêdzia programistyczne GNU dla S390x - binutils
+Summary(pt_BR):        Utilitários para desenvolvimento de binários da GNU - S390x binutils
+Summary(tr):   GNU geliþtirme araçlarý - S390x binutils
+Name:          crossS390x-binutils
+Version:       2.15.92.0.2
+Release:       1
+License:       GPL
+Group:         Development/Tools
+Source0:       ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
+# Source0-md5: 702bc82d8b10914e112fb5c5d8b66498
+URL:           http://sources.redhat.com/binutils/
+BuildRequires: automake
+BuildRequires: bash
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: gettext-devel
+ExcludeArch:   s390x
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                target          s390x-pld-linux
+%define                arch            %{_prefix}/%{target}
+
+%description
+Binutils is a collection of binary utilities, including:
+- ar - create, modify and extract from archives,
+- nm - lists symbols from object files,
+- objcopy - copy and translate object files,
+- objdump - display information from object files,
+- ranlib - generate an index for the contents of an archive,
+- size - list the section sizes of an object or archive file,
+- strings - list printable strings from files,
+- strip - discard symbols,
+- c++filt - a filter for demangling encoded C++ symbols,
+- addr2line - convert addresses to file and line,
+- nlmconv - convert object code into an NLM.
+
+This package contains the cross version for S390x.
+
+%description -l pl
+Pakiet binutils zawiera zestaw narzêdzi umo¿liwiaj±cych kompilacjê
+programów. Znajduj± siê tutaj miêdzy innymi assembler, konsolidator
+(linker), a tak¿e inne narzêdzia do manipulowania binarnymi plikami
+programów i bibliotek.
+
+Ten pakiet zawiera wersjê skro¶n± generuj±c± kod dla S390x.
+
+%prep
+%setup -q -n binutils-%{version}
+
+%build
+cp /usr/share/automake/config.sub .
+
+# ldscripts won't be generated properly if SHELL is not bash...
+CFLAGS="%{rpmcflags}" \
+LDFLAGS="%{rpmldflags}" \
+CONFIG_SHELL="/bin/bash" \
+./configure \
+       --disable-shared \
+       --prefix=%{_prefix} \
+       --libdir=%{_libdir} \
+       --mandir=%{_mandir} \
+       --infodir=%{_infodir} \
+       --enable-64-bit-bfd \
+       --target=%{target}
+
+%{__make} all \
+       tooldir=%{_prefix} \
+       EXEEXT=""
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_prefix}
+
+%{__make} install \
+       prefix=$RPM_BUILD_ROOT%{_prefix} \
+       mandir=$RPM_BUILD_ROOT%{_mandir} \
+       infodir=$RPM_BUILD_ROOT%{_infodir} \
+       libdir=$RPM_BUILD_ROOT%{_libdir}
+
+# remove these man pages unless we cross-build for win*/netware platforms.
+# however, this should be done in Makefiles.
+rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{*dlltool,*nlmconv,*windres}.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/%{target}-*
+%dir %{arch}
+%dir %{arch}/bin
+%attr(755,root,root) %{arch}/bin/*
+%dir %{arch}/lib
+%dir %{arch}/lib/*
+%{arch}/lib/ldscripts/*
+%{_mandir}/man?/%{target}-*
This page took 0.130836 seconds and 4 git commands to generate.