Name: lightsoff Version: 3.22.2 Release: 1%{?dist} Summary: GNOME Lightsoff game License: GPLv2+ and CC-BY-SA URL: https://wiki.gnome.org/Apps/Lightsoff Source0: https://download.gnome.org/sources/%{name}/3.22/%{name}-%{version}.tar.xz BuildRequires: clutter-gtk-devel BuildRequires: desktop-file-utils BuildRequires: gtk3-devel BuildRequires: intltool BuildRequires: itstool BuildRequires: librsvg2-devel BuildRequires: vala Obsoletes: gnome-games-extra < 1:3.7.90 Obsoletes: gnome-games-lightsoff < 1:3.7.90 %description A puzzle played on an 5X5 grid with the aim to turn off all the lights. Each click on a tile toggles the state of the clicked tile and its non-diagonal neighbors. %prep %setup -q %build %configure make %{?_smp_mflags} %install %make_install %find_lang %{name} --with-gnome %check desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/lightsoff.desktop %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ]; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : %files -f %{name}.lang %license COPYING %{_bindir}/lightsoff %{_datadir}/appdata/lightsoff.appdata.xml %{_datadir}/applications/lightsoff.desktop %{_datadir}/glib-2.0/schemas/org.gnome.lightsoff.gschema.xml %{_datadir}/icons/hicolor/*/apps/lightsoff.* %{_datadir}/icons/hicolor/scalable/apps/lightsoff-symbolic.svg %{_datadir}/lightsoff %changelog * Thu Nov 24 2016 Kalev Lember - 3.22.2-1 - Update to 3.22.2 * Mon Sep 19 2016 Kalev Lember - 3.22.0-1 - Update to 3.22.0 * Tue Sep 13 2016 Kalev Lember - 3.21.92-1 - Update to 3.21.92 * Fri Sep 02 2016 Kalev Lember - 3.21.91-1 - Update to 3.21.91 * Thu Aug 18 2016 Kalev Lember - 3.21.90-1 - Update to 3.21.90 - Move desktop file validation to the check section - Update project URLs * Tue Mar 22 2016 Kalev Lember - 3.20.0-1 - Update to 3.20.0 * Tue Mar 15 2016 Kalev Lember - 3.19.91-1 - Update to 3.19.91 * Tue Feb 16 2016 Richard Hughes - 3.19.90-1 - Update to 3.19.90 * Thu Feb 04 2016 Fedora Release Engineering - 3.19.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jan 20 2016 Kalev Lember - 3.19.4-1 - Update to 3.19.4 * Mon Dec 14 2015 Kalev Lember - 3.19.3-1 - Update to 3.19.3 * Mon Sep 21 2015 Kalev Lember - 3.18.0-1 - Update to 3.18.0 * Mon Sep 14 2015 Kalev Lember - 3.17.92-1 - Update to 3.17.92 * Mon Aug 31 2015 Kalev Lember - 3.17.91-1 - Update to 3.17.91 * Mon Aug 17 2015 Kalev Lember - 3.17.90-1 - Update to 3.17.90 - Use make_install macro * Wed Jun 17 2015 Fedora Release Engineering - 3.17.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri May 01 2015 Kalev Lember - 3.17.1-1 - Update to 3.17.1 * Thu Apr 16 2015 Kalev Lember - 3.16.1.1-1 - Update to 3.16.1.1 * Mon Mar 23 2015 Kalev Lember - 3.16.0-1 - Update to 3.16.0 * Tue Mar 17 2015 Kalev Lember - 3.15.92-1 - Update to 3.15.92 * Mon Mar 02 2015 Kalev Lember - 3.15.91-1 - Update to 3.15.91 - Use the %%license macro for the COPYING file * Tue Feb 17 2015 Richard Hughes - 3.15.90-1 - Update to 3.15.90 * Tue Jan 20 2015 Richard Hughes - 3.15.4-1 - Update to 3.15.4 * Fri Dec 19 2014 Richard Hughes - 3.15.3-1 - Update to 3.15.3 * Mon Oct 13 2014 Kalev Lember - 3.14.1-1 - Update to 3.14.1 * Mon Sep 22 2014 Kalev Lember - 3.14.0-1 - Update to 3.14.0 * Tue Sep 16 2014 Kalev Lember - 3.13.92-1 - Update to 3.13.92 * Mon Sep 01 2014 Kalev Lember - 3.13.91-1 - Update to 3.13.91 * Tue Aug 19 2014 Kalev Lember - 3.13.90-1 - Update to 3.13.90 * Sun Aug 17 2014 Fedora Release Engineering - 3.13.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Jul 21 2014 Kalev Lember - 3.13.4-1 - Update to 3.13.4 * Sat Jun 07 2014 Fedora Release Engineering - 3.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Apr 29 2014 Richard Hughes - 3.13.1-1 - Update to 3.13.1 * Wed Apr 16 2014 Kalev Lember - 3.12.1-1 - Update to 3.12.1 * Tue Mar 25 2014 Adam Williamson - 3.12.0-2 - backport upstream patch to fix touchscreen interaction * Sun Mar 23 2014 Kalev Lember - 3.12.0-1 - Update to 3.12.0 * Tue Mar 18 2014 Richard Hughes - 3.11.92-1 - Update to 3.11.92 * Tue Mar 04 2014 Richard Hughes - 3.11.91-1 - Update to 3.11.91 * Thu Feb 20 2014 Kalev Lember - 3.11.90-2 - Rebuilt for cogl soname bump * Mon Feb 17 2014 Richard Hughes - 3.11.90-1 - Update to 3.11.90 * Mon Feb 10 2014 Peter Hutterer - 3.11.5-3 - Rebuild for libevdev soname bump * Wed Feb 05 2014 Kalev Lember - 3.11.5-2 - Rebuilt for cogl soname bump * Mon Feb 03 2014 Richard Hughes - 3.11.5-1 - Update to 3.11.5 * Mon Jan 13 2014 Richard Hughes - 3.11.4-1 - Update to 3.11.4 * Tue Dec 17 2013 Richard Hughes - 3.11.3-1 - Update to 3.11.3 * Mon Nov 18 2013 Richard Hughes - 3.11.2-1 - Update to 3.11.2 * Tue Oct 29 2013 Richard Hughes - 3.11.1-1 - Update to 3.11.1 * Wed Sep 25 2013 Kalev Lember - 3.10.0-1 - Update to 3.10.0 * Wed Sep 18 2013 Kalev Lember - 3.9.92-1 - Update to 3.9.92 - Include the appdata file * Thu Aug 22 2013 Kalev Lember - 3.9.90-1 - Update to 3.9.90 * Fri Aug 09 2013 Kalev Lember - 3.8.0-4 - Rebuilt for cogl 1.15.4 soname bump * Sat Aug 03 2013 Fedora Release Engineering - 3.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Jun 22 2013 Kalev Lember - 3.8.0-2 - Obsolete gnome-games-extra (for upgrades from f17) * Fri Mar 29 2013 Tanner Doshier - 3.8.0-1 - Update to 3.8.0 - Add high contrast icons * Tue Mar 5 2013 Tanner Doshier - 3.7.90-1 - Initial packaging of standalone lightsoff