forked from yast/yast-yast2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyast2.spec.in
214 lines (176 loc) · 5.6 KB
/
yast2.spec.in
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
@HEADER-COMMENT@
@HEADER@
Group: System/YaST
License: GPL-2.0
Source1: yast2-rpmlintrc
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-perl-bindings yast2-testsuite
# Needed already in build time
BuildRequires: yast2-core >= 2.18.12 yast2-pkg-bindings >= 2.20.3 yast2-ycp-ui-bindings >= 2.18.4
# pre-requires for filling the sysconfig template (sysconfig.yast2)
PreReq: %fillup_prereq
# ag_ini section_private
# ag_ini with (un)quoting support
Requires: yast2-core >= 2.23.0
# Mod_UI
# new UI::OpenContextMenu
Requires: yast2-ycp-ui-bindings >= 2.18.4
# changed StartPackage callback signature
Requires: yast2-pkg-bindings >= 2.20.3
Requires: yui_backend
# For Cron Agent, Module
Requires: perl-Config-Crontab
# for ag_tty (/bin/stty)
# for /usr/bin/md5sum
Requires: coreutils sysconfig
Requires: yast2-xml yast2-hardware-detection
# for SLPAPI.pm
Requires: yast2-perl-bindings
# for ag_anyxml, RegistrationStatus.pm
Requires: perl-XML-Simple
# for GPG.ycp
Requires: gpg2
# for Punycode.ycp (bnc#651893)
Requires: bind-utils
# xdg-su in .desktops
Recommends: xdg-utils
# moved cfg_security.scr
Conflicts: yast2-security <= 2.13.2
# moved ag_netd, cfg_netd.scr, cfg_xinetd.scr
Conflicts: yast2-inetd <= 2.13.4
Conflicts: yast2-tune < 2.15.6
Obsoletes: yast2-mail-aliases <= 2.14.0
Conflicts: yast2-storage < 2.16.4
Conflicts: yast2-network < 2.16.6
Conflicts: yast2-sshd < 2.16.1
# moved ag_content agent
Conflicts: yast2-instserver <= 2.16.3
# moved RegistrationStatus.pm here from wagon (fate#312712)
Conflicts: yast2-wagon <= 2.22.2
# InstError
Conflicts: yast2-installation < 2.18.5
Conflicts: yast2-update < 2.16.1
# Modules 'Slides' and 'SlideShow' moved from yast2-packager to yast2
Conflicts: yast2-packager < 2.17.12
Conflicts: yast2-mouse < 2.16.0
Conflicts: autoyast2-installation < 2.16.2
# country_long.ycp and country.ycp moved to yast2
Conflicts: yast2-country < 2.16.3
# DnsServerAPI moved to yast2.rpm (by mzugec)
Conflicts: yast2-dns-server < 2.17.0
Provides: yast2-lib-sequencer
Obsoletes: yast2-lib-sequencer
Provides: yast2-lib-wizard yast2-lib-wizard-devel yast2-trans-wizard
Obsoletes: yast2-lib-wizard yast2-lib-wizard-devel yast2-trans-wizard
Provides: yast2-trans-menu y2t_menu
Obsoletes: yast2-trans-menu y2t_menu
# moved here from another packages
Provides: yast2-installation:/usr/share/YaST2/modules/Installation.ycp
Provides: yast2-installation:/usr/share/YaST2/modules/Product.ycp
Provides: yast2-installation:/usr/share/YaST2/modules/Hotplug.ycp
Provides: yast2-installation:/usr/share/YaST2/modules/HwStatus.ycp
Provides: yast2-network:/usr/share/YaST2/modules/Internet.ycp
Provides: yast2-packager:/usr/lib/YaST2/servers_non_y2/ag_anyxml
Provides: yast2-dns-server:/usr/share/YaST2/modules/DnsServerAPI.pm
Provides: yast2-mail-aliases
Summary: YaST2 - Main Package
%description
This package contains scripts and data needed for SuSE Linux
installation with YaST2
%package devel-doc
Requires: yast2 = %version
Group: System/YaST
Provides: yast2-lib-sequencer-devel
Obsoletes: yast2-lib-sequencer-devel
Obsoletes: yast2-devel
Provides: yast2-devel
Requires: yast2-core-devel
Summary: YaST2 - Development Scripts and Documentation
%description devel-doc
This package contains scripts and data needed for a SUSE Linux
installation with YaST2.
@PREP@
@BUILD@
# removed explicit adding of translations to group desktop files, since it is covered by the general call (they are in a subdirectory) and it caused build fail
@INSTALL@
mkdir -p "$RPM_BUILD_ROOT"@clientdir@
mkdir -p "$RPM_BUILD_ROOT"@desktopdir@
mkdir -p "$RPM_BUILD_ROOT"@imagedir@
mkdir -p "$RPM_BUILD_ROOT"@localedir@
mkdir -p "$RPM_BUILD_ROOT"@moduledir@
mkdir -p "$RPM_BUILD_ROOT"@scrconfdir@
mkdir -p "$RPM_BUILD_ROOT"@ybindir@
mkdir -p "$RPM_BUILD_ROOT"@ydatadir@
mkdir -p "$RPM_BUILD_ROOT"@yncludedir@
mkdir -p "$RPM_BUILD_ROOT"@vardir@
mkdir -p "$RPM_BUILD_ROOT"@schemadir@/control/rnc
mkdir -p "$RPM_BUILD_ROOT"@schemadir@/autoyast/rnc
mkdir -p "$RPM_BUILD_ROOT"/etc/YaST2
@CLEAN@
%post
%{fillup_only -n yast2}
%files
%defattr(-,root,root)
# basic directory structure
%dir @clientdir@
%dir @desktopdir@
@desktopdir@/groups
%dir @imagedir@
%dir @localedir@
%dir @moduledir@
%dir @scrconfdir@
%dir @ybindir@
%dir @ydatadir@
%dir @yncludedir@
%dir @vardir@
%dir @schemadir@
%dir @schemadir@/control
%dir @schemadir@/control/rnc
%dir @schemadir@/autoyast
%dir @schemadir@/autoyast/rnc
%dir /etc/YaST2
# yast2
@ydatadir@/*.ycp
@clientdir@/*
@moduledir@/*
@scrconfdir@/*
@ybindir@/*
@agentdir@/ag_*
/etc/bash_completion.d/yast2*.sh
/etc/YaST2/XVersion
/var/adm/fillup-templates/sysconfig.yast2
# documentation (not included in devel subpackage)
%doc %dir @docdir@
%doc @docdir@/COPYING
%doc @docdir@/README
%doc %{_mandir}/*/*
/sbin/*
# wizard
%dir @yncludedir@/wizard
@yncludedir@/wizard/*.ycp
#packags
%dir @yncludedir@/packages
@yncludedir@/packages/*.ycp
#system
%dir @yncludedir@/hwinfo
@yncludedir@/hwinfo/*.ycp
@desktopdir@/messages.desktop
# documentation
%files devel-doc
%defattr(-,root,root)
%doc @docdir@/autodocs
%doc @docdir@/commandline
%doc @docdir@/control
%doc @docdir@/cron
%doc @docdir@/cwm
%doc @docdir@/desktop
%doc @docdir@/gpg
%doc @docdir@/log
%doc @docdir@/network
%doc @docdir@/packages
%doc @docdir@/runlevel
%doc @docdir@/sequencer
%doc @docdir@/system
%doc @docdir@/types
%doc @docdir@/wizard
%doc @docdir@/xml
%changelog