Name: obapps Version: 0.1.7 Release: 5%{?dist} Summary: Graphical tool for configuring per-application settings in Openbox License: MIT URL: http://sourceforge.net/projects/obapps/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source1: %{name}.desktop BuildArch: noarch BuildRequires: python2-devel BuildRequires: desktop-file-utils Requires: openbox Requires: wxPython # Note that including python-xlib will generate an error when running rpmlint, but the README states that it is required. Requires: python-xlib %description A graphical tool for configuring the per-application settings (window matching) in the Openbox window manager. %prep %setup -q %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root %{buildroot} desktop-file-install \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ %{SOURCE1} %files %doc README %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{python_sitelib}/* %changelog * Tue Oct 8 2013 James Wrigley - 0.1.7-5 - Un-orphaned package * Thu Feb 14 2013 Fedora Release Engineering - 0.1.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Oct 30 2012 Mario Blättermann - 0.1.7-3 - Use python2 instead of python - No macros in URL * Mon Oct 29 2012 Mario Blättermann - 0.1.7-2 - Concatenated installing and validating the desktop file - Added scriptlets for updating the desktop database * Mon Oct 29 2012 Mario Blättermann - 0.1.7-1 - Initial package