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

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

Add new tag variable in spec and corresponding TTT macro in m4 files for filename correct handling during build

  • Property svn:keywords set to Id
File size: 970 bytes
Line 
1#
2# $Id: mondo-doc.spec 554 2006-05-17 23:03:26Z 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
22
23%description
24Documentation for Mondo Rescue
25
26%description -l fr
27Documentation pour Mondo Rescue
28
29%prep
30%setup -q -n %name-%{version}
31
32%build
33%{__make} VERSION=%{version}
34
35%install
36%{__rm} -rf $RPM_BUILD_ROOT
37%make -f Makefile.man install INSTALLDIR=$RPM_BUILDROOT/$RPM_DOC_DIR/%name-%{version}
38%make -f Makefile.howto install INSTALLDIR=$RPM_BUILDROOT/$RPM_DOC_DIR/%name-%{version}
39
40%clean
41%{__rm} -rf $RPM_BUILD_ROOT
42
43%files
44%defattr(644,root,root,755)
45%doc svn.log
46%doc
47
48%changelog
Note: See TracBrowser for help on using the repository browser.