summaryrefslogtreecommitdiff
path: root/packaging/repa.spec
blob: 5d0c956a2cbd17f96bb13eb6c4c37e59aaa3b704 (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
Name:           repa
Version:        0.3
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

%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