]> git.pld-linux.org Git - packages/PlayOnLinux.git/blob - PlayOnLinux.spec
841e0c00b51d692d367736c9c447dc0dba268507
[packages/PlayOnLinux.git] / PlayOnLinux.spec
1 Summary:        GUI for managing Windows and DOS programs under linux
2 Name:           PlayOnLinux
3 Version:        3.8.8
4 Release:        0.2
5 License:        GPL v3
6 Group:          X11/Applications/Games
7 Source0:        http://www.playonlinux.com/script_files/PlayOnLinux/%{version}/%{name}_%{version}.tar.gz
8 # Source0-md5:  1bc12abd0a3d2426ea35e6887e9d3bd5
9 Source1:        %{name}.desktop
10 URL:            http://www.playonlinux.com/en/
11 BuildRequires:  rpm-pythonprov
12 Requires:       python-wxPython
13 Requires:       wine
14 Requires:       xterm
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 PlayOnLinux is a piece of sofware which allows you to easily install
20 and use numerous games and apps designed to run with Microsoft®
21 Windows.
22
23 %prep
24 %setup -q -n playonlinux
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_desktopdir}}
29 cp -r * $RPM_BUILD_ROOT%{_datadir}/%{name}
30 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
31 rm $RPM_BUILD_ROOT%{_datadir}/%{name}/{CHANGELOG,LICENCE}
32
33 for exec in playonlinux*; do
34         cat > $RPM_BUILD_ROOT%{_bindir}/$exec <<-EOF
35         #!/bin/sh
36         exec %{_datadir}/%{name}/$exec \${1+"\$@"}
37 EOF
38         chmod +x $RPM_BUILD_ROOT%{_bindir}/$exec
39 done
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc CHANGELOG
47 %dir %{_datadir}/%{name}
48 %attr(755,root,root) %{_bindir}/playonlinux*
49 %attr(755,root,root) %{_datadir}/%{name}/playonlinux*
50 %{_datadir}/%{name}/bash
51 %{_datadir}/%{name}/etc
52 %{_datadir}/%{name}/lang
53 %{_datadir}/%{name}/lib
54 %{_datadir}/%{name}/plugins
55 %{_datadir}/%{name}/python
56 %{_datadir}/%{name}/themes
57 %{_desktopdir}/%{name}.desktop
This page took 0.053943 seconds and 2 git commands to generate.