]>
Commit | Line | Data |
---|---|---|
1 | Summary: A commercial version of cedega WINE | |
2 | Summary(pl.UTF-8): Komercyjna wersja WINE w wersji cedega | |
3 | Name: cedega-commercial | |
4 | Version: 4.4 | |
5 | Release: 2 | |
6 | License: Check /usr/share/doc/cedega/copyright | |
7 | Group: Applications | |
8 | Source0: cedega_%{version}-1.i386.tgz | |
9 | # NoSource0-md5: 589a5d4a698e8c7336c67c1afb6d986d | |
10 | NoSource: 0 | |
11 | URL: http://www.transgaming.com/ | |
12 | BuildRequires: sed >= 4.0 | |
13 | Requires: OpenGL | |
14 | ExclusiveArch: %{ix86} | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | # list of script capabilities (regexps) not to be used in Provides | |
18 | %define _noautoprov libGLU.so.1 | |
19 | ||
20 | %description | |
21 | A modified WINE version with DirectX 9 support. | |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | Rozszerzona wersja WINE z obsługą DirectX 9. | |
25 | ||
26 | %prep | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | install -d $RPM_BUILD_ROOT | |
31 | %{__tar} xfz %{SOURCE0} -C $RPM_BUILD_ROOT | |
32 | ||
33 | # cedega is a bash script | |
34 | %{__sed} -i -e 's,#!/bin/sh,#!/bin/bash,' $RPM_BUILD_ROOT%{_bindir}/cedega | |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | # The symlink | |
42 | %attr(755,root,root) %{_bindir}/cedega | |
43 | %dir %{_libdir}/transgaming_cedega/ | |
44 | %{_libdir}/transgaming_cedega/*.* | |
45 | ||
46 | # The windows C drive and Program files | |
47 | %{_libdir}/transgaming_cedega/.transgaming/ | |
48 | ||
49 | # The implementation | |
50 | %dir %{_libdir}/transgaming_cedega/winex/ | |
51 | %dir %{_libdir}/transgaming_cedega/winex/bin | |
52 | %dir %{_libdir}/transgaming_cedega/winex/*lib | |
53 | %attr(755,root,root) %{_libdir}/transgaming_cedega/winex/bin/* | |
54 | %attr(755,root,root) %{_libdir}/transgaming_cedega/winex/*lib/*.so* | |
55 | %{_libdir}/transgaming_cedega/winex/*lib/*.a | |
56 | %{_mandir}/man1/cedega.1* | |
57 | # The licence | |
58 | %{_docdir}/cedega |