1 |
# $Id: smeserver-vmware-server.spec,v 1.4 2008/11/25 16:20:34 slords Exp $ |
2 |
# Authority: gordonr |
3 |
# Name: Gordon Rowell |
4 |
|
5 |
Summary: VMware server integration package for SME Server |
6 |
%define name smeserver-vmware-server |
7 |
Name: %{name} |
8 |
%define version 0.0.1 |
9 |
%define release 4 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: SMEServer/addon |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
Patch0: smeserver-vmware-server-xinetdinspec.patch |
16 |
Patch1: smeserver-vmware-server-defaults.patch |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
19 |
Requires: VMware-server |
20 |
Requires: xinetd |
21 |
Requires: xorg-x11-libs |
22 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
23 |
AutoReqProv: no |
24 |
%description |
25 |
VMware server integration package for SME Server |
26 |
|
27 |
%changelog |
28 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
29 |
- Clean up spec so package can be built by koji/plague |
30 |
|
31 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
32 |
- Update to new release naming. No functional changes. |
33 |
- Make Packager generic |
34 |
|
35 |
* Fri May 12 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-02 |
36 |
- [0.0.1-03] |
37 |
- Put defaults files in the correct place |
38 |
|
39 |
* Fri May 12 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-02 |
40 |
- [0.0.1-02] |
41 |
- Always start xinetd for now, until we remove the dependency |
42 |
- Make the startup symlink in the SPEC file |
43 |
|
44 |
* Fri May 12 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-01 |
45 |
- [0.0.1-01] |
46 |
- Initial version |
47 |
- TODO: Replace xinetd with tcpsvd run script |
48 |
|
49 |
%prep |
50 |
%setup |
51 |
%patch0 -p1 |
52 |
%patch1 -p1 |
53 |
mkdir -p root/etc/rc.d/rc7.d |
54 |
ln -s ../init.d/xinetd root/etc/rc.d/rc7.d/S56xinetd |
55 |
|
56 |
%build |
57 |
perl createlinks |
58 |
|
59 |
%install |
60 |
/bin/rm -rf $RPM_BUILD_ROOT |
61 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
62 |
/bin/rm -f %{name}-%{version}-filelist |
63 |
/sbin/e-smith/genfilelist \ |
64 |
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist |
65 |
|
66 |
%clean |
67 |
/bin/rm -rf $RPM_BUILD_ROOT |
68 |
|
69 |
%files -f %{name}-%{version}-%{release}-filelist |
70 |
|
71 |
%defattr(-,root,root) |