b88b170
Name:           frotz
b88b170
Version:        2.43
417f733
Release:        13%{?dist}
b88b170
Summary:        Interpreter for Infocom and other Z-machine games
b88b170
b88b170
Group:          Amusements/Games
2cb22b3
License:        GPLv2+
b88b170
URL:            http://www.cs.csubak.edu/~dgriffi/proj/frotz/
b88b170
Source0:        http://www.cs.csubak.edu/~dgriffi/proj/frotz/files/frotz-2.43.tar.gz
b88b170
Patch1:         frotz-2.43-Makefile.patch
b88b170
Patch2:         frotz-2.43-conf.patch
b88b170
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
b88b170
b88b170
BuildRequires:  ncurses-devel
b88b170
b88b170
%description
b88b170
Frotz is an interpreter for Infocom games and other Z-machine games.  It
b88b170
complies with standard 1.0 of Graham Nelson's specification.
b88b170
b88b170
Free Z-machine game file downloads, as well as more information about
b88b170
Infocom, Z-machine games, and interactive fiction can be found at the
b88b170
Interactive Fiction Archive, http://mirror.ifarchive.org/.
b88b170
b88b170
b88b170
%prep
b88b170
%setup -q
b88b170
%patch1 -p1
b88b170
%patch2 -p1
b88b170
b88b170
b88b170
%build
b88b170
sed -i -e "s/@@OPTS@@/$RPM_OPT_FLAGS/" Makefile
b88b170
make %{?_smp_mflags}
b88b170
b88b170
b88b170
%install
b88b170
rm -rf $RPM_BUILD_ROOT
b88b170
install -d -m0755 $RPM_BUILD_ROOT/%{_bindir}
b88b170
install -d -m0755 $RPM_BUILD_ROOT/%{_sysconfdir}
b88b170
install -d -m0755 $RPM_BUILD_ROOT/%{_mandir}/man6
b88b170
install -m0755 frotz $RPM_BUILD_ROOT/%{_bindir}
b88b170
install -m0644 doc/frotz.6 $RPM_BUILD_ROOT/%{_mandir}/man6
b88b170
install -m0644 doc/frotz.conf-big $RPM_BUILD_ROOT/%{_sysconfdir}/frotz.conf
b88b170
b88b170
b88b170
%clean
b88b170
rm -rf $RPM_BUILD_ROOT
b88b170
b88b170
b88b170
%files
b88b170
%defattr (-,root,root,-)
b88b170
%doc AUTHORS BUGS ChangeLog COPYING DUMB HOW_TO_PLAY README SPEECH TODO
b88b170
%doc doc/frotz.conf*
b88b170
%{_bindir}/frotz
b88b170
%{_mandir}/man6/frotz.6*
b88b170
%config(noreplace) %{_sysconfdir}/frotz.conf
b88b170
b88b170
b88b170
%changelog
417f733
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.43-13
417f733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
417f733
0e764d8
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.43-12
0e764d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0e764d8
5161463
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.43-11
5161463
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5161463
7b929a9
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.43-10
7b929a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7b929a9
181770e
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.43-9
181770e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
181770e
abe93d6
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.43-8
abe93d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
abe93d6
c531fe6
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.43-7
c531fe6
- Autorebuild for GCC 4.3
c531fe6
2cb22b3
* Wed Oct 31 2007 Chris Grau <chris@chrisgrau.com> 2.43-6
2cb22b3
- Fixed license tag.
2cb22b3
ec4cb78
* Thu Sep 14 2006 Chris Grau <chris@chrisgrau.com> 2.43-5
ec4cb78
- Rebuild for FC-6.
ec4cb78
fdd0bfd
* Wed Mar 01 2006 Chris Grau <chris@chrisgrau.com> 2.43-4
fdd0bfd
- Rebuild for FC-5.
fdd0bfd
b88b170
* Tue Jul 19 2005 Chris Grau <chris@chrisgrau.com> 2.43-3
b88b170
- Changed sed command to edit Makefile in place (Michael Schwendt).
b88b170
- Removed compression of the man page (Michael Schwendt).
b88b170
b88b170
* Tue Jul 19 2005 Chris Grau <chris@chrisgrau.com> 2.43-2
b88b170
- Split up patch files.
b88b170
- Added a pointer to the IF archive to the %%description.
b88b170
b88b170
* Thu Jul 07 2005 Chris Grau <chris@chrisgrau.com> 2.43-1
b88b170
- Initial build.