1 |
# $Id: smeserver-vmware-server.spec,v 1.1 2013/07/04 23:27:16 unnilennium 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 5 |
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: SMEServer >= 8.0 |
20 |
Requires: VMware-server |
21 |
Requires: smeserver-xineted |
22 |
Requires: xinetd |
23 |
Requires: xorg-x11-utils |
24 |
Requires: xorg-x11-deprecated-libs |
25 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
26 |
AutoReqProv: no |
27 |
%description |
28 |
VMware server integration package for SME Server |
29 |
|
30 |
%changelog |
31 |
* Thu Jul 04 2013 JP Pialasse <tests@pialasse.com> 0.0.1-5.sme |
32 |
- importing to sme8 contribs |
33 |
- modified requires |
34 |
|
35 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
36 |
- Clean up spec so package can be built by koji/plague |
37 |
|
38 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
39 |
- Update to new release naming. No functional changes. |
40 |
- Make Packager generic |
41 |
|
42 |
* Fri May 12 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-02 |
43 |
- [0.0.1-03] |
44 |
- Put defaults files in the correct place |
45 |
|
46 |
* Fri May 12 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-02 |
47 |
- [0.0.1-02] |
48 |
- Always start xinetd for now, until we remove the dependency |
49 |
- Make the startup symlink in the SPEC file |
50 |
|
51 |
* Fri May 12 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-01 |
52 |
- [0.0.1-01] |
53 |
- Initial version |
54 |
- TODO: Replace xinetd with tcpsvd run script |
55 |
|
56 |
%prep |
57 |
%setup |
58 |
%patch0 -p1 |
59 |
%patch1 -p1 |
60 |
mkdir -p root/etc/rc.d/rc7.d |
61 |
ln -s ../init.d/xinetd root/etc/rc.d/rc7.d/S56xinetd |
62 |
|
63 |
%build |
64 |
perl createlinks |
65 |
|
66 |
%install |
67 |
/bin/rm -rf $RPM_BUILD_ROOT |
68 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
69 |
/bin/rm -f %{name}-%{version}-filelist |
70 |
/sbin/e-smith/genfilelist \ |
71 |
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist |
72 |
|
73 |
%clean |
74 |
/bin/rm -rf $RPM_BUILD_ROOT |
75 |
|
76 |
%files -f %{name}-%{version}-%{release}-filelist |
77 |
|
78 |
%defattr(-,root,root) |