2 Summary(pl.UTF-8): Gra Lights Off dla GNOME
7 Group: X11/Applications/Games
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/lightsoff/3.12/%{name}-%{version}.tar.xz
9 # Source0-md5: 40a100d7db0f2badf63024d1c8d4e69e
10 URL: https://wiki.gnome.org/Apps/Lightsoff
11 BuildRequires: appdata-tools
12 BuildRequires: autoconf >= 2.63
13 BuildRequires: automake >= 1:1.11
14 BuildRequires: clutter-devel >= 1.14.0
15 BuildRequires: clutter-gtk-devel >= 1.4.0
16 BuildRequires: gnome-common
17 BuildRequires: gtk+3-devel >= 3.10.0
18 BuildRequires: intltool >= 0.50.0
19 BuildRequires: pkgconfig
20 BuildRequires: vala >= 2:0.22.0
21 BuildRequires: yelp-tools
22 Requires(post,postun): gtk-update-icon-cache
23 Requires(post,postun): glib2 >= 1:2.26.0
24 Requires: clutter >= 1.14.0
25 Requires: clutter-gtk >= 1.4.0
26 Requires: gtk+3 >= 3.10.0
27 Requires: hicolor-icon-theme
28 Provides: gnome-games-lightsoff = 1:%{version}-%{release}
29 Obsoletes: gnome-games-lightsoff < 1:3.8.0
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Lights Off is a puzzle game, where the objective is to turn off all of
34 the tiles on the board. Each click toggles the state of the clicked
35 tile and its non-diagonal neighbors.
37 %description -l pl.UTF-8
38 Lights Off to układanka, której celem jest zgaszenie wszystkich pól na
39 planszy. Każde kliknięcie zmienia stan klikniętego pola oraz jego
40 najbliższych sąsiadów (nie po przekątnej).
51 --disable-silent-rules
56 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
61 %find_lang %{name} --with-gnome
64 rm -rf $RPM_BUILD_ROOT
68 %update_icon_cache HighContrast
69 %update_icon_cache hicolor
73 %update_icon_cache HighContrast
74 %update_icon_cache hicolor
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_bindir}/lightsoff
79 %{_datadir}/appdata/lightsoff.appdata.xml
80 %{_datadir}/glib-2.0/schemas/org.gnome.lightsoff.gschema.xml
82 %{_desktopdir}/lightsoff.desktop
83 %{_iconsdir}/HighContrast/*/*/*.png
84 %{_iconsdir}/hicolor/*/*/*.svg