2013-06-24 15:58:37 +02:00
|
|
|
#
|
|
|
|
# spec file for package yast2-services-manager
|
|
|
|
#
|
2014-01-08 11:03:30 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2013-06-24 15:58:37 +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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2013-07-24 16:33:02 +02:00
|
|
|
######################################################################
|
|
|
|
#
|
|
|
|
# IMPORTANT: Please do not change spec file in build service directly
|
|
|
|
# Use https://github.com/yast/yast-services-manager repo
|
|
|
|
#
|
|
|
|
######################################################################
|
|
|
|
|
2013-06-24 15:58:37 +02:00
|
|
|
Name: yast2-services-manager
|
2014-02-26 14:27:52 +01:00
|
|
|
Version: 3.1.6
|
2013-06-24 15:58:37 +02:00
|
|
|
Release: 0
|
2013-07-23 14:18:17 +02:00
|
|
|
BuildArch: noarch
|
2013-06-24 15:58:37 +02:00
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-11-28 09:27:50 +01:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2013-06-24 15:58:37 +02:00
|
|
|
|
2013-11-28 09:27:50 +01:00
|
|
|
Requires: ruby
|
2013-10-25 15:22:52 +02:00
|
|
|
Requires: yast2 >= 3.0.5
|
2013-07-24 16:33:02 +02:00
|
|
|
Requires: yast2-ruby-bindings >= 1.2.0
|
2014-02-11 16:28:01 +01:00
|
|
|
# need new enough installation for its inst clients
|
|
|
|
Conflicts: yast2-installation < 3.1.32
|
2013-06-24 15:58:37 +02:00
|
|
|
|
2013-11-11 14:11:55 +01:00
|
|
|
Obsoletes: yast2-runlevel
|
|
|
|
|
2013-06-24 15:58:37 +02:00
|
|
|
BuildRequires: ruby
|
|
|
|
BuildRequires: update-desktop-files
|
2013-10-25 15:22:52 +02:00
|
|
|
BuildRequires: yast2 >= 3.0.5
|
2013-07-24 16:33:02 +02:00
|
|
|
BuildRequires: yast2-ruby-bindings >= 1.2.0
|
2014-01-16 09:02:26 +01:00
|
|
|
# need install task
|
2013-11-04 14:22:17 +01:00
|
|
|
BuildRequires: rubygem-rspec
|
2014-02-12 10:12:27 +01:00
|
|
|
BuildRequires: rubygem-yast-rake >= 0.1.6
|
2013-06-24 15:58:37 +02:00
|
|
|
|
|
|
|
Summary: YaST2 - Services Manager
|
2013-10-25 15:22:52 +02:00
|
|
|
License: GPL-2.0+
|
2013-06-24 15:58:37 +02:00
|
|
|
Group: System/YaST
|
2013-07-24 16:33:02 +02:00
|
|
|
Url: https://github.com/yast/yast-services-manager
|
2013-06-24 15:58:37 +02:00
|
|
|
|
|
|
|
%description
|
2013-10-25 15:22:52 +02:00
|
|
|
Provides user interface and libraries to configure systemd
|
|
|
|
services and targets.
|
2013-06-24 15:58:37 +02:00
|
|
|
|
|
|
|
%prep
|
2013-11-28 09:27:50 +01:00
|
|
|
%setup -n %{name}-%{version}
|
2013-06-24 15:58:37 +02:00
|
|
|
|
2014-01-16 09:02:26 +01:00
|
|
|
%build
|
|
|
|
|
2013-11-04 14:22:17 +01:00
|
|
|
%check
|
|
|
|
# opensuse-13.1 does not contain rspec in default repositories
|
2013-11-04 14:37:15 +01:00
|
|
|
%if 0%{?suse_version} > 1310
|
2013-10-25 15:22:52 +02:00
|
|
|
rspec test/*_test.rb
|
2013-11-04 14:22:17 +01:00
|
|
|
%endif
|
2013-06-24 15:58:37 +02:00
|
|
|
|
|
|
|
%install
|
2013-10-25 15:22:52 +02:00
|
|
|
rake install DESTDIR="%{buildroot}"
|
2013-07-23 15:42:38 +02:00
|
|
|
%suse_update_desktop_file services-manager
|
2013-06-24 15:58:37 +02:00
|
|
|
|
2013-10-25 15:22:52 +02:00
|
|
|
%define yast_dir %{_prefix}/share/YaST2
|
2013-06-24 15:58:37 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2013-10-25 15:22:52 +02:00
|
|
|
%{yast_dir}/clients/*.rb
|
|
|
|
%{yast_dir}/modules/*.rb
|
|
|
|
%{yast_dir}/schema/autoyast/rnc/*.rnc
|
|
|
|
%{yast_dir}/lib/services-manager/*.rb
|
|
|
|
%dir %{yast_dir}/lib/
|
|
|
|
%{yast_dir}/lib/services-manager/
|
2013-06-24 15:58:37 +02:00
|
|
|
%{_prefix}/share/applications/YaST2/services-manager.desktop
|
2013-10-25 15:22:52 +02:00
|
|
|
|
|
|
|
%dir %_docdir/
|
|
|
|
%_docdir/%name/
|
|
|
|
%_docdir/%name/COPYING
|
2013-06-24 15:58:37 +02:00
|
|
|
|
|
|
|
%changelog
|