Last change
on this file since 555 was 555, checked in by bcornec, 18 years ago |
tag also used during setup phase in .spec
|
-
Property svn:keywords
set to
Id
|
File size:
977 bytes
|
Rev | Line | |
---|
[35] | 1 | #
|
---|
| 2 | # $Id: mondo-doc.spec 555 2006-05-17 23:13:46Z bcornec $
|
---|
| 3 | #
|
---|
[1] | 4 |
|
---|
[316] | 5 | # if mandriva official build (rpm --with is_official)
|
---|
| 6 | %{?is_official:%define rel %{mkrel} %{mrel}}%{!?is_official:%define rel %{mrel}}
|
---|
[553] | 7 | %define rel RRR
|
---|
[554] | 8 | %define tag TTT
|
---|
[53] | 9 |
|
---|
[532] | 10 | Summary: Documentation for Mondo Rescue
|
---|
| 11 | Summary(fr): Documentation pour Mondo Rescue
|
---|
[53] | 12 |
|
---|
[553] | 13 | Name: mondo-doc
|
---|
| 14 | Version: VVV
|
---|
[423] | 15 | Release: %{rel}
|
---|
[1] | 16 | License: GPL
|
---|
[553] | 17 | Group: GRP
|
---|
[529] | 18 | Url: http://www.mondorescue.org
|
---|
[553] | 19 | Source: SSS
|
---|
[529] | 20 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
[532] | 21 | BuildRequires: docbook-utils
|
---|
[1] | 22 |
|
---|
| 23 | %description
|
---|
[532] | 24 | Documentation for Mondo Rescue
|
---|
[1] | 25 |
|
---|
| 26 | %description -l fr
|
---|
[532] | 27 | Documentation pour Mondo Rescue
|
---|
[1] | 28 |
|
---|
| 29 | %prep
|
---|
[555] | 30 | %setup -q -n %name-%{version}-%{tag}
|
---|
[1] | 31 |
|
---|
[53] | 32 | %build
|
---|
[415] | 33 | %{__make} VERSION=%{version}
|
---|
[1] | 34 |
|
---|
| 35 | %install
|
---|
[53] | 36 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
[532] | 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}
|
---|
[1] | 39 |
|
---|
| 40 | %clean
|
---|
| 41 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
| 42 |
|
---|
| 43 | %files
|
---|
[53] | 44 | %defattr(644,root,root,755)
|
---|
[532] | 45 | %doc svn.log
|
---|
| 46 | %doc
|
---|
[1] | 47 |
|
---|
[402] | 48 | %changelog
|
---|
Note:
See
TracBrowser
for help on using the repository browser.