]> git.pld-linux.org Git - packages/crossmipsel-uClibc.git/blame - crossmipsel-uClibc.spec
- converted to UTF-8
[packages/crossmipsel-uClibc.git] / crossmipsel-uClibc.spec
CommitLineData
8ae85790 1
2%define llh_version 2.4.31
3
4Summary: C library optimized for size (mipsel version)
effc49be 5Summary(pl.UTF-8): Biblioteka C zoptymalizowana na rozmiar (dla mipsel)
8ae85790 6Name: crossmipsel-uClibc
7Version: 0.9.28
8Release: 1
9Epoch: 0
10License: LGPL
11Group: Libraries
12Source0: http://www.uclibc.org/downloads/uClibc-%{version}.tar.bz2
13# Source0-md5: 1ada58d919a82561061e4741fb6abd29
14Source1: http://www.uclibc.org/downloads/toolchain/linux-libc-headers-%{llh_version}.tar.bz2
15# Source1-md5: 997d36627baf6825c712431dee4d79d3
16Source2: crossmipsel-uClibc.config
17URL: http://www.uclibc.org/
8ae85790 18BuildRequires: sed >= 4.0
19BuildRequires: which
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%define target mipsel-pld-linux
23%define arch %{_prefix}/%{target}
24
d2be93ad 25%define _noautostrip .*
8ae85790 26
27%description
28Small libc for building embedded applications.
29Version compiled for mipsel.
30
effc49be
JR
31%description -l pl.UTF-8
32Mała libc do budowania aplikacji wbudowanych.
8ae85790 33Wersja dla mipsel.
34
35%prep
36%setup -q -n uClibc-%{version} -a1
8ae85790 37install %{SOURCE2} .config
8ae85790 38sed -i "s@^.*KERNEL_SOURCE.*\$@KERNEL_SOURCE=\"$PWD/linux-libc-headers-%{llh_version}\"@" \
39 .config
40
8ae85790 41%build
d2be93ad 42%{__make}
8ae85790 43
44%install
d2be93ad 45rm -rf $RPM_BUILD_ROOT
78447fff
JB
46
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
8ae85790 49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
55%doc Changelog* DEDICATION.mjn3 MAINTAINERS README TODO docs/threads.txt
d2be93ad 56%dir %{arch}/lib
57%attr(755,root,root) %{arch}/lib/*.so
78447fff 58%attr(755,root,root) %{arch}/lib/*.so.*
d2be93ad 59%{arch}/lib/*.[ao]
8ae85790 60%{arch}/include
This page took 0.07454 seconds and 4 git commands to generate.