blob: 113ce135c20514fc13d187e5fe97c659a9df793a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
Summary: A commercial version of cedega WINE
Summary(pl): Komercyjna wersja WINE w wersji cedega
Name: cedega-commercial
Version: 4.1
Release: 1
Copyright: 2000-2004 TransGaming Technologies Inc.
#License: Check /usr/share/doc/cedega/copyright
Group: Applications
Vendor: TransGaming Technologies Inc.
Source0: cedega_%{version}-1.i386.tgz
URL: http://www.transgaming.com
BuildRequires: tar
Requires: OpenGL
ExclusiveArch: %{ix86}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define no_install_post_strip 1
%description
A modified WINE version with DirectX 9 support.
%description -l pl
Rozszerzona wersja WINE z obsług± DirectX 9.
%prep
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT
%{__tar} xfz %{SOURCE0} -C $RPM_BUILD_ROOT
# cedega is a bash script
%{__sed} -i -e 's,#!/bin/sh,#!/bin/bash,' $RPM_BUILD_ROOT%{_bindir}/cedega
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
# The symlink
%attr(755,root,root) %{_bindir}/cedega
%dir %{_libdir}/transgaming_cedega/
%{_libdir}/transgaming_cedega/*.*
# The windows C drive and Program files
%{_libdir}/transgaming_cedega/.transgaming/
# The implementation
%dir %{_libdir}/transgaming_cedega/winex/
%dir %{_libdir}/transgaming_cedega/winex/bin
%dir %{_libdir}/transgaming_cedega/winex/*lib
%attr(755,root,root) %{_libdir}/transgaming_cedega/winex/bin/*
%attr(755,root,root) %{_libdir}/transgaming_cedega/winex/*lib/*.so*
%{_libdir}/transgaming_cedega/winex/*lib/*.a
# The licence
%{_defaultdocdir}/cedega
|