Last change
on this file since 567 was
567,
checked in by bcornec, 15 years ago
|
Same for mondo: setup modes correctly in SVN and get rid of %attr an %defattr in spec files to get correct packages
|
-
Property svn:keywords set to
Id
|
File size:
1.2 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id: mondo-doc.spec 567 2006-05-20 22:29:40Z bcornec $ |
---|
3 | # |
---|
4 | |
---|
5 | # if mandriva official build (rpm --with is_official) |
---|
6 | %{?is_official:%define rel %{mkrel} %{mrel}}%{!?is_official:%define rel %{mrel}} |
---|
7 | %define rel RRR |
---|
8 | %define tag TTT |
---|
9 | |
---|
10 | Summary: Documentation for Mondo Rescue |
---|
11 | Summary(fr): Documentation pour Mondo Rescue |
---|
12 | |
---|
13 | Name: mondo-doc |
---|
14 | Version: VVV |
---|
15 | Release: %{rel} |
---|
16 | License: GPL |
---|
17 | Group: GRP |
---|
18 | Url: http://www.mondorescue.org |
---|
19 | Source: SSS |
---|
20 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) |
---|
21 | BuildRequires: docbook-utils |
---|
22 | BuildArch: noarch |
---|
23 | |
---|
24 | %description |
---|
25 | Documentation for Mondo Rescue |
---|
26 | |
---|
27 | %description -l fr |
---|
28 | Documentation pour Mondo Rescue |
---|
29 | |
---|
30 | %prep |
---|
31 | %setup -q -n %name-%{version}-%{tag} |
---|
32 | |
---|
33 | %build |
---|
34 | %{__make} -f Makefile.man VERSION=%{version} |
---|
35 | %{__make} -f Makefile.howto VERSION=%{version} |
---|
36 | |
---|
37 | %install |
---|
38 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
39 | %{__make} -f Makefile.man install INSTALLDIR=${RPM_BUILDROOT}/${RPM_DOC_DIR}/%{name}-%{version} |
---|
40 | %{__make} -f Makefile.howto install INSTALLDIR=${RPM_BUILDROOT}/${RPM_DOC_DIR}/%{name}-%{version} |
---|
41 | |
---|
42 | %clean |
---|
43 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
44 | |
---|
45 | %files |
---|
46 | %doc svn.log |
---|
47 | %doc mindi.8 mondoarchive.8 mondorestore.8 |
---|
48 | %doc mondorescue-howto.html mondorescue-howto.pdf mondorescue-howto.ps mondorescue-howto.rtf mondorescue-howto.txt mondorescue-howto/ images/ |
---|
49 | |
---|
50 | %changelog |
---|
Note: See
TracBrowser
for help on using the repository browser.