commit e0d7795af5d7b8c4e2e44baab5f00897636c24a9646a90e0b13fffae1dc658c3 Author: Dmitry Roshchin Date: Mon Oct 27 12:22:14 2014 +0000 osc copypac from project:home:Dmitry_R:WIP package:crosstool-ng revision:2 OBS-URL: https://build.opensuse.org/package/show/electronics/crosstool-ng?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/crosstool-ng-1.20.0.tar.bz2 b/crosstool-ng-1.20.0.tar.bz2 new file mode 100644 index 0000000..ae666f9 --- /dev/null +++ b/crosstool-ng-1.20.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfb1d251a3b5dbd262f6eb8416532b9920bb7f122ae4fb861a1824fe30c73464 +size 2035181 diff --git a/crosstool-ng.changes b/crosstool-ng.changes new file mode 100644 index 0000000..4fbd857 --- /dev/null +++ b/crosstool-ng.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Oct 27 08:37:16 UTC 2014 - dmitry_r@opensuse.org + +- Initial package, version 1.20.0 diff --git a/crosstool-ng.spec b/crosstool-ng.spec new file mode 100644 index 0000000..a9177f3 --- /dev/null +++ b/crosstool-ng.spec @@ -0,0 +1,77 @@ +# +# spec file for package crosstool-ng +# +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: crosstool-ng +Version: 1.20.0 +Release: 0 +Summary: Toolchain building framework +License: GPL-2.0 +Group: Development/Tools/Building +Url: http://crosstool-ng.org +Source0: http://crosstool-ng.org/download/crosstool-ng/%{name}-%{version}.tar.bz2 +BuildRequires: bison +BuildRequires: fdupes +BuildRequires: flex +BuildRequires: gperf +BuildRequires: libtool +BuildRequires: makeinfo +BuildRequires: ncurses-devel +BuildRequires: wget +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: bzip2 +Requires: gcc +Requires: gcc-c++ +Requires: glibc-devel-static +Requires: gzip +Requires: m4 +Requires: wget +Requires: xz + +%description +crosstool-NG aims at building toolchains. Toolchains are an essential component +in a software development project. It will compile, assemble and link the code +that is being developed. Some pieces of the toolchain will eventually end up +in the resulting binary/ies: static libraries are but an example. + +%prep +%setup -q + +%build +%configure \ + --docdir=%{_docdir}/%{name} + +make %{?_smp_mflags} + +%install +%make_install +%fdupes %{buildroot}%{_libdir}/ct-ng.%{version}/ + +find %{buildroot}%{_libdir}/ct-ng.%{version}/ -name '.gitignore' -type f -delete -print + +mv %{buildroot}%{_docdir}/%{name}/ct-ng.%{version}/* %{buildroot}%{_docdir}/%{name}/ +rm -rf %{buildroot}%{_docdir}/%{name}/ct-ng.%{version}/ + +%files +%defattr(-,root,root) +%doc COPYING README +%{_bindir}/ct-ng +%{_libdir}/ct-ng.%{version}/ +%{_docdir}/%{name}/ +%{_mandir}/man1/ct-ng.1.gz + +%changelog