File obs-tools.spec of Package obs-tools

#
# spec file for package obs-tools
#
# Copyright 2012 Stefan Majewsky <majewsky@gmx.net>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#

# norootforbuild

Name:           obs-tools
# openSUSE-release contains /etc/SuSE-release which determines the distribution in obs-tools
Requires:       openSUSE-release
BuildRequires:  openSUSE-release python-devel
%{py_requires}
Url:            http://www.bethselamin.de/obs-tools/
Summary:        Quick end-user access to the openSUSE Build Service
Version:        1.0
Release:        1
Source0:        %{name}-%{version}.tar.gz
License:        GPL-2.0
Group:          System/Packages
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Prefix:         %{_prefix}

%description

The obs-tools package contains some tools for end-users to simplify usage of
the openSUSE Build Service from the command line.

%prep
%setup

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc COPYING

%changelog
openSUSE Build Service is sponsored by