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

Last change on this file since 556 was 556, checked in by bcornec, 18 years ago

mondo-doc should now generate

  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1#
2# $Id: mondo-doc.spec 556 2006-05-18 22:37:53Z 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
10Summary: Documentation for Mondo Rescue
11Summary(fr): Documentation pour Mondo Rescue
12
13Name: mondo-doc
14Version: VVV
15Release: %{rel}
16License: GPL
17Group: GRP
18Url: http://www.mondorescue.org
19Source: SSS
20BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
21BuildRequires: docbook-utils
22BuildArch: noarch
23
24%description
25Documentation for Mondo Rescue
26
27%description -l fr
28Documentation 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%defattr(644,root,root,755)
47%doc svn.log
48%doc
49
50%changelog
Note: See TracBrowser for help on using the repository browser.