File dosutils.spec of Package dosutils
#
# spec file for package dosutils
#
# Copyright (c) 2011 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: dosutils
BuildRequires: recode unzip
License: GPL-2.0+ ; MIT
Group: Metapackages
AutoReqProv: off
Summary: Dosutils CD Directory -- Meta Package
Version: 2010.11.10
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: dosutils.tar.bz2
%description
The dosutils CD dir -- meta package.
%prep
%setup -n dosutils
%build
for i in LIESMICH README ; do
cp $i $i.DOS
recode lat1..ibmpc $i.DOS
done
%install
ls -l
rm -Rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/CD1/dosutils
%ifarch alpha ppc ppc64 sparc
cp -a putty $RPM_BUILD_ROOT/CD1/dosutils
%endif
%ifarch ppc ppc64 s390 s390x
cp -a putty tightvnc $RPM_BUILD_ROOT/CD1/dosutils
%endif
%ifarch ppc ppc64
cp -a weirdx $RPM_BUILD_ROOT/CD1/dosutils
%endif
%ifarch %ix86 x86_64
cp -a * $RPM_BUILD_ROOT/CD1/dosutils
%endif
%files
%defattr(-,root,root)
/CD1
%changelog