Add packaging files
authorWilliam Douglas <william.douglas@intel.com>
Fri, 5 Apr 2013 20:56:57 +0000 (13:56 -0700)
committerMikko Ylinen <mikko.ylinen@intel.com>
Thu, 30 Jan 2014 13:07:20 +0000 (15:07 +0200)
Also set efiroot to reflect Tizen settings.

Signed-off-by: William Douglas <william.douglas@intel.com>
Conflicts:
configure.ac

Remove efiroot change due to conflict

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
packaging/gummiboot.manifest [new file with mode: 0644]
packaging/gummiboot.spec [new file with mode: 0644]

diff --git a/packaging/gummiboot.manifest b/packaging/gummiboot.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/gummiboot.spec b/packaging/gummiboot.spec
new file mode 100644 (file)
index 0000000..a32b561
--- /dev/null
@@ -0,0 +1,34 @@
+Name:           gummiboot
+Version:        28
+Release:        1
+License:        LGPL-2.1
+Summary:        EFI Kernel loader
+Url:            http://cgit.freedesktop.org/gummiboot/
+Group:          System/Boot
+Source0:        http://cgit.freedesktop.org/%{name}/snapshot/%{name}-%{version}.tar.gz
+Source1001:     packaging/gummiboot.manifest
+BuildRequires:  gnu-efi
+BuildRequires:  pkgconfig(blkid)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
+
+%description
+Gummiboot is a simple EFI bootloader.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+cp %{SOURCE1001} .
+%reconfigure
+make
+
+%install
+rm -fr %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root)
+%manifest gummiboot.manifest
+%{_bindir}/gummiboot
+%{_prefix}/lib/gummiboot/gummibootx64.efi