forked from microsoft/pict
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pict.spec
43 lines (31 loc) · 1.03 KB
/
pict.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
%if ! 0%{?commit:1}
%global commit 543804733cfe042d758cb85e91b22bb49053649b
%endif
%global shortcommit %(c=%{commit};echo ${c:0:7})
Name: pict
Version: 20171102git%{shortcommit}
Release: 0%{?dist}
Summary: Generates test cases and test configurations
License: MIT
URL: https://github.com/microsoft/pict
Source0: https://github.com/microsoft/%{name}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz
%description
PICT generates test cases and test configurations.
With PICT, you can generate tests that are more effective than
manually generated tests and in a fraction of the time required by
hands-on test case design.
%prep
%setup -q -n pict-%{commit}
%build
%{make_build}
%install
rm -rf $RPM_BUILD_ROOT
%{__install} -d -m 0755 %{buildroot}%{_bindir}
%{__install} -m 0755 pict %{buildroot}%{_bindir}/pict
%files
%{_bindir}/pict
%license LICENSE.TXT
%doc doc/pict.md
%changelog
* Mon Nov 02 2017 Cleber Rosa <[email protected]> - 20171102git5438047
- First package version