source: ProjectBuilder/projects/mondorescue/pbconf/branches/2.2.8/mondo-doc/rpm/mondo-doc.spec@ 608

Last change on this file since 608 was 608, checked in by Bruno Cornec, 15 years ago

Adds PBBUILDDEP to support new sles10 build requirement of man2html (patch from Ulf mopp_at_gmx.net)

File size: 956 bytes
RevLine 
[384]1#
2# $Id: mondo-doc.spec 1674 2007-10-01 23:22:00Z bruno $
3#
4
5Summary: Documentation for Mondo Rescue
6Summary(fr): Documentation pour Mondo Rescue
7
8Name: PBPKG
9Version: PBVER
10Release: PBTAGPBSUF
[488]11License: PBLIC
[384]12Group: PBGRP
[488]13Url: PBURL
[429]14Source: PBREPO/PBSRC
[384]15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
[608]16BuildRequires: docbook-utils PBBUILDDEP
[384]17BuildArch: noarch
18
19%description
20Documentation for Mondo Rescue
21
22%description -l fr
23Documentation pour Mondo Rescue
24
25%prep
26%setup -q -n %name-%{version}
27
28%build
[488]29make -f Makefile.man VERSION=%{version}
30make -f Makefile.howto VERSION=%{version}
[384]31
32%install
[488]33rm -rf $RPM_BUILD_ROOT
34make -f Makefile.man install INSTALLDIR=${RPM_BUILD_ROOT}/%{_defaultdocdir}/%{name}-%{version}
35make -f Makefile.howto install INSTALLDIR=${RPM_BUILD_ROOT}/%{_defaultdocdir}/%{name}-%{version}
[384]36
37%clean
[488]38rm -rf $RPM_BUILD_ROOT
[384]39
40%files
41%defattr(-,root,root)
42%doc %{_defaultdocdir}/%{name}-%{version}
43
44%changelog
45PBLOG
Note: See TracBrowser for help on using the repository browser.