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