-
Notifications
You must be signed in to change notification settings - Fork 14
/
yast2-storage.spec
147 lines (121 loc) · 4.09 KB
/
yast2-storage.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
#
# spec file for package yast2-storage
#
# Copyright (c) 2016 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-storage
Version: 3.1.99
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
Group: System/YaST
License: GPL-2.0
BuildRequires: docbook-xsl-stylesheets
BuildRequires: doxygen
BuildRequires: gcc-c++ libtool
BuildRequires: libstorage-devel >= 2.26.6
BuildRequires: libstorage-ruby >= 2.25.36
BuildRequires: libxslt
BuildRequires: perl-XML-Writer
BuildRequires: rubygem(rspec)
BuildRequires: rubygem(ruby-dbus)
BuildRequires: sgml-skel
BuildRequires: update-desktop-files
BuildRequires: yast2 >= 3.1.22
BuildRequires: yast2-core-devel >= 2.23.1
BuildRequires: yast2-devtools >= 3.1.10
BuildRequires: yast2-ruby-bindings >= 3.1.7
BuildRequires: yast2-testsuite >= 2.19.0
Requires: libstorage-ruby >= 2.26.1
Requires: libstorage7 >= 2.26.6
Requires: rubygem(%{rb_default_ruby_abi}:ruby-dbus)
Requires: yast2 >= 3.1.22
Requires: yast2-core >= 2.18.3
Requires: yast2-libyui >= 2.18.7
%ifarch s390 s390x
Requires: yast2-s390
%endif
PreReq: %fillup_prereq
Provides: y2a_fdsk yast2-config-disk
Obsoletes: y2a_fdsk yast2-config-disk
Provides: yast2-agent-fdisk yast2-agent-fdisk-devel
Obsoletes: yast2-agent-fdisk yast2-agent-fdisk-devel
Provides: yast2-trans-inst-partitioning
Obsoletes: yast2-trans-inst-partitioning
Provides: y2t_inst-partitioning
Obsoletes: y2t_inst-partitioning
Requires: yast2-ruby-bindings >= 3.1.7
Summary: YaST2 - Storage Configuration
Url: http://github.com/yast/yast-storage/
%description
This package contains the files for YaST2 that handle access to disk
devices during installation and on an installed system.
%prep
%setup -n %{name}-%{version}
%build
%yast_build
%install
%yast_install
rm -f $RPM_BUILD_ROOT/%{yast_plugindir}/libpy2StorageCallbacks.la
rm -f $RPM_BUILD_ROOT/%{yast_plugindir}/libpy2StorageCallbacks.so
%post
%{fillup_only -an storage}
%files
%defattr(-,root,root)
# storage
%dir %{yast_yncludedir}/partitioning
%{yast_yncludedir}/partitioning/*.rb
%{yast_clientdir}/inst_custom_part.rb
%{yast_clientdir}/inst_resize_ui.rb
%{yast_clientdir}/inst_resize_dialog.rb
%{yast_clientdir}/inst_disk.rb
%{yast_clientdir}/inst_target_part.rb
%{yast_clientdir}/inst_disk_proposal.rb
%{yast_clientdir}/inst_target_selection.rb
%{yast_clientdir}/inst_prepdisk.rb
%{yast_clientdir}/storage_finish.rb
%{yast_clientdir}/partitions_proposal.rb
%{yast_clientdir}/storage.rb
%{yast_clientdir}/disk.rb
%{yast_clientdir}/disk_worker.rb
%{yast_clientdir}/multipath-simple.rb
%{yast_moduledir}/*
%dir %{yast_libdir}/storage
%{yast_libdir}/storage/*.rb
/var/adm/fillup-templates/sysconfig.storage-yast2-storage
%dir %{yast_ydatadir}
%{yast_ydatadir}/*.ycp
%doc %dir %{yast_docdir}
%doc %{yast_docdir}/README*
%doc %{yast_docdir}/COPY*
# agents-scr
%{yast_scrconfdir}/*.scr
# libstorage ycp callbacks
%{yast_plugindir}/libpy2StorageCallbacks.so.*
# disk
%dir %{yast_desktopdir}
%{yast_desktopdir}/disk.desktop
# scripts
%{yast_ybindir}/check.boot
%package devel
Requires: libstdc++-devel
Requires: libstorage-devel = %(echo `rpm -q --queryformat '%{VERSION}' libstorage-devel`)
Requires: yast2-storage = %version
Summary: YaST2 - Storage Library Headers and Documentation
Group: Development/Libraries/YaST
%description devel
This package contains the files for YaST2 that are needed if one wants
to develop a program using yast2-storage.
%files devel
%defattr(-,root,root)
%doc %{yast_docdir}/config.xml.description