source: MondoRescue/branches/2.2.5/pbconf/mondo-doc/rpm/mondo-doc.spec@ 1674

Last change on this file since 1674 was 1674, checked in by Bruno Cornec, 17 years ago

Migrate debian build files to pb
Remove old build files under distributions
adds a simpler script setupqemu to call pb for VM setup

  • Property svn:keywords set to Id
File size: 938 bytes
Line 
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
11License: GPL
12Group: PBGRP
13Url: http://www.mondorescue.org
14Source: PBSRC
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
16BuildRequires: docbook-utils
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
29%{__make} -f Makefile.man VERSION=%{version}
30%{__make} -f Makefile.howto VERSION=%{version}
31
32%install
33%{__rm} -rf $RPM_BUILD_ROOT
34%{__make} -f Makefile.man install INSTALLDIR=${RPM_BUILD_ROOT}/%{_defaultdocdir}/%{name}-%{version}
35%{__make} -f Makefile.howto install INSTALLDIR=${RPM_BUILD_ROOT}/%{_defaultdocdir}/%{name}-%{version}
36
37%clean
38%{__rm} -rf $RPM_BUILD_ROOT
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.