158e5a3af976ce2317470c1556b568fa28fcadc1
[packages/cedega-commercial.git] / cedega-commercial.spec
1 Summary:        A commercial version of cedega WINE
2 Summary(pl):    Komercyjna wersja WINE w wersji cedega
3 Name:           cedega-commercial
4 Version:        4.3
5 Release:        1
6 Copyright:      2000-2004 TransGaming Technologies Inc.
7 #License:       Check /usr/share/doc/cedega/copyright
8 Group:          Applications
9 Vendor:         TransGaming Technologies Inc.
10 Source0:        cedega_%{version}-1.i386.tgz
11 URL:            http://www.transgaming.com
12 BuildRequires:  sed >= 4.0
13 BuildRequires:  tar
14 Requires:       OpenGL
15 ExclusiveArch:  %{ix86}
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         no_install_post_strip   1
19
20 %description
21 A modified WINE version with DirectX 9 support.
22
23 %description -l pl
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
57 # The licence
58 %{_defaultdocdir}/cedega
This page took 0.039528 seconds and 2 git commands to generate.