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