%define name congruity %define version 14 %define rel 1 Summary: Logitech Harmony remote programmer GUI Name: %{name} Version: %{version} Release: %mkrel %{rel} # remote.png is CC-BY-SA, see LICENSE.txt: License: GPLv3+ and CC-BY-SA URL: http://congruity.sourceforge.net/ Source: http://downloads.sourceforge.net/congruity/congruity-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-root Group: System/Configuration/Hardware Requires: python-libconcord Requires: wxPythonGTK BuildArch: noarch %description This software allows you to program your Logitech Harmony universal remote. %prep %setup -q %install rm -rf %{buildroot} %makeinstall_std RUN_UPDATE_DESKTOP_DB=0 PREFIX=%{_prefix} install -d -m755 %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/mandriva-harmony-www.desktop <<EOF [Desktop Entry] Name=Logitech Harmony configuration Comment=Configure a Harmony remote Exec=www-browser http://members.harmonyremote.com/ Type=Application Icon=web_browser_section Categories=Utility;Electronics; EOF %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changelog README.txt LICENSE.txt %{_bindir}/congruity %{_datadir}/congruity %{_datadir}/applications/congruity.desktop %{_datadir}/applications/mandriva-harmony-www.desktop %{_mandir}/man1/congruity* %changelog * Fri Dec 25 2009 Ahmad Samir <ahmadsamir@mandriva.org> 14-1mdv2010.1 + Revision: 482192 - Add missing Requires (bug #56650) - Update to new version 14 * Thu Oct 01 2009 Anssi Hannula <anssi@mandriva.org> 13-1mdv2010.0 + Revision: 452156 - new version - drop desktop.patch, applied upstream * Sun Jul 12 2009 Anssi Hannula <anssi@mandriva.org> 12-1mdv2010.0 + Revision: 395312 - new version - use included desktop file with changes (desktop.patch) * Sun Nov 02 2008 Anssi Hannula <anssi@mandriva.org> 9-1mdv2009.1 + Revision: 299208 - initial Mandriva release