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

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