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

Last change on this file since 755 was 755, checked in by Bruno Cornec, 18 years ago
  • Use _defaultdocdir instead of RPM_DOC_DIR for doc built
  • %doc in spec files reviewed
  • Log file for all build scripts
  • Fix a bug for ebuild
  • src file is now name-verion.tar.gz (without TAG)
  • deb pkgs should now be copied on ftp server
  • Fix 2 warnings in mondo
  • Fix a bug introduced for LVM on Debian hopefully
  • Fix a bug on old distros where mktemp needs a template
  • Property svn:keywords set to Id
File size: 923 bytes
RevLine 
[35]1#
2# $Id: mondo-doc.spec 755 2006-08-06 23:15:58Z bruno $
3#
[1]4
[532]5Summary: Documentation for Mondo Rescue
6Summary(fr): Documentation pour Mondo Rescue
[53]7
[553]8Name: mondo-doc
9Version: VVV
[722]10Release: RRR
[1]11License: GPL
[553]12Group: GRP
[529]13Url: http://www.mondorescue.org
[553]14Source: SSS
[529]15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
[532]16BuildRequires: docbook-utils
[556]17BuildArch: noarch
[1]18
19%description
[532]20Documentation for Mondo Rescue
[1]21
22%description -l fr
[532]23Documentation pour Mondo Rescue
[1]24
25%prep
[722]26%setup -q -n %name-%{version}
[1]27
[53]28%build
[556]29%{__make} -f Makefile.man VERSION=%{version}
30%{__make} -f Makefile.howto VERSION=%{version}
[1]31
32%install
[53]33%{__rm} -rf $RPM_BUILD_ROOT
[755]34%{__make} -f Makefile.man install INSTALLDIR=${RPM_BUILD_ROOT}/%{_defaultdocdir}/%{name}-%{version}
35%{__make} -f Makefile.howto install INSTALLDIR=${RPM_BUILD_ROOT}/%{_defaultdocdir}/%{name}-%{version}
[1]36
37%clean
38%{__rm} -rf $RPM_BUILD_ROOT
39
40%files
[719]41%defattr(-,root,root)
[755]42%doc %{_defaultdocdir}/%{name}-%{version}
[1]43
[402]44%changelog
Note: See TracBrowser for help on using the repository browser.