]> git.pld-linux.org Git - packages/lightsoff.git/blame - lightsoff.spec
Update to 3.12.2
[packages/lightsoff.git] / lightsoff.spec
CommitLineData
f4f19651
MB
1Summary: Lights Off
2Summary(pl.UTF-8): Gra Lights Off dla GNOME
3Name: lightsoff
b029da6b 4Version: 3.12.2
f4f19651
MB
5Release: 1
6License: GPL v2
7Group: X11/Applications/Games
8Source0: http://ftp.gnome.org/pub/GNOME/sources/lightsoff/3.12/%{name}-%{version}.tar.xz
b029da6b 9# Source0-md5: c5ae516ea89ba6aec8fe67ee70b1039a
f4f19651
MB
10URL: https://wiki.gnome.org/Apps/Lightsoff
11BuildRequires: appdata-tools
12BuildRequires: autoconf >= 2.63
13BuildRequires: automake >= 1:1.11
14BuildRequires: clutter-devel >= 1.14.0
15BuildRequires: clutter-gtk-devel >= 1.4.0
16BuildRequires: gnome-common
17BuildRequires: gtk+3-devel >= 3.10.0
18BuildRequires: intltool >= 0.50.0
19BuildRequires: pkgconfig
20BuildRequires: vala >= 2:0.22.0
21BuildRequires: yelp-tools
22Requires(post,postun): gtk-update-icon-cache
23Requires(post,postun): glib2 >= 1:2.26.0
24Requires: clutter >= 1.14.0
25Requires: clutter-gtk >= 1.4.0
26Requires: gtk+3 >= 3.10.0
27Requires: hicolor-icon-theme
28Provides: gnome-games-lightsoff = 1:%{version}-%{release}
29Obsoletes: gnome-games-lightsoff < 1:3.8.0
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33Lights Off is a puzzle game, where the objective is to turn off all of
34the tiles on the board. Each click toggles the state of the clicked
35tile and its non-diagonal neighbors.
36
37%description -l pl.UTF-8
38Lights Off to układanka, której celem jest zgaszenie wszystkich pól na
39planszy. Każde kliknięcie zmienia stan klikniętego pola oraz jego
40najbliż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
56rm -rf $RPM_BUILD_ROOT
57
58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
60
61%find_lang %{name} --with-gnome
62
63%clean
64rm -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
This page took 0.063291 seconds and 4 git commands to generate.