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

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

Build process in 3 steps:

svn2build creates tar files from SVN (works mostly)
build2pkg creates packages from tar files (works mostly)
build2qemu (has to be created from mkqemu) will create packages for all supported virtuel machines

  • Property svn:keywords set to Id
File size: 953 bytes
Line 
1#
2# $Id: mondo-doc.spec 553 2006-05-17 22:40:32Z 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
9Summary:    Documentation for Mondo Rescue
10Summary(fr):    Documentation pour Mondo Rescue
11
12Name:       mondo-doc
13Version:    VVV
14Release:    %{rel}
15License:    GPL
16Group:      GRP
17Url:        http://www.mondorescue.org
18Source:     SSS
19BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
20BuildRequires:  docbook-utils
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}
30
31%build
32%{__make} VERSION=%{version}
33
34%install
35%{__rm} -rf $RPM_BUILD_ROOT
36%make -f Makefile.man install INSTALLDIR=$RPM_BUILDROOT/$RPM_DOC_DIR/%name-%{version}
37%make -f Makefile.howto install INSTALLDIR=$RPM_BUILDROOT/$RPM_DOC_DIR/%name-%{version}
38
39%clean
40%{__rm} -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(644,root,root,755)
44%doc svn.log
45%doc 
46
47%changelog
Note: See TracBrowser for help on using the repository browser.