]>
Commit | Line | Data |
---|---|---|
f4f19651 MB |
1 | Summary: Lights Off |
2 | Summary(pl.UTF-8): Gra Lights Off dla GNOME | |
3 | Name: lightsoff | |
b029da6b | 4 | Version: 3.12.2 |
f4f19651 MB |
5 | Release: 1 |
6 | License: GPL v2 | |
7 | Group: X11/Applications/Games | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/lightsoff/3.12/%{name}-%{version}.tar.xz | |
b029da6b | 9 | # Source0-md5: c5ae516ea89ba6aec8fe67ee70b1039a |
f4f19651 MB |
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) | |
31 | ||
32 | %description | |
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. | |
36 | ||
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). | |
41 | ||
42 | %prep | |
43 | %setup -q | |
44 | ||
45 | %build | |
46 | %{__intltoolize} | |
47 | %{__aclocal} | |
48 | %{__autoconf} | |
49 | %{__automake} | |
50 | %configure \ | |
51 | --disable-silent-rules | |
52 | ||
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | %find_lang %{name} --with-gnome | |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %post | |
67 | %glib_compile_schemas | |
68 | %update_icon_cache HighContrast | |
69 | %update_icon_cache hicolor | |
70 | ||
71 | %postun | |
72 | %glib_compile_schemas | |
73 | %update_icon_cache HighContrast | |
74 | %update_icon_cache hicolor | |
75 | ||
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 | |
81 | %{_datadir}/lightsoff | |
82 | %{_desktopdir}/lightsoff.desktop | |
83 | %{_iconsdir}/HighContrast/*/*/*.png | |
84 | %{_iconsdir}/hicolor/*/*/*.svg |