File skelcd-control-openSUSE-LangAddOn.spec of Package skelcd-control-openSUSE-LangAddOn
#
# spec file for package skelcd-control-openSUSE-LangAddOn
#
# Copyright (c) 2013 SUSE LINUX Products 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: skelcd-control-openSUSE-LangAddOn
BuildRequires: libxml2
# control.rnc
BuildRequires: yast2-installation-control
Url: http://www.suse.com/
AutoReqProv: off
Version: 2008.12.5
Release: 0
Summary: skelcd for lang-addons
License: GPL-2.0+
Group: Metapackages
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: installation.xml
Provides: product_control
BuildArch: noarch
%description
skelcd for lang-addons
%prep
%install
#
# Add control file
#
mkdir -p $RPM_BUILD_ROOT/CD1
#
# Verify syntax
#
xmllint --relaxng /usr/share/YaST2/control/control.rng --noout $RPM_SOURCE_DIR/installation.xml
cp $RPM_SOURCE_DIR/installation.xml $RPM_BUILD_ROOT/CD1/
%files
%defattr(644,root,root,755)
/CD1
%changelog