%define _tgtbuild mzx281h Summary: A character-driven game creation system, loosely based upon Epic Megagames' ZZT Name: megazeux Version: 281h Release: 1 License: GPLv2 URL: http://megazeux.sorceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{_tgtbuild}src.tar.bz2 Patch0: %{name}-%{version}-fixmake.patch Group: Amusements/Games BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libogg-devel BuildRequires: libvorbis-devel BuildRequires: SDL-devel %description Megazeux is a text-character driven game creation system, driven by a simplified object-oriented programming language known as Robotic and loosely inspired by ZZT, the classic Epic Megagames title. Over the nearly 15 years that Megazeux has been extant, a large user community has grown, producing a vast array of games utilizing the unique flexibilities of the Robotic engine. Everything from adventure games to 3-D shooters have been implemented in Megazeux, and due to its inherent simplicity, even beginners can Megazeux includes a built-in game editor, and features support for MOD, S3M, and OGG music files and OGG and SAM sound files. To ensure platform cross-compatibility, it utilizes the SDL engine for its graphics and sound features. %prep %setup -q -n %{_tgtbuild} %patch -p1 %build #We don't use %config(noreplace) here because the config.sh file for #Megazeux was homegrown and does not conform to the standard distutils #config file format. ./config.sh --platform linux make %{?_smp_mflags} %install rm -rf %{buildroot} make DESTDIR=%{buildroot} install %files %defattr(-,root,root,-) %config %{_sysconfdir}/%{name}-config %{_datadir}/%{name} %{_bindir}/%{_tgtbuild} %{_bindir}/%{name} %clean rm -rf %{buildroot} %changelog * Thu Jan 24 2008 Steve Salevan 1:281h - Fixing issues in original spec file to conform more closely to Fedora packaging guidelines. * Sun Jan 06 2008 Steve Salevan 0:281h - Initial build