forked from pool/crosstool-ng
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
This commit is contained in:
commit
e0d7795af5
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
crosstool-ng-1.20.0.tar.bz2
Normal file
3
crosstool-ng-1.20.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bfb1d251a3b5dbd262f6eb8416532b9920bb7f122ae4fb861a1824fe30c73464
|
||||
size 2035181
|
4
crosstool-ng.changes
Normal file
4
crosstool-ng.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 27 08:37:16 UTC 2014 - dmitry_r@opensuse.org
|
||||
|
||||
- Initial package, version 1.20.0
|
77
crosstool-ng.spec
Normal file
77
crosstool-ng.spec
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user