1 Summary: A commercial version of cedega WINE
2 Summary(pl): Komercyjna wersja WINE w wersji cedega
3 Name: cedega-commercial
6 License: Check /usr/share/doc/cedega/copyright
8 Source0: cedega_%{version}-1.i386.tgz
9 # NoSource0-md5: 589a5d4a698e8c7336c67c1afb6d986d
11 URL: http://www.transgaming.com/
12 BuildRequires: sed >= 4.0
14 ExclusiveArch: %{ix86}
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define no_install_post_strip 1
19 # list of script capabilities (regexps) not to be used in Provides
20 %define _noautoprov libGLU.so.1
23 A modified WINE version with DirectX 9 support.
26 Rozszerzona wersja WINE z obs³ug± DirectX 9.
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT
33 %{__tar} xfz %{SOURCE0} -C $RPM_BUILD_ROOT
35 # cedega is a bash script
36 %{__sed} -i -e 's,#!/bin/sh,#!/bin/bash,' $RPM_BUILD_ROOT%{_bindir}/cedega
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
44 %attr(755,root,root) %{_bindir}/cedega
45 %dir %{_libdir}/transgaming_cedega/
46 %{_libdir}/transgaming_cedega/*.*
48 # The windows C drive and Program files
49 %{_libdir}/transgaming_cedega/.transgaming/
52 %dir %{_libdir}/transgaming_cedega/winex/
53 %dir %{_libdir}/transgaming_cedega/winex/bin
54 %dir %{_libdir}/transgaming_cedega/winex/*lib
55 %attr(755,root,root) %{_libdir}/transgaming_cedega/winex/bin/*
56 %attr(755,root,root) %{_libdir}/transgaming_cedega/winex/*lib/*.so*
57 %{_libdir}/transgaming_cedega/winex/*lib/*.a
58 %{_mandir}/man1/cedega.1*