Rev | Line | |
---|
[384] | 1 | #
|
---|
[2115] | 2 | # $Id$
|
---|
[384] | 3 | #
|
---|
[2115] | 4 | %define srcname PBPKG
|
---|
[384] | 5 |
|
---|
| 6 | Summary: Documentation for Mondo Rescue
|
---|
| 7 | Summary(fr): Documentation pour Mondo Rescue
|
---|
| 8 |
|
---|
| 9 | Name: PBPKG
|
---|
| 10 | Version: PBVER
|
---|
| 11 | Release: PBTAGPBSUF
|
---|
[488] | 12 | License: PBLIC
|
---|
[384] | 13 | Group: PBGRP
|
---|
[488] | 14 | Url: PBURL
|
---|
[429] | 15 | Source: PBREPO/PBSRC
|
---|
[384] | 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
[1026] | 17 | BuildRequires: man,docbook-utils,groff,PBBUILDDEP
|
---|
[1770] | 18 | BuildArch: noarch
|
---|
[384] | 19 |
|
---|
| 20 | %description
|
---|
| 21 | Documentation for Mondo Rescue
|
---|
| 22 |
|
---|
| 23 | %description -l fr
|
---|
| 24 | Documentation pour Mondo Rescue
|
---|
| 25 |
|
---|
| 26 | %prep
|
---|
[2115] | 27 | %setup -q -n %{name}-%{version}PBEXTDIR
|
---|
[384] | 28 |
|
---|
| 29 | %build
|
---|
[488] | 30 | make -f Makefile.man VERSION=%{version}
|
---|
| 31 | make -f Makefile.howto VERSION=%{version}
|
---|
[384] | 32 |
|
---|
| 33 | %install
|
---|
[488] | 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}
|
---|
[384] | 37 |
|
---|
| 38 | %clean
|
---|
[488] | 39 | rm -rf $RPM_BUILD_ROOT
|
---|
[384] | 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.