]> git.pld-linux.org Git - packages/Atari800.git/blobdiff - Atari800.spec
- BR: am
[packages/Atari800.git] / Atari800.spec
index 5e2d6b3ff926bf03a18d0949748a1e1e0f2f4a96..81d88f94e9a0329f3386217f1e3b4c4ab8a884ea 100644 (file)
@@ -3,18 +3,15 @@
 %bcond_with    license_agreement       # with unzipped ROM files instead of xf25.zip
 %bcond_without svga                    # without SVGA version
 #
-%ifnarch %{ix86} alpha ppc
-%undefine      with_svga
-%endif
 Summary:       Atari 800 Emulator
 Summary(pl):   Emulator Atari 800
 Name:          Atari800
-Version:       1.3.1
-Release:       3
+Version:       1.3.6
+Release:       1
 License:       GPL (Atari800), distributable if unmodified (xf25 with ROMs)
 Group:         Applications/Emulators
 Source0:       http://dl.sourceforge.net/atari800/atari800-%{version}.tar.gz
-# Source0-md5: 02c824a4648732a3646d377ee02efd7d
+# Source0-md5: 98b58d26aabeedb124233787677c32c3
 # NOTE: ROMs probably can be redistributed only in original XF25 archive
 Source1:       http://joy.sophics.cz/www/xf25.zip
 # Source1-md5: 4dc3b6b4313e9596c4d474785a37b94d
@@ -22,13 +19,8 @@ Source2:     %{name}-chooser
 URL:           http://atari800.atari.org/
 BuildRequires: SDL-devel
 BuildRequires: XFree86-devel
-%if %{with svga}
-%ifarch ppc
-BuildRequires: svgalib4ggi-devel
-%else
-BuildRequires: svgalib-devel
-%endif
-%endif
+BuildRequires: automake
+%{?with_svga:BuildRequires:    svgalib-devel}
 %if %{with license_agreement}
 BuildRequires: unzip
 %endif
@@ -136,6 +128,8 @@ obs
 
 %build
 cd src
+rm config.sub
+cp -f /usr/share/automake/config.sub .
 
 CFLAGS="%{rpmcflags}"
 
@@ -248,13 +242,16 @@ rm -rf $RPM_BUILD_ROOT
 %if %{without license_agreement}
 %post common
 cd %{_datadir}/atari800
-unzip -q -L xf25.zip
+if [ "`echo *.rom`" = "*.rom" ]; then
+       umask 022
+       unzip -q -L xf25.zip
+       rm -f xf25.doc xf25.exe
+fi
 %endif
 
 %files common
 %defattr(644,root,root,755)
-%doc DOC/{BUGS,CHANGES,CREDITS,FAQ,README,TODO,USAGE} README.1ST
-%doc DOC/{LPTjoy.txt,cart.txt,emuos.txt,pokeysnd.txt}
+%doc DOC/{BUGS,CREDITS,ChangeLog,FAQ,NEWS,README,TODO,USAGE,*.txt} README.1ST
 %attr(755,root,root) %{_bindir}/atari800
 %{_datadir}/atari800
 %{_mandir}/man1/atari800.1*
This page took 0.114144 seconds and 4 git commands to generate.