[olpc-os-builder] import v3.0.0-pre1

Daniel Drake dsd at fedoraproject.org
Tue Jan 25 19:22:38 UTC 2011


commit 3d54eec82a797287e3918f3723e9000284ac6662
Author: Daniel Drake <dsd at laptop.org>
Date:   Tue Jan 25 19:26:15 2011 +0000

    import v3.0.0-pre1

 .gitignore           |    1 +
 olpc-os-builder.spec |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f683385 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/olpc-os-builder-3.0.0_pre1.tar.bz2
diff --git a/olpc-os-builder.spec b/olpc-os-builder.spec
new file mode 100644
index 0000000..aec72e3
--- /dev/null
+++ b/olpc-os-builder.spec
@@ -0,0 +1,55 @@
+%define prerelease pre1
+
+Name:		olpc-os-builder
+Version:	3.0.0
+Release:	0.1.%{prerelease}%{?dist}
+Summary:	A development tool to build and customize OLPC OS images
+
+Group:		Development/System
+License:	GPLv2+
+URL:		http://wiki.laptop.org/go/OSBuilder
+Source0:	http://dev.laptop.org/~dsd/olpc-os-builder/%{name}-%{version}_%{prerelease}.tar.bz2
+BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+BuildRequires:	zlib-devel libtomcrypt-devel
+Requires:	python-imgcreate bitfrost zip unzip crcimg mtd-utils mtd-utils-ubi
+
+%description
+OLPC OS images for XO laptops are based on Fedora. This tool allows you to
+build these OS images as well as applying your own tweaks and customizations.
+
+
+%prep
+%setup -q -n %{name}-%{version}_%{prerelease}
+
+
+%build
+make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+# all documentation must be installed through the doc section
+# (which has the side effect of wiping out any documentation that was installed
+#  during this stage)
+mv $RPM_BUILD_ROOT/usr/share/doc/* inst-docs
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc inst-docs/*
+%{_sbindir}/olpc-os-builder
+%{_libexecdir}/olpc-os-builder
+%{_datadir}/olpc-os-builder
+
+
+%changelog
+* Thu Nov 11 2010 Daniel Drake <dsd at laptop.org> 3.0.0-0.1.pre1
+- Initial release
+
diff --git a/sources b/sources
index e69de29..30dcff3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c03c72996bb1ea5faadc7d4bb7cc7f8d  olpc-os-builder-3.0.0_pre1.tar.bz2


More information about the scm-commits mailing list