]>
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 | # | |
19 | %define _ver 1.0.1 | |
20 | %define _build 19317 | |
21 | %define _rel 0.2 | |
22 | %define _urel 101 | |
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 | |
32 | Source0: http://download3.vmware.com/software/wkst/%{name}-%{_ver}-%{_build}.tar.gz | |
33 | Source0: http://download3.vmware.com/software/vmplayer/%{name}-%{_ver}-%{_build}.tar.gz | |
34 | # NoSource0-md5: 6101deb381beb49f5b99cb1f8a81a532 | |
35 | Source1: http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update%{_urel}.tar.gz | |
36 | # Source1-md5: b3ce457f5b9ae8b606fd70f56084877d | |
37 | Source2: %{name}.init | |
38 | Source3: %{name}-vmnet.conf | |
39 | Source4: %{name}.png | |
40 | Source5: %{name}.desktop | |
41 | Source6: %{name}-nat.conf | |
42 | Source7: %{name}-dhcpd.conf | |
43 | Patch0: %{name}-Makefile.patch | |
44 | Patch1: %{name}-run_script.patch | |
45 | NoSource: 0 | |
46 | URL: http://www.vmware.com/ | |
47 | BuildRequires: gcc-c++ | |
48 | %{?with_dist_kernel:BuildRequires: kernel-module-build >= 3:2.6.7} | |
49 | BuildRequires: rpm-perlprov | |
50 | BuildRequires: rpmbuild(macros) >= 1.268 | |
51 | BuildRequires: sed >= 4.0 | |
52 | Requires: kernel(vmmon) = %{version}-%{_rel} | |
53 | Requires: libgnomecanvasmm | |
54 | Requires: libview >= 0.5.5-2 | |
55 | ExclusiveArch: %{ix86} %{x8664} | |
56 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
57 | ||
58 | %define _noautoprovfiles %{_libdir}/vmware/lib/.*\.so.* | |
59 | ||
60 | %description | |
61 | VMware Player Virtual Platform is a thin software layer that allows | |
62 | multiple guest operating systems to run concurrently on a single | |
63 | standard PC, without repartitioning or rebooting, and without | |
64 | significant loss of performance. | |
65 | ||
66 | %description -l pl | |
67 | VMware Player Virtual Platform to cienka warstwa oprogramowania | |
68 |