packaging: add missing dependency
[platform/upstream/gt.git] / packaging / gt.spec
1 Name:            gt
2 Summary:         Command line tool for USB gadget management
3 Version:         0.0.1
4 Release:         0
5 License:         Apache-2.0
6 Group:           Base/Device Management
7
8 Source0:         %{name}-%{version}.tar.gz
9 Source1001:      %{name}.manifest
10 BuildRequires:   cmake
11 BuildRequires:   pkgconfig
12 BuildRequires:   pkgconfig(glib-2.0)
13 BuildRequires:   pkgconfig(libusbg)
14
15 %description
16 Gt is a command line tool for USB gadget management through
17 ConfigFS. It allows user to create, modify and remove custom
18 gadget and also load or save gadet from/to file.
19
20 %prep
21 %setup -q
22 cp %{SOURCE1001} .
23 cmake ./source/
24
25 %build
26 make
27
28 %install
29 %make_install
30
31 %files
32 %manifest %{name}.manifest
33 %license LICENSE
34 %defattr(-,root,root)
35 /usr/local/bin/gt