yast2-bootloader/yast2-bootloader.spec
YaST Team Bot 4c9080bf39 - merge storage-ng branch to master
- note: all changes below with this date belong to the merge
- 3.3.1

- not everything is a disk, use libstorage's partitionable instead

- storage-ng: adapted calls to temporary y2storage_* methods, since
  they were finally removed from Y2Storage::StorageManager.

- storage-ng: adapt detection of PReP partition

- Merged master to storage-ng branch

- Adapt the module to use the new storage-ng during system cloning
  (bsc#1047245)

- storage-ng:
- implement detection of encrypted boot

- storage-ng: use new wrapper API

OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-bootloader?expand=0&rev=679
2017-08-11 14:32:14 +00:00

109 lines
3.0 KiB
RPMSpec

#
# spec file for package yast2-bootloader
#
# Copyright (c) 2017 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-bootloader
Version: 3.3.1
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
Url: http://github.com/yast/yast-bootloader
BuildRequires: yast2 >= 3.1.176
BuildRequires: yast2-devtools >= 3.1.10
BuildRequires: yast2-ruby-bindings >= 1.0.0
BuildRequires: yast2-storage-ng
# lenses needed also for tests
BuildRequires: augeas-lenses
BuildRequires: rubygem(%rb_default_ruby_abi:cfa_grub2) >= 0.5.1
BuildRequires: rubygem(%rb_default_ruby_abi:rspec)
BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake)
PreReq: /bin/sed %fillup_prereq
# Base classes for inst clients
Requires: parted
# Yast::Execute class
Requires: yast2 >= 3.1.176
Requires: yast2-core >= 2.18.7
Requires: yast2-packager >= 2.17.24
Requires: yast2-pkg-bindings >= 2.17.25
Requires: yast2-storage-ng
# GrubCfg with boot_entries that filter out unbootable entries
Requires: rubygem(%rb_default_ruby_abi:cfa_grub2) >= 0.5.1
# lenses are needed as cfa_grub2 depends only on augeas bindings, but also
# lenses are needed here
Requires: augeas-lenses
Requires: yast2-ruby-bindings >= 1.0.0
# only recommend syslinux, as it is not needed when generic mbr is not used (bsc#1004229)
%ifarch %ix86 x86_64
Recommends: syslinux
%endif
Summary: YaST2 - Bootloader Configuration
License: GPL-2.0+
Group: System/YaST
%description
This package contains the YaST2 component for bootloader configuration.
%prep
%setup -n %{name}-%{version}
%check
rake test:unit
%build
%install
rake install DESTDIR="%{buildroot}"
%post
%{fillup_only -n bootloader}
%files
%defattr(-,root,root)
# menu items
%dir %{yast_desktopdir}
%{yast_desktopdir}/bootloader.desktop
%dir %{yast_moduledir}
%{yast_moduledir}/*
%dir %{yast_clientdir}
%{yast_clientdir}/bootloader*.rb
%{yast_clientdir}/inst_*.rb
%dir %{yast_ybindir}
%{yast_ybindir}/*
%dir %{yast_scrconfdir}
%{yast_scrconfdir}/*.scr
%{yast_fillupdir}/*
%dir %{yast_schemadir}
%dir %{yast_schemadir}/autoyast
%dir %{yast_schemadir}/autoyast/rnc
%{yast_schemadir}/autoyast/rnc/bootloader.rnc
%{yast_libdir}/bootloader
%dir %{yast_docdir}
%doc %{yast_docdir}/COPYING
%doc %{yast_docdir}/README.md
%doc %{yast_docdir}/CONTRIBUTING.md
%changelog