summaryrefslogtreecommitdiff
path: root/packaging/repa.spec
blob: 75d62a90addaa0c7603061078112123c8f0d32ec (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:        0.dev.<CI_CNT>.<B_CNT>
%else
Release:        0
%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