File dice-libs.spec of Package dice-libs

#
# spec file for package spec (Version 2.0)
#
# Copyright (c) 2003 SuSE Linux AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#

# norootforbuild

Name:         dice-libs
License:      COPYRIGHT
Group:        unsorted
Autoreqprov:  on
Version:      3.15
Release:      0
Summary:      AmigaOS 1.x cross-toolchain (libraries)
Source:       dice-rel-%version.tgz
Patch:        dice.patch
BuildRequires: dice
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch

%description
m68k cross-toolchain creating binaries suitable
for AmigaOS 1.x. (library package)

%prep
%setup -n dice-rel-%version
%patch -p1

%define dicedir /usr/lib/dice
%build
export PATH=%dicedir/bin:$PATH
cd lib
dmake -f DMakefile.unix amiga13
dmake -f DMakefile.unix all
lbmake amiga13 s
lbmake amiga13 l
lbmake auto l
cd ..

%install
%define idicedir $RPM_BUILD_ROOT%dicedir
mkdir -p %idicedir
cp -a dlib %idicedir

%files
%defattr(-,root,root)
%dicedir

%changelog
* Tue Oct 30 2007 - uli@suse.de
- make package noarch
openSUSE Build Service is sponsored by