2012-01-31 14:56:40 +00:00
|
|
|
#
|
|
|
|
# spec file for package yast2-security
|
|
|
|
#
|
2018-04-11 08:36:14 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-01-31 14:56:40 +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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: yast2-security
|
2018-08-23 16:06:11 +00:00
|
|
|
Version: 4.1.0
|
2012-01-31 14:56:40 +00:00
|
|
|
Release: 0
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-10-08 13:14:57 +00:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2012-01-31 14:56:40 +00:00
|
|
|
|
2012-03-26 08:38:57 +00:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: perl-XML-Writer
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: update-desktop-files
|
2013-12-11 12:31:03 +00:00
|
|
|
BuildRequires: yast2-devtools >= 3.1.10
|
2012-03-26 08:38:57 +00:00
|
|
|
BuildRequires: yast2-pam
|
2016-03-14 17:55:58 +00:00
|
|
|
BuildRequires: rubygem(rspec)
|
|
|
|
BuildRequires: rubygem(yast-rake) >= 0.2.5
|
2018-08-23 16:06:11 +00:00
|
|
|
# Yast2::Systemd::Service
|
|
|
|
BuildRequires: yast2 >= 4.1.3
|
2012-01-31 14:56:40 +00:00
|
|
|
|
|
|
|
# new Pam.ycp API
|
|
|
|
Requires: yast2-pam >= 2.14.0
|
|
|
|
|
2018-08-23 16:06:11 +00:00
|
|
|
# Yast2::Systemd::Service
|
|
|
|
Requires: yast2 >= 4.1.3
|
2012-01-31 14:56:40 +00:00
|
|
|
|
2012-03-26 08:38:57 +00:00
|
|
|
Provides: y2c_sec
|
|
|
|
Provides: yast2-config-security
|
|
|
|
Obsoletes: y2c_sec
|
|
|
|
Obsoletes: yast2-config-security
|
|
|
|
Provides: y2t_sec
|
|
|
|
Provides: yast2-trans-security
|
|
|
|
Obsoletes: y2t_sec
|
|
|
|
Obsoletes: yast2-trans-security
|
2012-01-31 14:56:40 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2013-07-31 10:57:54 +00:00
|
|
|
Requires: yast2-ruby-bindings >= 1.0.0
|
|
|
|
|
2016-03-14 17:55:58 +00:00
|
|
|
# Unfortunately we cannot move this to macros.yast,
|
|
|
|
# bcond within macros are ignored by osc/OBS.
|
|
|
|
%bcond_with yast_run_ci_tests
|
|
|
|
%if %{with yast_run_ci_tests}
|
|
|
|
BuildRequires: rubygem(yast-rake-ci)
|
|
|
|
%endif
|
|
|
|
|
2012-01-31 14:56:40 +00:00
|
|
|
Summary: YaST2 - Security Configuration
|
2018-08-22 07:38:54 +00:00
|
|
|
License: GPL-2.0-only
|
2012-03-26 08:38:57 +00:00
|
|
|
Group: System/YaST
|
2012-01-31 14:56:40 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The YaST2 component for security settings configuration.
|
|
|
|
|
|
|
|
%prep
|
2013-10-08 13:14:57 +00:00
|
|
|
%setup -n %{name}-%{version}
|
2012-01-31 14:56:40 +00:00
|
|
|
|
|
|
|
%build
|
2016-03-14 17:55:58 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
%yast_check
|
2012-01-31 14:56:40 +00:00
|
|
|
|
|
|
|
%install
|
2013-10-08 13:14:57 +00:00
|
|
|
%yast_install
|
2012-01-31 14:56:40 +00:00
|
|
|
|
2013-03-12 12:17:00 +00:00
|
|
|
%post
|
|
|
|
# remove broken entry in /etc/login.defs, introduced during installation (bnc#807099)
|
|
|
|
if [ -f /etc/login.defs ] ; then
|
|
|
|
sed -e '/^[ \t]*LASTLOG_ENAB[ \t]*\"\"/d' -i /etc/login.defs
|
|
|
|
fi
|
|
|
|
|
2012-01-31 14:56:40 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2013-10-08 13:14:57 +00:00
|
|
|
%dir %{yast_yncludedir}/security
|
|
|
|
%{yast_yncludedir}/security/*
|
|
|
|
%{yast_desktopdir}/security.desktop
|
|
|
|
%{yast_clientdir}/security*.rb
|
|
|
|
%{yast_moduledir}/Security.rb
|
|
|
|
%{yast_scrconfdir}/*.scr
|
|
|
|
%{yast_schemadir}/autoyast/rnc/security.rnc
|
2015-06-12 15:32:12 +00:00
|
|
|
%{yast_ydatadir}/security
|
2016-03-02 12:27:03 +00:00
|
|
|
%{yast_libdir}/security
|
2013-10-08 13:14:57 +00:00
|
|
|
%doc %{yast_docdir}
|
2012-01-31 14:56:40 +00:00
|
|
|
|
|
|
|
%changelog
|