File emutos.spec of Package emutos
#
# spec file for package emutos
#
# Copyright (c) 2019 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 https://bugs.opensuse.org/
#
Name: emutos
Version: 0.9.12
Release: 0
Summary: GEMDOS-compatible OS for Atari ST Emulators
License: GPL-2.0-or-later
URL: http://emutos.sourceforge.net
Source0: https://sourceforge.net/projects/emutos/files/emutos/%{version}/%{name}-192k-%{version}.zip
Source1: https://sourceforge.net/projects/emutos/files/emutos/%{version}/%{name}-256k-%{version}.zip
Source2: https://sourceforge.net/projects/emutos/files/emutos/%{version}/%{name}-512k-%{version}.zip
Source3: https://sourceforge.net/projects/emutos/files/emutos/%{version}/%{name}-src-%{version}.tar.gz
BuildRequires: dos2unix
BuildRequires: unzip
BuildArch: noarch
%description
EmuTOS is a GEMDOS compatible operating system for Atari ST series
computers. It is made from Digital Research's GPLed original sources and
will be a free and open source replacement for common TOS images.
%prep
%setup -q -c -T
unzip %{SOURCE0}
unzip -o %{SOURCE1}
unzip -o %{SOURCE2}
dos2unix %{name}-512k-%{version}/doc/*.txt %{name}-512k-%{version}/readme.txt
%build
# build section
%install
mkdir -p %{buildroot}%{_datadir}/emutos
cp -a %{name}-192k-%{version}/*.img %{name}-256k-%{version}/*.img %{name}-512k-%{version}/*.img %{buildroot}%{_datadir}/emutos
%files
%doc %{name}-512k-%{version}/doc/* %{name}-512k-%{version}/readme.txt
%{_datadir}/emutos
%changelog