Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:a_faerber:uclinux
cross-armv7ml-uClibc
uClibc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File uClibc.spec of Package cross-armv7ml-uClibc
# # spec file for package uClibc # # Copyright (c) 2016 SUSE LINUX 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/ # %global _lto_cflags %{?_lto_cflags} -ffat-lto-objects Url: http://www.uclibc-ng.org/ Name: uClibc Version: 1.0.47 Release: 0 Summary: Full-featured C library optimized for size License: LGPL-2.1+ Group: System/Libraries BuildRequires: linux-kernel-headers BuildRequires: ncurses-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: https://downloads.uclibc-ng.org/releases/%{version}/%{name}-ng-%{version}.tar.xz Source10: https://downloads.uclibc-ng.org/releases/%{version}/%{name}-ng-%{version}.tar.xz.asc ExcludeArch: s390 s390x ppc64 ppc64le %ifarch ppc Source1: config.ppc %endif %ifarch x86_64 Source1: config.x86_64 %endif %ifarch %ix86 Source1: config.i386 %endif %ifarch ia64 Source1: config.ia64 %endif %ifarch armv5tel Source1: config.armel %endif %ifarch %arm Source1: config.armhl %endif %ifarch aarch64 Source1: config.aarch64 %endif %ifarch m68k Source1: config.m68k %endif Source2: gcc-uClibc.in Source3: README.SUSE Patch0: uClibc.Makefile-gcc-uClibc-wrapper.patch %description A full-featured C library optimized for size. uClibc (pronounced yew-see-lib-see) is a C library for developing embedded Linux systems. It is much smaller than the GNU C Library, but nearly all applications supported by glibc also work perfectly with uClibc. Porting applications from glibc to uClibc typically involves just recompiling the source code. uClibc even supports shared libraries and threading. %prep %setup -q -n %{name}-ng-%{version} %patch0 -p1 cp %{S:1} .config cp %{S:2} gcc-uClibc.in cp %{S:3} README.SUSE %build # make export KCONFIG_NOTIMESTAMP=1 make oldconfig make %{?_smp_mflags} # make with debug #make V=1 make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/bin/ mkdir -p $RPM_BUILD_ROOT/%{_docdir}/uClibc install -m 755 gcc-uClibc $RPM_BUILD_ROOT/usr/bin install -m 644 %{S:3} $RPM_BUILD_ROOT/%{_docdir}/uClibc sed -i "s,$RPM_BUILD_ROOT,,g" $RPM_BUILD_ROOT/usr/bin/gcc-uClibc %files %defattr(-,root,root) %doc README.* COPYING.LIB* MAINTAINERS INSTALL docs/* #These will come when shared library support will be enabled #%dir /usr/lib/*-linux-uclibc/lib #/usr/lib/*-linux-uclibc/lib/*.so.* %package -n uClibc-devel Requires: %{name} = %{version} Summary: a full-featured C library optimized for size Group: Development/Libraries/C and C++ Recommends: gcc %description -n uClibc-devel uClibc (aka µClibc/pronounced yew-see-lib-see) is a C library for developing embedded Linux systems. It is much smaller than the GNU C Library, but nearly all applications supported by glibc also work perfectly with uClibc. Porting applications from glibc to uClibc typically involves just recompiling the source code. uClibc even supports shared libraries and threading. %files -n uClibc-devel %defattr(-,root,root) %_bindir/gcc-uClibc %dir /usr/lib/*-linux-uclibc %dir /usr/lib/*-linux-uclibc/usr %dir /usr/lib/*-linux-uclibc/usr/lib %dir /usr/lib/*-linux-uclibc/usr/include /usr/lib/*-linux-uclibc/usr/lib/*.[ao] /usr/lib/*-linux-uclibc/usr/include/* #These will come when shared library support will be enabled #/usr/lib/*-linux-uclibc/lib/*.so #/usr/lib/*-linux-uclibc/usr/lib/*.so %changelog
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