Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Rings:1-MinimalX
skelcd-control-openSUSE
skelcd-control-openSUSE.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File skelcd-control-openSUSE.spec of Package skelcd-control-openSUSE
# # spec file for package skelcd-control-openSUSE # # Copyright (c) 2015 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/ # ###################################################################### # # IMPORTANT: Please do not change the control file or this spec file # in build service directly, use # https://github.com/yast/skelcd-control-openSUSE repository # # See https://github.com/yast/skelcd-control-openSUSE/blob/master/CONTRIBUTING.md # for more details. # ###################################################################### Name: skelcd-control-openSUSE Version: 42.1.1 Release: 0 Summary: The openSUSE Installation Control file License: MIT Group: Metapackages Url: https://github.com/yast/skelcd-control-openSUSE Source: skelcd-control-openSUSE-%{version}.tar.bz2 # we do not distribute it, but need to have it here, otherwise build service checks complain Source99: README.md Patch0: remove_minimal-conflicts.patch # xmllint BuildRequires: libxml2-tools # xsltproc BuildRequires: libxslt-tools # RNG schema BuildRequires: yast2-installation-control >= 3.1.7 ###################################################################### # # Here is the list of Yast packages which are needed in the # installation system (inst-sys) for the Yast installer # # Generic Yast packages needed for the installer # ###################################################################### Requires: autoyast2 Requires: yast2-add-on Requires: yast2-fcoe-client # For creating the AutoYast profile at the end of installation (bnc#887406) Requires: yast2-firewall Requires: yast2-iscsi-client Requires: yast2-kdump Requires: yast2-multipath Requires: yast2-network >= 3.1.24 Requires: yast2-nfs-client Requires: yast2-ntp-client Requires: yast2-proxy # this is the default theme Requires: yast2-qt-branding-openSUSE Requires: yast2-services-manager Requires: yast2-slp Requires: yast2-theme-openSUSE-Oxygen Requires: yast2-trans-stats Requires: yast2-tune Requires: yast2-update Requires: yast2-users Requires: yast2-x11 Conflicts: product_control Provides: product_control BuildRoot: %{_tmppath}/%{name}-%{version}-build # Architecture specific packages %ifarch %ix86 x86_64 Requires: yast2-vm %endif %description This package contains the control file used for openSUSE installation. %prep %setup -q -n skelcd-control-openSUSE-%{version} %patch0 -p1 %build make %{?_smp_mflags} -C control %check make %{?_smp_mflags} -C control check %install # # Add control file # mkdir -p %{buildroot}/CD1 %if "%{name}" == "skelcd-control-openSUSE-promo" CONTROL_FILE=control.openSUSE-promo.xml %else CONTROL_FILE=control.openSUSE.xml %endif install -m 644 control/$CONTROL_FILE %{buildroot}/CD1/control.xml %ifarch aarch64 %arm ppc ppc64 ppc64le %ifarch ppc ppc64 ppc64le ports_arch="ppc" %else ports_arch="%{_arch}" %endif sed -i -e "s,http://download.opensuse.org/distribution/,http://download.opensuse.org/ports/$ports_arch/distribution/," %{buildroot}/CD1/control.xml sed -i -e "s,http://download.opensuse.org/tumbleweed/,http://download.opensuse.org/ports/$ports_arch/tumbleweed/," %{buildroot}/CD1/control.xml sed -i -e "s,http://download.opensuse.org/debug/,http://download.opensuse.org/ports/$ports_arch/debug/," %{buildroot}/CD1/control.xml sed -i -e "s,http://download.opensuse.org/source/,http://download.opensuse.org/ports/$ports_arch/source/," %{buildroot}/CD1/control.xml sed -i -e "s,http://download.opensuse.org/update/tumbleweed/,http://download.opensuse.org/update/tumbleweed/," %{buildroot}/CD1/control.xml #we parse out non existing non-oss repo for ports xsltproc -o %{buildroot}/CD1/control_ports.xml control/nonoss.xsl %{buildroot}/CD1/control.xml mv %{buildroot}/CD1/control{_ports,}.xml xmllint --noout --relaxng %{_datadir}/YaST2/control/control.rng %{buildroot}/CD1/control.xml %endif %files %defattr(644,root,root,755) %dir /CD1 /CD1/control.xml %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor