9f193d5
Name:		coco-coq
9f193d5
Version:	0.1
09f9203
Release:	22%{?dist}
9f193d5
Summary:	Coco Coq in Grostesteing's base, an AGI adventure game
9f193d5
9f193d5
License:	Redistributable, no modification permitted
9f193d5
URL:		http://membres.lycos.fr/agisite/coco-c.htm
9f193d5
Source0:	cococe.zip
9f193d5
#Original from http://membres.lycos.fr/agisite/cococe.zip includes
9f193d5
#copyrighted executables. Generated new source by unzipping, removing
9f193d5
#DOS-related content.
9f193d5
Source1:	coco-coq.desktop
9f193d5
Source2:	coco-coq-wrapper.sh
9f193d5
Source3:	coco-coq.xpm
9f193d5
Source4:	coco-coq-LICENSE.fedora
9f193d5
BuildArch:	noarch
9f193d5
9f193d5
BuildRequires:	desktop-file-utils
9f193d5
Requires:	nagi, hicolor-icon-theme
9f193d5
9f193d5
%description
9f193d5
Grostesteing is back for troubles: he's kidnapped the Coco Coq's friends
9f193d5
to turn them into monsters. Coco must go inside the deadly base, avoids 
9f193d5
traps, free his friends and beat the bad scientist Grostesteing.
9f193d5
9f193d5
%prep
9f193d5
9f193d5
%setup -q -c
9f193d5
9f193d5
#drop case
9f193d5
mv LOGDIR logdir
9f193d5
mv OBJECT object
9f193d5
mv PICDIR picdir
9f193d5
mv SNDDIR snddir
9f193d5
mv VIEWDIR viewdir
9f193d5
mv VOL.0 vol.0
9f193d5
mv WORDS.TOK words.tok
9f193d5
9f193d5
%build
9f193d5
cp %{SOURCE4} .
9f193d5
9f193d5
%install
9f193d5
rm -rf $RPM_BUILD_ROOT
9f193d5
9f193d5
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
9f193d5
mkdir -p $RPM_BUILD_ROOT%{_bindir}
9f193d5
install -D -m0644 -p * $RPM_BUILD_ROOT%{_datadir}/%{name}
9f193d5
install -D -m0755 -p %{SOURCE2} $RPM_BUILD_ROOT/%{_bindir}
9f193d5
9f193d5
# desktop file
92f82e0
desktop-file-install \
9f193d5
	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
9f193d5
	%{SOURCE1}
9f193d5
9f193d5
# icon
9f193d5
install -d %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
9f193d5
install -p -m 0644 %{SOURCE3} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.xpm
9f193d5
9f193d5
%files
9f193d5
%doc coco-coq-LICENSE.fedora
9f193d5
%{_datadir}/coco-coq
92f82e0
%{_datadir}/applications/coco-coq.desktop
9f193d5
%{_datadir}/icons/hicolor/32x32/apps/coco-coq.xpm
9f193d5
%{_bindir}/coco-coq-wrapper.sh
9f193d5
9f193d5
%changelog
09f9203
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-22
09f9203
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
09f9203
edafbac
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-21
edafbac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
edafbac
9102bd2
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-20
9102bd2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9102bd2
2a03ab6
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-19
2a03ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2a03ab6
13ae027
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-18
13ae027
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
13ae027
78a4502
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-17
78a4502
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
78a4502
453e25a
* Sun Jan 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1-16
453e25a
- Remove obsolete scriptlets
453e25a
77ca57b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-15
77ca57b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
77ca57b
56de707
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-14
56de707
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
56de707
2009821
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-13
2009821
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2009821
e203525
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-12
e203525
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e203525
5f1c048
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-11
5f1c048
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5f1c048
ae3af5b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-10
ae3af5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ae3af5b
92f82e0
* Mon Feb 11 2013 Jon Ciesla <limburgher@gmail.com> - 0.1-9
92f82e0
- Drop desktop vendor tag.
92f82e0
c550fa9
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-8
c550fa9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c550fa9
e243b39
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-7
e243b39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e243b39
0a163c3
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-6
0a163c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0a163c3
c9b7c9e
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5
c9b7c9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c9b7c9e
31dd2c7
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4
31dd2c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
31dd2c7
9f193d5
* Fri Jul 06 2007 Jon Ciesla <limb@jcomserv.net> 0.1-3
9f193d5
- Fixed source zip.
9f193d5
9f193d5
* Fri Jul 06 2007 Jon Ciesla <limb@jcomserv.net> 0.1-2
9f193d5
- Fixed spec typo in URL
9f193d5
9f193d5
* Fri Jul 06 2007 Jon Ciesla <limb@jcomserv.net> 0.1-1
9f193d5
- Initial packaging.