2015-02-06 17:48:22 +01:00
|
|
|
#
|
|
|
|
# spec file for package yast2-journal
|
|
|
|
#
|
2016-05-03 15:19:25 +02:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-02-06 17:48:22 +01: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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: yast2-journal
|
2015-08-18 16:12:50 +02:00
|
|
|
Version: 3.1.2
|
2015-02-06 17:48:22 +01:00
|
|
|
Release: 0
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
# First version with base Dialog class
|
|
|
|
Requires: yast2 >= 3.1.117
|
2015-06-29 17:53:07 +02:00
|
|
|
# Yast::Builtins::strftime
|
|
|
|
Requires: yast2-ruby-bindings >= 3.1.38
|
2015-02-06 17:48:22 +01:00
|
|
|
|
|
|
|
BuildRequires: update-desktop-files
|
2015-06-29 17:53:07 +02:00
|
|
|
# Yast::Builtins::strftime
|
2015-02-06 17:48:22 +01:00
|
|
|
BuildRequires: yast2
|
|
|
|
BuildRequires: yast2-devtools
|
2015-06-29 17:53:07 +02:00
|
|
|
BuildRequires: yast2-ruby-bindings >= 3.1.38
|
2015-02-06 17:48:22 +01:00
|
|
|
#for install task
|
|
|
|
BuildRequires: rubygem(yast-rake)
|
|
|
|
# for tests
|
|
|
|
BuildRequires: rubygem(rspec)
|
2015-07-31 15:43:15 +02:00
|
|
|
# First version with Yast::UI.OpenUI and libyui-terminal
|
|
|
|
BuildRequires: libyui-ncurses >= 2.47.1
|
2015-02-06 17:48:22 +01:00
|
|
|
|
|
|
|
Url: https://github.com/ancorgs/yast-journal
|
|
|
|
Summary: YaST2 - Reading of systemd journal
|
|
|
|
License: GPL-2.0 or GPL-3.0
|
|
|
|
Group: System/YaST
|
|
|
|
|
|
|
|
%description
|
|
|
|
A YaST2 module to read the systemd journal in a convenient and
|
|
|
|
user-friendly way.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n %{name}-%{version}
|
|
|
|
|
|
|
|
%check
|
2015-07-31 15:43:15 +02:00
|
|
|
# Enable UI tests in headless systems like Jenkins
|
|
|
|
libyui-terminal rake test:unit
|
2015-02-06 17:48:22 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
rake install DESTDIR="%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{yast_dir}/clients/*.rb
|
|
|
|
%{yast_dir}/lib/systemd_journal
|
|
|
|
%{yast_desktopdir}/journal.desktop
|
|
|
|
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%changelog
|