summaryrefslogtreecommitdiff
path: root/packaging/repa.spec
blob: 63cf1e51f2fae174ca91a8e2b4f5fe94e5705e61 (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:  python-setuptools

Requires:       gbs-api
Requires:       osc
Requires:       python >= 2.6
Requires:       python-setuptools
Requires:       python-jenkinsapi

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

%prep
%setup -q

%build
%{__python} ./setup.py build

%install
%{__python} ./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}
%{python_sitelib}/%{name}-%{version}*.egg-info
%{python_sitelib}/%{name}-%{version}*-nspkg.pth
%{python_sitelib}/%{name}
%{_bindir}/%{name}
%{_mandir}/man1/*

%changelog