]>
Commit | Line | Data |
---|---|---|
80054f32 JB |
1 | Summary: Quadrapassel - Tetris-like game for GNOME |
2 | Summary(pl.UTF-8): Quadrapassel - podobna do Tetrisa gra dla GNOME | |
b3f9699a | 3 | Name: quadrapassel |
52092519 | 4 | Version: 3.38.1 |
b3f9699a | 5 | Release: 1 |
80054f32 | 6 | License: GPL v2+ |
b3f9699a | 7 | Group: X11/Applications/Games |
52092519 JB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/quadrapassel/3.38/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 937b5c8bd80e674c810549bbb3b71270 | |
04c1985d | 10 | URL: https://wiki.gnome.org/Apps/Quadrapassel |
41fb6583 | 11 | BuildRequires: appstream-glib |
b3f9699a MB |
12 | BuildRequires: clutter-devel >= 1.0.0 |
13 | BuildRequires: clutter-gtk-devel >= 0.91.6 | |
41fb6583 | 14 | BuildRequires: cogl-devel >= 1.0 |
2b48cb35 | 15 | BuildRequires: gettext-tools |
41fb6583 | 16 | BuildRequires: gsound-devel >= 1.0.2 |
97d072b4 | 17 | BuildRequires: gtk+3-devel >= 3.12.0 |
41fb6583 JB |
18 | BuildRequires: libmanette-devel >= 0.2.0 |
19 | BuildRequires: librsvg-devel >= 1:2.32.0 | |
20 | BuildRequires: meson | |
21 | BuildRequires: ninja >= 1.5 | |
22 | BuildRequires: pango-devel >= 1:1.12 | |
23 | BuildRequires: pkgconfig | |
52092519 | 24 | BuildRequires: python3 >= 1:3 |
41fb6583 JB |
25 | BuildRequires: rpmbuild(macros) >= 1.736 |
26 | BuildRequires: tar >= 1:1.22 | |
97d072b4 | 27 | BuildRequires: vala >= 2:0.24.0 |
41fb6583 JB |
28 | BuildRequires: vala-gsound >= 1.0.2 |
29 | BuildRequires: vala-libmanette >= 0.2.0 | |
30 | BuildRequires: vala-librsvg >= 1:2.32.0 | |
31 | BuildRequires: xz | |
b3f9699a MB |
32 | BuildRequires: yelp-tools |
33 | Requires(post,postun): glib2 >= 1:2.26.0 | |
34 | Requires(post,postun): gtk-update-icon-cache | |
80054f32 JB |
35 | Requires: clutter >= 1.0.0 |
36 | Requires: clutter-gtk >= 0.91.6 | |
41fb6583 | 37 | Requires: gsound >= 1.0.2 |
97d072b4 | 38 | Requires: gtk+3 >= 3.12.0 |
b3f9699a | 39 | Requires: hicolor-icon-theme |
41fb6583 JB |
40 | Requires: libmanette >= 0.2.0 |
41 | Requires: librsvg >= 1:2.32.0 | |
b3f9699a MB |
42 | Provides: gnome-games-gnometris |
43 | Provides: gnome-games-quadrapassel = 1:%{version}-%{release} | |
44 | Obsoletes: gnome-games-gnometris | |
45 | Obsoletes: gnome-games-quadrapassel < 1:3.8.0 | |
46 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
47 | ||
48 | %description | |
80054f32 JB |
49 | Quadrapassel comes from the classic falling-block game, Tetris. The |
50 | goal of the game is to create complete horizontal lines of blocks, | |
51 | which will disappear. | |
b3f9699a MB |
52 | |
53 | %description -l pl.UTF-8 | |
80054f32 JB |
54 | Quadrapassel wywodzi się z Tetrisa - klasycznej gry ze spadającymi |
55 | blokami. Celem jest tworzenie zapełnionych blokami poziomych rzędów, | |
56 | które wtedy znikają. | |
b3f9699a MB |
57 | |
58 | %prep | |
59 | %setup -q | |
60 | ||
61 | %build | |
41fb6583 | 62 | %meson build |
4e3199da | 63 | |
41fb6583 | 64 | %ninja_build -C build |
b3f9699a MB |
65 | |
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
41fb6583 | 69 | %ninja_install -C build |
b3f9699a MB |
70 | |
71 | %find_lang %{name} --with-gnome | |
72 | ||
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %post | |
77 | %glib_compile_schemas | |
b3f9699a MB |
78 | %update_icon_cache hicolor |
79 | ||
80 | %postun | |
81 | %glib_compile_schemas | |
b3f9699a MB |
82 | %update_icon_cache hicolor |
83 | ||
84 | %files -f %{name}.lang | |
85 | %defattr(644,root,root,755) | |
c4482ec0 | 86 | %doc NEWS README.md TODO.md |
b3f9699a | 87 | %attr(755,root,root) %{_bindir}/quadrapassel |
41fb6583 JB |
88 | %{_datadir}/glib-2.0/schemas/org.gnome.Quadrapassel.gschema.xml |
89 | %{_datadir}/metainfo/org.gnome.Quadrapassel.appdata.xml | |
b3f9699a | 90 | %{_datadir}/quadrapassel |
41fb6583 | 91 | %{_desktopdir}/org.gnome.Quadrapassel.desktop |
41fb6583 JB |
92 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Quadrapassel.svg |
93 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Quadrapassel-symbolic.svg | |
b3f9699a | 94 | %{_mandir}/man6/quadrapassel.6* |