|
Last change
on this file since 3014 was 755, checked in by Bruno Cornec, 19 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
|
| Line | |
|---|
| 1 | #
|
|---|
| 2 | # $Id: mondo-doc.spec 755 2006-08-06 23:15:58Z bruno $
|
|---|
| 3 | #
|
|---|
| 4 |
|
|---|
| 5 | Summary: Documentation for Mondo Rescue
|
|---|
| 6 | Summary(fr): Documentation pour Mondo Rescue
|
|---|
| 7 |
|
|---|
| 8 | Name: mondo-doc
|
|---|
| 9 | Version: VVV
|
|---|
| 10 | Release: RRR
|
|---|
| 11 | License: GPL
|
|---|
| 12 | Group: GRP
|
|---|
| 13 | Url: http://www.mondorescue.org
|
|---|
| 14 | Source: SSS
|
|---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
|---|
| 16 | BuildRequires: docbook-utils
|
|---|
| 17 | BuildArch: noarch
|
|---|
| 18 |
|
|---|
| 19 | %description
|
|---|
| 20 | Documentation for Mondo Rescue
|
|---|
| 21 |
|
|---|
| 22 | %description -l fr
|
|---|
| 23 | Documentation pour Mondo Rescue
|
|---|
| 24 |
|
|---|
| 25 | %prep
|
|---|
| 26 | %setup -q -n %name-%{version}
|
|---|
| 27 |
|
|---|
| 28 | %build
|
|---|
| 29 | %{__make} -f Makefile.man VERSION=%{version}
|
|---|
| 30 | %{__make} -f Makefile.howto VERSION=%{version}
|
|---|
| 31 |
|
|---|
| 32 | %install
|
|---|
| 33 | %{__rm} -rf $RPM_BUILD_ROOT
|
|---|
| 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}
|
|---|
| 36 |
|
|---|
| 37 | %clean
|
|---|
| 38 | %{__rm} -rf $RPM_BUILD_ROOT
|
|---|
| 39 |
|
|---|
| 40 | %files
|
|---|
| 41 | %defattr(-,root,root)
|
|---|
| 42 | %doc %{_defaultdocdir}/%{name}-%{version}
|
|---|
| 43 |
|
|---|
| 44 | %changelog
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.