Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > by-pkgid > e1d0719eae2688df66d383b2efd01df6 > files > 3

ggz-docs-0.0.14.1-3mdv2009.0.src.rpm

%define version 0.0.14.1
%define release %mkrel 3

Name:		ggz-docs
Summary:	GGZ Gaming Zone Documents
Version:	%{version}
Release:	%{release}
License:	GPL
Group:		Games/Other
Source0:	http://ftp.ggzgamingzone.org/pub/ggz/%{version}/%{name}-%{version}.tar.bz2
Patch1:		%{name}-0.0.9-infoentry.patch
URL:		http://ggzgamingzone.org/
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch:	noarch
BuildRequires:	docbook-utils
BuildRequires:	openjade
BuildRequires:	lynx
BuildRequires:	texinfo
BuildRequires:	tetex-texi2html
BuildRequires:	docbook-utils-pdf
BuildRequires:	transfig
BuildRequires:	docbook-dtd31-sgml
Requires(post):	info-install
Requires(preun): info-install

%description
Documents for the GGZ Gaming Zone.

%prep
%setup -q
%patch1 -p1 -b .direntry

%build
# (Abel) no problem for noarch package to not use macros
# in fact it fails to build with macros
./configure \
	--enable-guides \
	--enable-spec \
	--prefix=%{_prefix} \
	--infodir=%{_infodir}
%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

# move docs back to build dir
rm -rf ./package-docs
mv $RPM_BUILD_ROOT/%{_docdir}/ggz-docs package-docs

%post
%_install_info ggz-game-development-guide.info
%_install_info ggz-hosting-guide.info

%preun
%_remove_install_info ggz-game-development-guide.info
%_remove_install_info ggz-hosting-guide.info

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc package-docs/*
%{_infodir}/ggz-game-development-guide.info.*
%{_infodir}/ggz-hosting-guide.info.*




%changelog
* Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.0.14.1-3mdv2009.0
+ Revision: 245994
- rebuild

* Tue Feb 26 2008 Emmanuel Andry <eandry@mandriva.org> 0.0.14.1-1mdv2008.1
+ Revision: 175575
- New version

* Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 0.0.14-2mdv2008.1
+ Revision: 140737
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request
    - convert prereq


* Fri Feb 23 2007 Emmanuel Andry <eandry@mandriva.org> 0.0.14-1mdv2007.0
+ Revision: 125149
- buildrequires docbook-dtd31-sgml
- Buildrequires transfig
- New version 0.0.14
- drop patches 0 and 2
- %%mkrel
- Import ggz-docs

* Thu Dec 02 2004 Abel Cheung <deaddog@mandrake.org> 0.0.9-2mdk
- Fix BuildRequires

* Sat Nov 27 2004 Abel Cheung <deaddog@mandrake.org> 0.0.9-1mdk
- New version
- P0: Fix docbook2html program name detection
- P1: Add info entry to .texi files
- P2: Fix game spec html file building
- Fix postin/un script
- Build guides/spec too