]>
Commit | Line | Data |
---|---|---|
c744b566 | 1 | # Conditional build: |
2 | %bcond_without dist_kernel # without distribution kernel | |
3 | %bcond_without kernel # don't build kernel modules | |
4 | %bcond_without smp # without SMP kernel modules | |
5 | %bcond_without userspace # don't build userspace utilities | |
6 | %bcond_with kernel24 # build kernel24 modules (disable kernel26) | |
7 | %bcond_with internal_libs # internal libs stuff | |
8 | %bcond_with verbose # verbose build (V=1) | |
9 | # | |
10 | %include /usr/lib/rpm/macros.perl | |
11 | %if %{with kernel24} | |
12 | %define _kernelsrcdir /usr/src/linux-2.4 | |
13 | %endif | |
14 | ||
15 | %ifarch %{x8664} | |
16 | %undefine with_userspace | |
17 | %endif | |
18 | # | |
7bed6a99 | 19 | %define _ver 1.0.2 |
20 | %define _build 29634 | |
21 | %define _rel 0.1 | |
22 | %define _urel 104 | |
c744b566 | 23 | %define _ccver %(rpm -q --qf "%{VERSION}" gcc) |
24 | # | |
25 | Summary: VMware player | |
26 | Summary(pl): VMware player - wirtualna platforma dla stacji roboczej | |
27 | Name: VMware-player | |
28 | Version: %{_ver}.%{_build} | |
29 | Release: %{_rel} | |
30 | License: custom, non-distributable | |
31 | Group: Applications/Emulators | |
c744b566 | 32 | Source0: http://download3.vmware.com/software/vmplayer/%{name}-%{_ver}-%{_build}.tar.gz |
7bed6a99 | 33 | # NoSource0-md5:c2b781e450c9c0b51820ca6b428d9773 |
c744b566 | 34 | Source1: http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update%{_urel}.tar.gz |
7bed6a99 | 35 | # Source1-md5: 8cba16d3f6b3723b43d555a5f7cbf850 |
c744b566 | 36 | Source2: %{name}.init |
37 | Source3: %{name}-vmnet.conf | |
38 | Source4: %{name}.png | |
39 | Source5: %{name}.desktop | |
40 | Source6: %{name}-nat.conf | |
41 | Source7: %{name}-dhcpd.conf | |
42 | Patch0: %{name}-Makefile.patch | |
43 | Patch1: %{name}-run_script.patch | |
44 | NoSource: 0 | |
45 | URL: http://www.vmware.com/ | |
46 | BuildRequires: gcc-c++ | |
47 | %{?with_dist_kernel:BuildRequires: kernel-module-build >= 3:2.6.7} | |
48 | BuildRequires: rpm-perlprov | |
49 | BuildRequires: rpmbuild(macros) >= 1.268 | |
50 | BuildRequires: sed >= 4.0 | |
51 | Requires: kernel(vmmon) = %{version}-%{_rel} | |
52 | Requires: libgnomecanvasmm | |
53 | Requires: libview >= 0.5.5-2 | |
54 | ExclusiveArch: %{ix86} %{x8664} | |
55 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
56 | ||
57 | %define _noautoprovfiles %{_libdir}/vmware/lib/.*\.so.* | |
58 | ||
59 | %description | |
60 | VMware Player Virtual Platform is a thin software layer that allows | |
61 | multiple guest operating systems to run concurrently on a single | |
62 | standard PC, without repartitioning or rebooting, and without | |
63 | significant loss of performance. | |
64 | ||
65 | %description -l pl | |
66 | VMware Player Virtual Platform to cienka warstwa oprogramowania | |
67 |