summaryrefslogtreecommitdiff
path: root/packaging/repa.spec
blob: 20ba448f5acd9de929de5613cc32b67375bf1235 (plain)
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
44
45
46
47
48
49
50
Name:           repa
Version:        0.6
Summary:        Release Engineering Process Assistant
%if 0%{?opensuse_bs}
Release:        1.<CI_CNT>.<B_CNT>
%else
Release:        1
%endif
License:        GPL-2.0
URL:            http://www.tizen.org
Group:          Development/Tools/Building
Source0:        %{name}_%{version}.tar.gz
BuildArch:      noarch

BuildRequires:  python3-setuptools

Requires:       gbs-api
Requires:       osc
Requires:       python3
Requires:       python3-setuptools
Requires:       python3-jenkinsapi

%description
This tool is to assist release engineers to operate with submissions
in easy and flexible manner

%prep
%setup -q

%build
python3 ./setup.py build

%install
python3 ./setup.py install --root=%{buildroot} --prefix=%{_prefix}

%clean
rm -rf %{buildroot}

%files
%doc COPYING RELEASE_NOTES
%defattr(-,root,root,-)
%config %{_sysconfdir}/%{name}.conf
%{_datadir}/doc/packages/%{name}
%{python3_sitelib}/%{name}-%{version}*.egg-info
%{python3_sitelib}/%{name}-%{version}*-nspkg.pth
%{python3_sitelib}/%{name}
%{_bindir}/%{name}
%{_mandir}/man1/*

%changelog