From 66563b7144592f5902b5ae56a567457ef01155d9 Mon Sep 17 00:00:00 2001 From: Dan Horák Date: Aug 25 2021 16:58:55 +0000 Subject: - updated to version 1.84 - modernized spec --- diff --git a/.gitignore b/.gitignore index f15fde3..443dc58 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ atari++_1.58.tar.gz /basic++doc.pdf /atari++_1.81.tar.gz /atari++_1.83.tar.gz +/atari++_1.84.tar.gz diff --git a/atari++.spec b/atari++.spec index 2310dfc..35f9607 100644 --- a/atari++.spec +++ b/atari++.spec @@ -1,7 +1,7 @@ Name: atari++ -Version: 1.83 -Release: 4%{?dist} -Summary: Unix based emulator of the Atari eight bit computers +Version: 1.84 +Release: 1%{?dist} +Summary: Unix based emulator of the Atari 8-bit computers License: TPL URL: http://www.xl-project.com/ @@ -23,11 +23,11 @@ BuildRequires: zlib-devel BuildRequires: ncurses-devel BuildRequires: libpng-devel BuildRequires: desktop-file-utils -BuildRequires: make +BuildRequires: make %description -The Atari++ Emulator is a Unix based emulator of the Atari eight bit +The Atari++ Emulator is a Unix based emulator of the Atari 8-bit computers, namely the Atari 400 and 800, the Atari 400XL, 800XL and 130XE, and the Atari 5200 game console. The emulator is auto-configurable and will compile on a variety of systems (Linux, Solaris, Irix). @@ -36,8 +36,7 @@ the AtariXL operating system closely. %prep -%setup -q -n %{name} -%patch1 -p1 -b .verbose +%autosetup -p1 -n %{name} # fix encoding f=README.History @@ -55,31 +54,32 @@ cp -p %{SOURCE2} . %build %configure -make %{?_smp_mflags} OPTIMIZER="$RPM_OPT_FLAGS -DDEBUG_LEVEL=0 -DCHECK_LEVEL=0" V=1 +%{make_build} OPTIMIZER="%{build_cflags} -DDEBUG_LEVEL=0 -DCHECK_LEVEL=0" LDFLAGS="%{build_ldflags} -lSDL" %install -make install DESTDIR=$RPM_BUILD_ROOT +make install DESTDIR=%{buildroot} # remove installed docs -rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} +rm -rf %{buildroot}%{_docdir}/%{name} # install system disk into %%_datadir -mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name} -install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/%{name} +mkdir -p %{buildroot}%{_datadir}/%{name} +install -p -m 644 %{SOURCE3} %{buildroot}%{_datadir}/%{name} # install icon -mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps -install -p -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/pixmaps +mkdir -p %{buildroot}%{_datadir}/pixmaps +install -p -m 644 %{SOURCE5} %{buildroot}%{_datadir}/pixmaps # desktop file desktop-file-install \ - --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + --dir %{buildroot}%{_datadir}/applications \ %{SOURCE4} %files -%doc COPYRIGHT CREDITS README.LEGAL README.History README.licence manual +%license COPYRIGHT +%doc CREDITS README.LEGAL README.History README.licence manual %doc os++doc.pdf basic++doc.pdf %{_bindir}/%{name} %{_mandir}/man6/%{name}.* @@ -89,6 +89,10 @@ desktop-file-install \ %changelog +* Wed Aug 25 2021 Dan Horák - 1.84-1 +- updated to version 1.84 +- modernized spec + * Wed Jul 21 2021 Fedora Release Engineering - 1.83-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 47d3b75..96dd991 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (atari++_1.83.tar.gz) = 5f209bb01f2c19b911ab315f078c01c10b6641980f5d153834f854efd32a26b8bf6f63b758ab26f1f9e003421cafaa52bcc28be7e1f248e0b2cbf4159f9c7298 +SHA512 (atari++_1.84.tar.gz) = 9357fa313e289360d7a4d99f6762bd84d9d07db10cf2fe7d0b6a278d8696fa8b4544949714e603d71e09b8b31e146bd46bdf1097fb1506c4b39e8fb8ca43b7eb SHA512 (os++doc.pdf) = 1cb1729ece08417e265809c13d28a5186e0aaacccf7dcd1a188389f634e5d8108e331d43b8cefb6c4dfde120ce939c0794c4783ce78cf095f49744b2f011fe4d SHA512 (basic++doc.pdf) = ebcfc4bfa7b0eb97529055a07258a5e7be900f9518073afaadfc4d80e261eba1da8f8d42216d12d7079d614629ceb0f5e6c8b9b6f117c45efbd325d3d40c8d0b SHA512 (system.atr) = c6cb5ae61a592279d4dc9cb88b35c715552eb9ef9ed78b368dfaf3581b4f5946f65b84371581975420cb90bbf61208b77d66a6a630d2da5cde058bed17fe834f