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