37eef2e922
- 4.1.3 OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-journal?expand=0&rev=30
77 lines
2.0 KiB
RPMSpec
77 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package yast2-journal
|
|
#
|
|
# Copyright (c) 2018 SUSE LINUX 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-journal
|
|
Version: 4.1.3
|
|
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
|
|
# Yast::Builtins::strftime
|
|
Requires: yast2-ruby-bindings >= 3.1.38
|
|
|
|
BuildRequires: update-desktop-files
|
|
# Yast::Builtins::strftime
|
|
BuildRequires: yast2
|
|
BuildRequires: yast2-devtools
|
|
BuildRequires: yast2-ruby-bindings >= 3.1.38
|
|
#for install task
|
|
BuildRequires: rubygem(yast-rake)
|
|
# for tests
|
|
BuildRequires: rubygem(rspec)
|
|
# First version with Yast::UI.OpenUI
|
|
BuildRequires: libyui-ncurses >= 2.47.1
|
|
# libyui-terminal
|
|
BuildRequires: libyui-ncurses-tools
|
|
|
|
Url: https://github.com/yast/yast-journal
|
|
Summary: YaST2 - Reading of systemd journal
|
|
License: GPL-2.0-only OR GPL-3.0-only
|
|
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
|
|
# Enable UI tests in headless systems like Jenkins
|
|
libyui-terminal rake test:unit
|
|
|
|
%install
|
|
rake install DESTDIR="%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{yast_dir}/clients/*.rb
|
|
%{yast_dir}/lib
|
|
%{yast_desktopdir}/journal.desktop
|
|
|
|
%doc COPYING
|
|
%doc README.md
|
|
|
|
%build
|
|
|
|
%changelog
|