# # $Id: mondo-doc.spec 588 2006-05-29 09:47:20Z bcornec $ # # if mandriva official build (rpm --with is_official) %{?is_official:%define rel %{mkrel} %{mrel}}%{!?is_official:%define rel %{mrel}} %define rel RRR %define tag TTT Summary: Documentation for Mondo Rescue Summary(fr): Documentation pour Mondo Rescue Name: mondo-doc Version: VVV Release: %{rel} License: GPL Group: GRP Url: http://www.mondorescue.org Source: SSS BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) BuildRequires: docbook-utils BuildArch: noarch %description Documentation for Mondo Rescue %description -l fr Documentation pour Mondo Rescue %prep %setup -q -n %name-%{version}-%{tag} %build %{__make} -f Makefile.man VERSION=%{version} %{__make} -f Makefile.howto VERSION=%{version} %install %{__rm} -rf $RPM_BUILD_ROOT %{__make} -f Makefile.man install INSTALLDIR=${RPM_BUILD_ROOT}/${RPM_DOC_DIR}/%{name}-%{version} %{__make} -f Makefile.howto install INSTALLDIR=${RPM_BUILD_ROOT}/${RPM_DOC_DIR}/%{name}-%{version} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %doc svn.log %doc mindi.8 mondoarchive.8 mondorestore.8 %doc mindi.8.html mindi.8.txt mindi.8.ps mindi.8.pdf %doc mondoarchive.8.html mondoarchive.8.txt mondoarchive.8.ps mondoarchive.8.pdf %doc mondorestore.8.html mondorestore.8.txt mondorestore.8.ps mondorestore.8.pdf %doc mondorescue-howto.html mondorescue-howto.pdf mondorescue-howto.ps mondorescue-howto.rtf mondorescue-howto.txt mondorescue-howto/ images/ %changelog