- Added infrastructure for tests and one simple exemplary test

- 0.0.5
- SystemdTarget.all changed to return hash instead of array
- Using target description in UI

- 0.0.4
- Initial version: Services can be started and stopped, enabled
  or disabled. Default target can be set.

OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-services-manager?expand=0&rev=1
This commit is contained in:
Lukas Ocilka 2013-06-24 13:58:37 +00:00 committed by Git OBS Bridge
commit 211612daf8
5 changed files with 115 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,19 @@
-------------------------------------------------------------------
Fri Jun 21 15:20:35 CEST 2013 - locilka@suse.com
- 0.0.6
- Added infrastructure for tests and one simple exemplary test
-------------------------------------------------------------------
Fri Jun 21 11:12:03 CEST 2013 - locilka@suse.com
- 0.0.5
- SystemdTarget.all changed to return hash instead of array
- Using target description in UI
-------------------------------------------------------------------
Thu Jun 20 10:39:41 CEST 2013 - locilka@suse.com
- 0.0.4
- Initial version: Services can be started and stopped, enabled
or disabled. Default target can be set.

View File

@ -0,0 +1,69 @@
#
# spec file for package yast2-services-manager
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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: yast2-services-manager
Version: 0.0.6
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: yast2-services-manager.tar.bz2
BuildArch: noarch
Requires: yast2 >= 2.24.1
Requires: yast2-ruby-bindings >= 1.0.0
BuildRequires: ruby
BuildRequires: rubygem-mocha
BuildRequires: update-desktop-files
BuildRequires: yast2 >= 2.24.1
BuildRequires: yast2-ruby-bindings >= 1.0.0
Summary: YaST2 - Services Manager
License: GPL-2.0
Group: System/YaST
Url: https://github.com/kobliha/yast-services-manager
%description
Provides user interface and libraries to configure running services and the default target.
%prep
%setup -n yast2-services-manager
%build
rake test
%install
rake install DESTDIR="$RPM_BUILD_ROOT"
[ -e "%{_prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK" ] || Y2DIR="$RPM_BUILD_ROOT/usr/share/YaST2" rake test DESTDIR="$RPM_BUILD_ROOT"
for f in `find $RPM_BUILD_ROOT/%{_prefix}/share/applications/YaST2/ -name "*.desktop"` ; do
d=${f##*/}
%suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop}
done
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%{_prefix}/share/YaST2/clients/services-manager.rb
%{_prefix}/share/YaST2/modules/*.rb
%{_prefix}/share/applications/YaST2/services-manager.desktop
%changelog

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:441469c7c81c4d16de37993deba8256919736ab711b778e5c6990fb3ec0d61ac
size 6171