document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. Summary: Package and settings manager for Wine
  2. Name: winetricks
  3. Version: 20130919
  4. Release: 1%{?dist}
  5. BuildArch: noarch
  6. License: GPLv3
  7. Group: System Utilities
  8. # Source update from: http://winetricks.googlecode.com/svn/trunk/src/winetricks
  9. Source0: http://winetricks.org/%{name}
  10. Source2: %{name}.png
  11. URL: http://wiki.winehq.org/winetricks
  12. Requires: wine, cabextract, unzip, wget
  13. Obsoletes: %name < %version
  14.  
  15. %description
  16. Winetricks is an easy way to work around problems in Wine. It has a menu of
  17. supported games/apps for which it can do all the workarounds automatically.
  18. It also lets you install missing DLLs or tweak various Wine settings individually.
  19.  
  20. %prep
  21.  
  22. %install
  23. rm -rf $RPM_BUILD_ROOT
  24. install -Dm 0755 %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/%{name}
  25.  
  26. #icons
  27. mkdir -p %{buildroot}%{_datadir}/icons/
  28. install -m 644 %{SOURCE2} %buildroot/%{_datadir}/icons/
  29.  
  30. # menu-entry
  31. mkdir -p %{buildroot}%{_datadir}/applications
  32. cat > %{buildroot}/%{_datadir}/applications/%{name}.desktop << EOF
  33. [Desktop Entry]
  34. Name=Winetricks
  35. GenericName=Winetricks
  36. Comment=Winetricks is an easy way to work around problems in Wine.
  37. Icon=/usr/share/icons/winetricks.png
  38. Type=Application
  39. Categories=Application;Game;
  40. Exec=winetricks
  41. StartupNotify=false
  42. Terminal=false
  43. EOF
  44.  
  45. %files
  46. %defattr(755, root, root)
  47. %{_bindir}/%{name}
  48. %{_datadir}/applications/%{name}.desktop
  49. %{_datadir}/icons/%{name}.png
  50.  
  51.  
  52. %changelog
  53.  
  54. * Thu Nov 07 2013 My name <myemail@gmail.com> - 20130919
  55. - Updated to 20130919
');