Commit 4f4e5fd0 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Add gnome-platform-base package

parent 66bc8760
......@@ -11,3 +11,5 @@ packages/RPMS/
packages/SRPMS/
packages/rpmdb/
gnome-sdk.tar.xz
gnome-sdk-rpmdb.tar.xz
packages/SOURCES/gnomeos-contents-platform-x86_64.tar.gz
srcdir = $(CURDIR)
builddir = $(CURDIR)
yocto-build/x86_64/images/gnomeos-contents-sdk-x86_64.tar.gz:
yocto-build/x86_64/images/gnomeos-contents-sdk-x86_64.tar.gz yocto-build/x86_64/images/gnomeos-contents-platform-x86_64.tar.gz:
if test ! -d gnome-continuous-yocto; then \
git clone https://github.com/alexlarsson/gnome-continuous-yocto.git --branch gnomeostree-3.14-dizzy-platform;\
fi
......@@ -49,4 +49,14 @@ gnome-sdk-rpmdb.tar.xz gnome-sdk.tar.xz: packages/RPMS/noarch/gnome-sdk-0.1-1.no
tar --transform 's,^root-sdk/usr/,,S' -cJvf gnome-sdk.tar.xz root-sdk/usr --owner=root
tar --transform 's,^var-sdk/,,S' -cJvf gnome-sdk-rpmdb.tar.xz var-sdk/lib/rpm --owner=root
gnome-platform-base: packages/RPMS/noarch/gnome-platform-base-0.1-1.noarch.rpm
packages/RPMS/noarch/gnome-platform-base-0.1-1.noarch.rpm: packages/SPECS/gnome-platform-base.spec setup.sh build.sh yocto-build/x86_64/images/gnomeos-contents-platform-x86_64.tar.gz
echo building packages/SPECS/gnome-platform-base.spec
cp yocto-build/x86_64/images/gnomeos-contents-platform-x86_64.tar.gz packages/SOURCES/
./setup.sh root-sdk var-sdk yocto-build/x86_64/images/gnomeos-contents-sdk-x86_64.tar.gz
./build.sh root-sdk var-sdk packages rpmbuild -ba packages/SPECS/gnome-platform-base.spec
gnome-sdk-base: packages/RPMS/noarch/gnome-sdk-base-0.1-1.noarch.rpm
-include rpm-dependencies.P
Name: gnome-platform-base
Version: 0.1
Release: 1%{?dist}
Summary: Base platform
License: Various
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Source: gnomeos-contents-platform-x86_64.tar.gz
%description
The base platform files
%prep
rm -rf gnome-platform-base
mkdir -p gnome-platform-base
%build
cd gnome-platform-base
tar -xf %{SOURCE0}
mv etc usr
%install
cd gnome-platform-base
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
cp -ar usr $RPM_BUILD_ROOT/
%files
%defattr(-,root,root)
/*
%changelog
* Fri Nov 7 2014 Alexander Larsson <alexl@redhat.com>
- Initial version
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment