File system-role-minimal-text.spec of Package system-role-minimal-text (Revision aa0db7aa5b4cc23e6f557ac4b7a7aef2)
Currently displaying revision aa0db7aa5b4cc23e6f557ac4b7a7aef2 , Show latest
xxxxxxxxxx
1
#
2
# spec file for package system-role-minimal-text
3
#
4
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
5
#
6
# All modifications and additions to the file contributed by third parties
7
# remain the property of their copyright owners, unless otherwise agreed
8
# upon. The license for this file, and modifications and additions to the
9
# file, is the same license as for the pristine package itself (unless the
10
# license for the pristine package is not an Open Source License, in which
11
# case the license is the MIT License). An "Open Source License" is a
12
# license that conforms to the Open Source Definition (Version 1.9)
13
# published by the Open Source Initiative.
14
15
# Please submit bugfixes or comments via http://bugs.opensuse.org/
16
#
17
18
19
######################################################################
20
#
21
# IMPORTANT: Please do not change the control file or this spec file
22
# in build service directly, use
23
# https://github.com/yast/system-role-minimal-text repository
24
#
25
# See https://github.com/yast/skelcd-control-server-role/blob/master/CONTRIBUTING.md
26
# for more details.
27
#
28
######################################################################
29
30
Name: system-role-minimal-text
31
# xmllint (for validation)
32
BuildRequires: libxml2-tools
33
# RNG validation schema
34
BuildRequires: yast2-installation-control >= 4.0.0
35
36
Url: https://github.com/yast/system-role-minimal-text
37
AutoReqProv: off
38
Version: 15.0.0
39
Release: 0
40
Summary: SLED minimal text role definition
41
License: MIT
42
Group: Metapackages
43
BuildRoot: %{_tmppath}/%{name}-%{version}-build
44
Source: %{name}-%{version}.tar.bz2
45
Provides: extension_for_product() = SLED
46
Provides: installer_module_extension() = system-role-minimal-text
47
48
%description
49
Meta package for SLED minimal text role definition.
50
It is not intended for installation.
51
52
%prep
53
54
%setup -n %{name}-%{version}
55
56
%check
57
#
58
# Verify syntax
59
#
60
make -C control check
61
62
%install
63
64
mkdir -p $RPM_BUILD_ROOT
65
#
66
# Add control file
67
#
68
install -m 644 control/installation.xml $RPM_BUILD_ROOT/
69
70
# install LICENSE (required by build service check)
71
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/share/doc/packages/%{name}
72
install -m 644 LICENSE $RPM_BUILD_ROOT/%{_prefix}/share/doc/packages/%{name}
73
74
%files
75
%defattr(644,root,root,755)
76
/installation.xml
77
%doc %dir %{_prefix}/share/doc/packages/%{name}
78
%doc %{_prefix}/share/doc/packages/%{name}/LICENSE
79
80
%changelog
81