LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File osc-plugin-install.spec of Package osc-plugin-install (Project openSUSE:Tools)

# spec file for package osc-plugin-install (version 0.15)
# Copyright (C) 2012,2013, jw@suse.de, Novell Inc., openSUSE.org
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/

Name:           osc-plugin-install
Version:        0.21
Release:        1
License:        GPL-2.0 or GPL-3.0
Summary:        Plugin to make package installation easier
Url:            https://gitorious.org/osc-plugin-install
# Url:            https://gitorious.org/opensuse/osc-plugin-install
# Url:            http://en.opensuse.org/OscInstall
Source0:        osc-install.py
Group:          Development/Tools/Other
# Needed for directory ownership
BuildRequires:  osc
Requires:       osc
Recommends:     rpm-python rpmdevtools
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:	noarch
%if %(if test -d %{_prefix}/lib/osc-plugins; then echo 1; else echo 0; fi)
%define oscplugindir %{_prefix}/lib/osc-plugins
%define oscplugindir %{_localstatedir}/lib/osc-plugins

This osc plugin extends osc with the subcommand 'osc install'.
The main effort of this plugin is to free the end-user of the sometimes tedious
task to look up the correct repository URL to be used with zypper.
Dependencies are resolved across projects, just as the online one-click mechanism 
would do. 
The plugin can also guess the best matching platform for your system.

Example usage:
 osc co PROJ PACK ; cd PACK
 do osc build ; vi ... ; osc ci ; osc results
 osc in

	Juergen Weigert <jw@suse.de>



install -D -m0644 %{S:0} %{buildroot}%{oscplugindir}/osc-install.py

%{__rm} -rf %{buildroot}

%defattr(-, root, root)