source: branches/stable/mondo-doc/distributions/rpm/mondo-doc.spec @ 719

Last change on this file since 719 was 719, checked in by bruno, 13 years ago

Re-introduce defattr to have correct uid/gid for RPMS (Bishop.Clark_at_gov.bc.ca)

  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1#
2# $Id: mondo-doc.spec 719 2006-07-28 19:24:21Z bruno $
3#
4
5%define mrel    RRR
6%define tag     TTT
7
8Summary:    Documentation for Mondo Rescue
9Summary(fr):    Documentation pour Mondo Rescue
10
11Name:       mondo-doc
12Version:    VVV
13Release:    %{mrel}
14License:    GPL
15Group:      GRP
16Url:        http://www.mondorescue.org
17Source:     SSS
18BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
19BuildRequires:  docbook-utils
20BuildArch: noarch
21
22%description
23Documentation for Mondo Rescue
24
25%description -l fr
26Documentation pour Mondo Rescue
27
28%prep
29%setup -q -n %name-%{version}-%{tag}
30
31%build
32%{__make} -f Makefile.man VERSION=%{version}
33%{__make} -f Makefile.howto VERSION=%{version}
34
35%install
36%{__rm} -rf $RPM_BUILD_ROOT
37%{__make} -f Makefile.man install INSTALLDIR=${RPM_BUILD_ROOT}/${RPM_DOC_DIR}/%{name}-%{version}
38%{__make} -f Makefile.howto install INSTALLDIR=${RPM_BUILD_ROOT}/${RPM_DOC_DIR}/%{name}-%{version}
39
40%clean
41%{__rm} -rf $RPM_BUILD_ROOT
42
43%files
44%defattr(-,root,root)
45%doc svn.log
46%doc mindi.8 mondoarchive.8 mondorestore.8
47%doc mindi.8.html mindi.8.txt mindi.8.ps mindi.8.pdf
48%doc mondoarchive.8.html mondoarchive.8.txt mondoarchive.8.ps mondoarchive.8.pdf
49%doc mondorestore.8.html mondorestore.8.txt mondorestore.8.ps mondorestore.8.pdf
50%doc mondorescue-howto.html mondorescue-howto.pdf mondorescue-howto.ps mondorescue-howto.rtf mondorescue-howto.txt mondorescue-howto/ images/
51
52%changelog
Note: See TracBrowser for help on using the repository browser.