Change-Id: I5a2bb400aad2d8c4303a5b2dcf959cd7388efae2
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
--- /dev/null
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
+
--- /dev/null
+Name: gt
+Summary: Command line tool for USB gadget management
+Version: 0.0.1
+Release: 0
+License: Apache-2.0
+Group: Base/Device Management
+
+Source0: %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+BuildRequires: cmake
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(libusbg)
+
+%description
+Gt is a command line tool for USB gadget management through
+ConfigFS. It allows user to create, modify and remove custom
+gadget and also load or save gadet from/to file.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+cmake ./source/
+
+%build
+make
+
+%install
+%make_install
+
+%files
+%manifest %{name}.manifest
+%license LICENSE
+%defattr(-,root,root)
+/usr/local/bin/gt