2017-09-14 16:56:57 +02:00
|
|
|
#
|
|
|
|
# spec file for package yast2-cio
|
|
|
|
#
|
2018-04-10 03:51:39 +02:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2017-09-14 16:56:57 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
######################################################################
|
|
|
|
#
|
|
|
|
# IMPORTANT: Please do not change spec file in build service directly
|
|
|
|
# Use https://github.com/yast/yast-cio repo
|
|
|
|
#
|
|
|
|
######################################################################
|
|
|
|
|
|
|
|
Name: yast2-cio
|
2018-04-21 03:51:15 +02:00
|
|
|
Version: 4.0.1
|
2017-09-14 16:56:57 +02:00
|
|
|
Release: 0
|
2018-04-21 03:51:15 +02:00
|
|
|
ExclusiveArch: s390 s390x
|
2017-09-14 16:56:57 +02:00
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
Requires: s390-tools
|
|
|
|
Requires: yast2 >= 3.0.5
|
|
|
|
Requires: yast2-ruby-bindings >= 1.2.0
|
|
|
|
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: yast2 >= 3.0.5
|
|
|
|
BuildRequires: yast2-devtools >= 1.2.0
|
|
|
|
BuildRequires: yast2-ruby-bindings >= 1.2.0
|
|
|
|
#for install task
|
|
|
|
BuildRequires: rubygem(yast-rake)
|
|
|
|
# for tests
|
|
|
|
BuildRequires: rubygem(rspec)
|
|
|
|
|
|
|
|
Summary: YaST2 - IO Channel management
|
|
|
|
License: GPL-2.0 or GPL-3.0
|
|
|
|
Group: System/YaST
|
|
|
|
Url: https://github.com/yast/yast-cio
|
|
|
|
|
|
|
|
%description
|
|
|
|
Provides interface for blacklisting and unblocking IO channels
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n %{name}-%{version}
|
|
|
|
|
|
|
|
%check
|
|
|
|
rake test:unit
|
|
|
|
|
|
|
|
%install
|
|
|
|
rake install DESTDIR="%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{yast_dir}/clients/*.rb
|
|
|
|
%{yast_dir}/lib/iochannel
|
|
|
|
%{yast_desktopdir}/cio.desktop
|
|
|
|
|
|
|
|
%doc COPYING README.md
|
|
|
|
|
|
|
|
%changelog
|