source: MondoRescue/trunk/mondo-doc/distributions/rpm/mondo-doc.spec@ 588

Last change on this file since 588 was 588, checked in by bcornec, 18 years ago

merge -r 560:587 $SVN_M/branches/stable

  • Property svn:keywords set to Id
File size: 1.4 KB
RevLine 
[35]1#
2# $Id: mondo-doc.spec 588 2006-05-29 09:47:20Z bcornec $
3#
[1]4
[316]5# if mandriva official build (rpm --with is_official)
6%{?is_official:%define rel %{mkrel} %{mrel}}%{!?is_official:%define rel %{mrel}}
[553]7%define rel RRR
[554]8%define tag TTT
[53]9
[532]10Summary: Documentation for Mondo Rescue
11Summary(fr): Documentation pour Mondo Rescue
[53]12
[553]13Name: mondo-doc
14Version: VVV
[423]15Release: %{rel}
[1]16License: GPL
[553]17Group: GRP
[529]18Url: http://www.mondorescue.org
[553]19Source: SSS
[529]20BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
[532]21BuildRequires: docbook-utils
[556]22BuildArch: noarch
[1]23
24%description
[532]25Documentation for Mondo Rescue
[1]26
27%description -l fr
[532]28Documentation pour Mondo Rescue
[1]29
30%prep
[555]31%setup -q -n %name-%{version}-%{tag}
[1]32
[53]33%build
[556]34%{__make} -f Makefile.man VERSION=%{version}
35%{__make} -f Makefile.howto VERSION=%{version}
[1]36
37%install
[53]38%{__rm} -rf $RPM_BUILD_ROOT
[588]39%{__make} -f Makefile.man install INSTALLDIR=${RPM_BUILD_ROOT}/${RPM_DOC_DIR}/%{name}-%{version}
40%{__make} -f Makefile.howto install INSTALLDIR=${RPM_BUILD_ROOT}/${RPM_DOC_DIR}/%{name}-%{version}
[1]41
42%clean
43%{__rm} -rf $RPM_BUILD_ROOT
44
45%files
[532]46%doc svn.log
[588]47%doc mindi.8 mondoarchive.8 mondorestore.8
48%doc mindi.8.html mindi.8.txt mindi.8.ps mindi.8.pdf
49%doc mondoarchive.8.html mondoarchive.8.txt mondoarchive.8.ps mondoarchive.8.pdf
50%doc mondorestore.8.html mondorestore.8.txt mondorestore.8.ps mondorestore.8.pdf
51%doc mondorescue-howto.html mondorescue-howto.pdf mondorescue-howto.ps mondorescue-howto.rtf mondorescue-howto.txt mondorescue-howto/ images/
[1]52
[402]53%changelog
Note: See TracBrowser for help on using the repository browser.