Last change
on this file since 1813 was 608, checked in by Bruno Cornec, 16 years ago |
Adds PBBUILDDEP to support new sles10 build requirement of man2html (patch from Ulf mopp_at_gmx.net)
|
File size:
956 bytes
|
Line | |
---|
1 | #
|
---|
2 | # $Id: mondo-doc.spec 1674 2007-10-01 23:22:00Z bruno $
|
---|
3 | #
|
---|
4 |
|
---|
5 | Summary: Documentation for Mondo Rescue
|
---|
6 | Summary(fr): Documentation pour Mondo Rescue
|
---|
7 |
|
---|
8 | Name: PBPKG
|
---|
9 | Version: PBVER
|
---|
10 | Release: PBTAGPBSUF
|
---|
11 | License: PBLIC
|
---|
12 | Group: PBGRP
|
---|
13 | Url: PBURL
|
---|
14 | Source: PBREPO/PBSRC
|
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
16 | BuildRequires: docbook-utils PBBUILDDEP
|
---|
17 | BuildArch: noarch
|
---|
18 |
|
---|
19 | %description
|
---|
20 | Documentation for Mondo Rescue
|
---|
21 |
|
---|
22 | %description -l fr
|
---|
23 | Documentation 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
|
---|
45 | PBLOG
|
---|
Note:
See
TracBrowser
for help on using the repository browser.