2007-01-15 23:44:20 +00:00
|
|
|
#
|
2011-08-29 14:51:08 +00:00
|
|
|
# spec file for package yast2-firewall
|
2010-05-03 19:39:41 +00:00
|
|
|
#
|
2019-01-02 09:54:18 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-08-29 14:51:08 +00: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/
|
|
|
|
#
|
|
|
|
|
2011-08-29 11:16:09 +00:00
|
|
|
|
2011-08-29 14:51:08 +00:00
|
|
|
Name: yast2-firewall
|
2019-01-11 16:33:10 +00:00
|
|
|
Version: 4.1.7
|
2011-10-13 08:52:36 +00:00
|
|
|
Release: 0
|
2011-08-29 11:16:09 +00:00
|
|
|
|
2011-08-29 14:51:08 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-10-08 12:21:50 +00:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2011-08-29 11:16:09 +00:00
|
|
|
|
2013-01-22 10:19:36 +00:00
|
|
|
BuildRequires: perl-XML-Writer
|
|
|
|
BuildRequires: update-desktop-files
|
2013-12-11 12:55:45 +00:00
|
|
|
BuildRequires: yast2-devtools >= 3.1.10
|
2013-01-22 10:19:36 +00:00
|
|
|
BuildRequires: yast2-testsuite
|
2018-02-01 15:28:46 +00:00
|
|
|
|
2018-10-17 10:28:40 +00:00
|
|
|
# Y2Firewall::Firewalld#reset
|
|
|
|
BuildRequires: yast2 >= 4.1.21
|
2017-11-20 08:50:12 +00:00
|
|
|
BuildRequires: rubygem(%rb_default_ruby_abi:rspec)
|
|
|
|
BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake)
|
2008-03-28 16:15:37 +00:00
|
|
|
|
2018-10-17 10:28:40 +00:00
|
|
|
# Y2Firewall::Firewalld#reset
|
|
|
|
Requires: yast2 >= 4.1.21
|
2011-08-29 11:16:09 +00:00
|
|
|
|
2008-09-01 00:39:33 +00:00
|
|
|
# ButtonBox widget
|
2011-08-29 14:51:08 +00:00
|
|
|
Conflicts: yast2-ycp-ui-bindings < 2.17.3
|
2011-08-29 11:16:09 +00:00
|
|
|
|
2011-08-29 14:51:08 +00:00
|
|
|
Provides: yast2-config-firewall
|
|
|
|
Obsoletes: yast2-config-firewall
|
|
|
|
Provides: yast2-trans-firewall
|
|
|
|
Obsoletes: yast2-trans-firewall
|
2011-08-29 11:16:09 +00:00
|
|
|
|
2011-08-29 14:51:08 +00:00
|
|
|
BuildArch: noarch
|
2011-08-29 11:16:09 +00:00
|
|
|
|
2013-07-30 11:34:04 +00:00
|
|
|
Requires: yast2-ruby-bindings >= 1.0.0
|
|
|
|
|
2011-08-29 14:51:08 +00:00
|
|
|
Summary: YaST2 - Firewall Configuration
|
2018-08-22 08:24:21 +00:00
|
|
|
License: GPL-2.0-only
|
2013-01-22 10:19:36 +00:00
|
|
|
Group: System/YaST
|
2007-01-15 23:44:20 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A YaST2 module to be used for configuring a firewall.
|
|
|
|
|
|
|
|
%prep
|
2013-10-08 12:21:50 +00:00
|
|
|
%setup -n %{name}-%{version}
|
2007-01-15 23:44:20 +00:00
|
|
|
|
2017-11-03 14:44:09 +00:00
|
|
|
%check
|
|
|
|
rake test:unit
|
|
|
|
|
2007-01-15 23:44:20 +00:00
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2017-11-03 14:44:09 +00:00
|
|
|
rake install DESTDIR="%{buildroot}"
|
2007-01-15 23:44:20 +00:00
|
|
|
|
2018-08-22 08:24:21 +00:00
|
|
|
# Remove the license from the /usr/share/doc/packages directory,
|
|
|
|
# it is also included in the /usr/share/licenses directory by using
|
|
|
|
# the %license tag.
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{yast_docdir}/COPYING
|
|
|
|
|
2007-01-15 23:44:20 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2017-11-03 14:44:09 +00:00
|
|
|
%{yast_dir}/clients/*.rb
|
|
|
|
%{yast_dir}/lib
|
|
|
|
%{yast_desktopdir}/*.desktop
|
2013-10-08 12:21:50 +00:00
|
|
|
%{yast_schemadir}/autoyast/rnc/firewall.rnc
|
2018-11-28 12:02:34 +00:00
|
|
|
%{yast_icondir}
|
2017-11-03 14:44:09 +00:00
|
|
|
|
2018-08-22 08:24:21 +00:00
|
|
|
%license COPYING
|
2017-11-03 14:44:09 +00:00
|
|
|
%doc README.md
|
|
|
|
%doc CONTRIBUTING.md
|
2011-10-13 08:52:36 +00:00
|
|
|
|
2011-08-29 14:51:08 +00:00
|
|
|
%changelog
|