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

Last change on this file since 543 was 543, checked in by bcornec, 14 years ago

stable is now at same level as 2.0.8 (r538)

  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1#
2# $Id: mondo-doc.spec 543 2006-05-13 18:52:38Z bcornec $
3#
4
5%define name    mondo-doc
6%define version VVV
7%define mrel    RRR
8# if mandriva official build (rpm --with is_official)
9%{?is_official:%define rel %{mkrel} %{mrel}}%{!?is_official:%define rel %{mrel}}
10%define src     SSS
11%define grp     GRP
12%define addreq  DDD
13%define rel     %{mrel}
14
15Summary:    Documentation for Mondo Rescue
16Summary(fr):    Documentation pour Mondo Rescue
17
18Name:       %{name}
19Version:    %{version}
20Release:    %{rel}
21License:    GPL
22Group:      %{grp}
23Url:        http://www.mondorescue.org
24Source:     %{src}
25BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
26BuildRequires:  docbook-utils
27Epoch:      %(echo EEE | cut -d- -f1 | sed "s~M~~")
28OBS
29
30%description
31Documentation for Mondo Rescue
32
33%description -l fr
34Documentation pour Mondo Rescue
35
36%prep
37%setup -q -n %name-%{version}
38
39%build
40%{__make} VERSION=%{version}
41
42%install
43%{__rm} -rf $RPM_BUILD_ROOT
44%make -f Makefile.man install INSTALLDIR=$RPM_BUILDROOT/$RPM_DOC_DIR/%name-%{version}
45%make -f Makefile.howto install INSTALLDIR=$RPM_BUILDROOT/$RPM_DOC_DIR/%name-%{version}
46
47%clean
48%{__rm} -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
52%doc svn.log
53%doc 
54
55%changelog
Note: See TracBrowser for help on using the repository browser.