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