source: ProjectBuilder/projects/mondorescue/pbconf/branches/3.2/mondo-doc/rpm/mondo-doc.spec@ 2115

Last change on this file since 2115 was 2115, checked in by Bruno Cornec, 8 years ago

Adapt MondoRescue to pb 0.14.x usage with new naming

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