]>
Commit | Line | Data |
---|---|---|
75e9eb5e | 1 | Summary: GNOME Lights Off game |
f4f19651 MB |
2 | Summary(pl.UTF-8): Gra Lights Off dla GNOME |
3 | Name: lightsoff | |
4bf89e47 | 4 | Version: 3.34.0 |
f4f19651 | 5 | Release: 1 |
75e9eb5e | 6 | License: GPL v2+ |
f4f19651 | 7 | Group: X11/Applications/Games |
4bf89e47 JB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/lightsoff/3.34/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 3abe1839d2fc0c1079dc64901e3d6af9 | |
f4f19651 | 10 | URL: https://wiki.gnome.org/Apps/Lightsoff |
4bf89e47 | 11 | BuildRequires: appstream-glib |
f4f19651 | 12 | BuildRequires: clutter-devel >= 1.14.0 |
0f8f39c0 | 13 | BuildRequires: clutter-gtk-devel >= 1.5.0 |
28a6bc84 | 14 | BuildRequires: gettext-tools >= 0.19.8 |
2658e68a | 15 | BuildRequires: glib2-devel >= 1:2.38.0 |
0f8f39c0 | 16 | BuildRequires: gtk+3-devel >= 3.14.0 |
0f8f39c0 | 17 | BuildRequires: librsvg-devel >= 1:2.32.0 |
f4f19651 | 18 | BuildRequires: pkgconfig |
4bf89e47 JB |
19 | BuildRequires: rpmbuild(macros) >= 1.736 |
20 | BuildRequires: tar >= 1:1.22 | |
f4f19651 | 21 | BuildRequires: vala >= 2:0.22.0 |
4bf89e47 JB |
22 | BuildRequires: vala-librsvg >= 1:2.32.0 |
23 | BuildRequires: xz | |
f4f19651 MB |
24 | BuildRequires: yelp-tools |
25 | Requires(post,postun): gtk-update-icon-cache | |
896b3b51 | 26 | Requires(post,postun): glib2 >= 1:2.38.0 |
f4f19651 | 27 | Requires: clutter >= 1.14.0 |
0f8f39c0 | 28 | Requires: clutter-gtk >= 1.5.0 |
2658e68a | 29 | Requires: glib2 >= 1:2.38.0 |
0f8f39c0 | 30 | Requires: gtk+3 >= 3.14.0 |
f4f19651 | 31 | Requires: hicolor-icon-theme |
0f8f39c0 | 32 | Requires: librsvg >= 1:2.32.0 |
f4f19651 MB |
33 | Provides: gnome-games-lightsoff = 1:%{version}-%{release} |
34 | Obsoletes: gnome-games-lightsoff < 1:3.8.0 | |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
36 | ||
37 | %description | |
38 | Lights Off is a puzzle game, where the objective is to turn off all of | |
39 | the tiles on the board. Each click toggles the state of the clicked | |
40 | tile and its non-diagonal neighbors. | |
41 | ||
42 | %description -l pl.UTF-8 | |
43 | Lights Off to układanka, której celem jest zgaszenie wszystkich pól na | |
44 | planszy. Każde kliknięcie zmienia stan klikniętego pola oraz jego | |
45 | najbliższych sąsiadów (nie po przekątnej). | |
46 | ||
47 | %prep | |
48 | %setup -q | |
49 | ||
50 | %build | |
4bf89e47 | 51 | %meson build |
f4f19651 | 52 | |
4bf89e47 | 53 | %ninja_build -C build |
f4f19651 MB |
54 | |
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
4bf89e47 | 58 | %ninja_install -C build |
f4f19651 MB |
59 | |
60 | %find_lang %{name} --with-gnome | |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %post | |
66 | %glib_compile_schemas | |
f4f19651 MB |
67 | %update_icon_cache hicolor |
68 | ||
69 | %postun | |
70 | %glib_compile_schemas | |
f4f19651 MB |
71 | %update_icon_cache hicolor |
72 | ||
73 | %files -f %{name}.lang | |
74 | %defattr(644,root,root,755) | |
75e9eb5e | 75 | %doc NEWS |
f4f19651 | 76 | %attr(755,root,root) %{_bindir}/lightsoff |
4bf89e47 | 77 | %{_datadir}/glib-2.0/schemas/org.gnome.LightsOff.gschema.xml |
f4f19651 | 78 | %{_datadir}/lightsoff |
4bf89e47 JB |
79 | %{_datadir}/metainfo/org.gnome.LightsOff.appdata.xml |
80 | %{_desktopdir}/org.gnome.LightsOff.desktop | |
81 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.LightsOff.svg | |
82 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.LightsOff-symbolic.svg |