packages: musl/musl.spec (NEW)=?UTF-8?Q?=20?=- raw, based on mageia src.rpm http://mirr...

glen glen at pld-linux.org
Sun Apr 22 22:50:08 CEST 2012


Author: glen                         Date: Sun Apr 22 20:50:08 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- raw, based on mageia src.rpm
  http://mirror.yandex.ru/mageia/distrib/cauldron/SRPMS/core/release/musl-0.8.3-0.1.mga2.src.rpm

---- Files affected:
packages/musl:
   musl.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/musl/musl.spec
diff -u /dev/null packages/musl/musl.spec:1.1
--- /dev/null	Sun Apr 22 22:50:08 2012
+++ packages/musl/musl.spec	Sun Apr 22 22:50:03 2012
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+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}/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/04/22 20:50:03  glen
+- raw, based on mageia src.rpm
+  http://mirror.yandex.ru/mageia/distrib/cauldron/SRPMS/core/release/musl-0.8.3-0.1.mga2.src.rpm
================================================================


More information about the pld-cvs-commit mailing list