2b79abe86d56d0ca62b2af9bda1a34e6cc0d3ae3
[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.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 %define         no_install_post_strip   1
18
19 # list of script capabilities (regexps) not to be used in Provides
20 %define         _noautoprov                     libGLU.so.1
21
22 %description
23 A modified WINE version with DirectX 9 support.
24
25 %description -l pl
26 Rozszerzona wersja WINE z obs³ug± DirectX 9.
27
28 %prep
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT
33 %{__tar} xfz %{SOURCE0} -C $RPM_BUILD_ROOT
34
35 # cedega is a bash script
36 %{__sed} -i -e 's,#!/bin/sh,#!/bin/bash,' $RPM_BUILD_ROOT%{_bindir}/cedega
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 # The symlink
44 %attr(755,root,root) %{_bindir}/cedega
45 %dir %{_libdir}/transgaming_cedega/
46 %{_libdir}/transgaming_cedega/*.*
47
48 # The windows C drive and Program files
49 %{_libdir}/transgaming_cedega/.transgaming/
50
51 # The implementation
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*
59 # The licence
60 %{_docdir}/cedega
This page took 0.086916 seconds and 2 git commands to generate.