[rtems-buildsys commit] New.

Ralf Corsepius ralf at rtems.org
Thu Dec 13 18:02:20 UTC 2012


Module:    rtems-buildsys
Branch:    master
Commit:    60d8feaf14889f70346f8a30983b802578fb4ca8
Changeset: http://git.rtems.org/rtems-buildsys/commit/?id=60d8feaf14889f70346f8a30983b802578fb4ca8

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Wed Dec  5 10:58:11 2012 +0100

New.

---

 rtems-sbuild/rtems-sbuild.spec |   54 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 54 insertions(+), 0 deletions(-)

diff --git a/rtems-sbuild/rtems-sbuild.spec b/rtems-sbuild/rtems-sbuild.spec
new file mode 100644
index 0000000..ec2e573
--- /dev/null
+++ b/rtems-sbuild/rtems-sbuild.spec
@@ -0,0 +1,54 @@
+Name:           rtems-sbuild
+Version:        0.20121205.1
+Release:        0%{?dist}
+Summary:        RTEMS sbuild chroots setup
+
+Group:          RTEMS
+License:        GPLv2+
+URL:            http://www.rtems.org
+BuildArch:      noarch
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/infrastructure/%{name}-%{version}.tar.xz
+
+BuildRequires:  schroot sbuild
+Requires:       schroot sbuild
+
+%description
+%{summary}
+
+%prep
+%setup -q
+
+
+%pre
+if [ $1 -eq 1 ]; then
+    groupadd -r sbuild >/dev/null 2>&1 || :
+fi
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+for d in $RPM_BUILD_ROOT%{_sysconfdir}/schroot/chroot.d/*; do
+mkdir -p $RPM_BUILD_ROOT/srv/chroot/$(basename $d -sbuild);
+done
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING
+%config(noreplace) %{_sysconfdir}/schroot
+%{_datadir}/keyrings
+/srv/chroot
+
+%changelog
+* Sat Oct 22 2011 Ralf Corsépius <ralf.corsepius at rtems.org> - 0.3-20111022.1
+- Add Ubuntu 11.10 oneiric.
+
+* Fri Jul 08 2011 Ralf Corsépius <ralf.corsepius at rtems.org> - 0.2-20110708.1
+- Add Debian+Ubuntu keyrings.
+
+* Fri Jul 08 2011 Ralf Corsépius <ralf.corsepius at rtems.org> - 0.1-20110708.1
+- First public release.




More information about the vc mailing list