Name: wine-doors Version: 0.1.2 Release: 2%{?dist} Summary: One-click Windows application installer / Wine frontend BuildArch: noarch Group: Applications/Emulators License: GPLv2+ URL: http://www.%{name}.org Source0: http://www.%{name}.org/releases/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}.valid_desktop.patch Patch1: %{name}-%{version}.desktop-file-install.patch Patch2: %{name}-%{version}.rel_symlinks.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python, pygtk2-libglade, pygtk2, glade2, wine, cabextract, gnome-python2-rsvg Requires: pygtk2-libglade, glade2, wine, gnome-python2-rsvg, cabextract %description Wine doors is an application designed to assist users in obtaining, installing, uninstalling and working around the caveats associated with wine applications. Although wine doors is intended to be a replacement for winetools it is not limited to release cycles for the applications available to install, instead a web service will be provided, this web service or repository will serve XML Pack Lists as an index of applications and Application Packs which provide information about specific applications as well as various other resources. Using a web service to connect users to applications means the service can be community managed thus splitting application installation and configuration from the user interface used to install the applications. We hope to extend the current wine application database to allow integration with wine-doors, allowing the community to manage all aspects of an application installation & running on wine. %prep %setup -q chmod +x src/build-repos.sh chmod +x src/setdefaultxkbmap.sh %patch0 -p1 %patch1 -p1 %patch2 -p1 %build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT %{__python} setup.py install --sysinstall --root=$RPM_BUILD_ROOT desktop-file-install --vendor="fedora" \ --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ dist/%{name}.desktop cd $RPM_BUILD_ROOT%{_datadir}/pixmaps ln -s ../%{name}/pixmaps/%{name}.png . ln -s ../%{name}/pixmaps/%{name}.svg . cd $RPM_BUILD_ROOT%{_bindir} ln -s ../share/%{name}/src/winedoors.py wine-doors %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc INSTALL LICENSE README %{_datadir}/applications/fedora-%{name}.desktop %{_datadir}/%{name}/* %{_bindir}/%{name} %{_datadir}/pixmaps/%{name}.* %dir %{_sysconfdir}/%{name} %config (noreplace) %{_sysconfdir}/%{name}/preferences.xml %changelog * Sat Jun 6 2008 Martin-Gomez Pablo 0.1.2-2.fc9 - Add 2 patches - Add a missing %%dir in %%files section * Sat May 3 2008 Martin-Gomez Pablo 0.1.2-1.fc9 - First RPM release.