]> git.pld-linux.org Git - packages/musl.git/commitdiff
- raw, based on mageia src.rpm
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 22 Apr 2012 20:50:03 +0000 (20:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  http://mirror.yandex.ru/mageia/distrib/cauldron/SRPMS/core/release/musl-0.8.3-0.1.mga2.src.rpm

Changed files:
    musl.spec -> 1.1

musl.spec [new file with mode: 0644]

diff --git a/musl.spec b/musl.spec
new file mode 100644 (file)
index 0000000..4950a5e
--- /dev/null
+++ b/musl.spec
@@ -0,0 +1,51 @@
+Summary:       Development files for musl libc
+Name:          musl
+Version:       0.8.9
+Release:       0.1
+Source0:       http://www.etalabs.net/musl/releases/%{name}-%{version}.tar.gz
+# Source0-md5: 1dfb3ba92ec08073bb982efc60b058cb
+License:       LGPL v2+
+Group:         Development/Libraries
+URL:           http://www.etalabs.net/musl/
+BuildRequires: zlib-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+musl is a new standard library to power Linux-based devices. It is
+lightweight, fast, simple, free, and strives to be correct in the
+sense of standards-conformance and safety.
+
+%package devel
+Summary:       Development files for %{name}
+License:       LGPL v2+
+Group:         Development/Libraries
+
+%description devel
+Development files and headers for %{name}.
+
+%prep
+%setup -q
+
+%build
+sed -i -e 's!/usr/local!/usr/lib!' config.mak
+# set arch:
+%ifnarch %{ix86}
+sed -i -e "s/i386/%{_arch}/" config.mak
+%endif
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+mv $RPM_BUILD_ROOT%{_prefix}/lib/bin $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files devel
+%defattr(644,root,root,755)
+%doc INSTALL README WHATSNEW
+%{_prefix}/lib/musl
+%attr(755,root,root) %{_bindir}/*
This page took 0.034194 seconds and 4 git commands to generate.