Last change
on this file since 1056 was 842, checked in by Bryan Gartner, 15 years ago |
make rpm packaging as generic as possible across distros
|
File size:
731 bytes
|
Rev | Line | |
---|
[384] | 1 | Name: PBPKG
|
---|
| 2 | Version: PBVER
|
---|
[842] | 3 | Release: PBTAG
|
---|
[734] | 4 | Summary: LinuxCOE SystemDesigner documentation
|
---|
| 5 |
|
---|
| 6 | Group: PBGRP
|
---|
[384] | 7 | License: GPL
|
---|
| 8 | URL: http://linuxcoe.sourceforge.net/
|
---|
| 9 | Source: PBSRC
|
---|
[734] | 10 | BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
---|
[384] | 11 |
|
---|
| 12 | BuildArch: noarch
|
---|
[734] | 13 | #BuildRequires: ??
|
---|
| 14 | Requires: PBDEP
|
---|
[384] | 15 |
|
---|
[734] | 16 |
|
---|
[384] | 17 | %description
|
---|
[734] | 18 | LinuxCOE SystemDesigner documentation including both user and
|
---|
| 19 | administration guides.
|
---|
[384] | 20 |
|
---|
| 21 | %prep
|
---|
| 22 | %setup -q
|
---|
| 23 |
|
---|
| 24 | %build
|
---|
[734] | 25 | ./configure \
|
---|
| 26 | webalias="PBwebalias" \
|
---|
| 27 | --prefix=PBprefix
|
---|
[384] | 28 |
|
---|
| 29 | %install
|
---|
[734] | 30 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
| 31 | make DESTDIR=$RPM_BUILD_ROOT install
|
---|
[384] | 32 |
|
---|
| 33 | %clean
|
---|
| 34 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
| 35 |
|
---|
| 36 | %files
|
---|
[734] | 37 | %defattr(-,root,root,-)
|
---|
| 38 | %doc AUTHORS ChangeLog COPYING INSTALL NEWS README
|
---|
| 39 | PBprefix/html/docs
|
---|
| 40 | PBprefix/html/themes
|
---|
[384] | 41 |
|
---|
| 42 | %changelog
|
---|
| 43 | PBLOG
|
---|
Note:
See
TracBrowser
for help on using the repository browser.