]>
Commit | Line | Data |
---|---|---|
8730de2b JB |
1 | Summary: Hitori puzzle game for GNOME |
2 | Summary(pl.UTF-8): Hitori - układanka logiczna dla GNOME | |
3 | Name: hitori | |
b4102fa9 | 4 | Version: 3.38.1 |
8730de2b JB |
5 | Release: 1 |
6 | License: GPL v3+ | |
7 | Group: X11/Applications/Games | |
b4102fa9 JB |
8 | Source0: https://download.gnome.org/sources/hitori/3.38/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 83e6b3a5f9e43a45f52424ba8f796927 | |
8730de2b | 10 | URL: https://wiki.gnome.org/Apps/Hitori |
8e9818c9 | 11 | BuildRequires: appstream-glib |
8730de2b | 12 | BuildRequires: cairo-devel >= 1.4 |
2d2afa1d | 13 | BuildRequires: desktop-file-utils |
25d171c3 | 14 | BuildRequires: gettext-tools >= 0.19.8 |
8e9818c9 JB |
15 | # -std=gnu11 |
16 | BuildRequires: gcc >= 6:4.7 | |
968fb366 | 17 | BuildRequires: glib2-devel >= 1:2.32.0 |
5f7fa5a1 | 18 | BuildRequires: gtk+3-devel >= 3.22.0 |
8e9818c9 JB |
19 | BuildRequires: meson >= 0.48.0 |
20 | BuildRequires: ninja >= 1.5 | |
8730de2b | 21 | BuildRequires: pkgconfig |
8e9818c9 | 22 | BuildRequires: rpmbuild(macros) >= 1.736 |
968fb366 MB |
23 | BuildRequires: tar >= 1:1.22 |
24 | BuildRequires: xz | |
8730de2b | 25 | BuildRequires: yelp-tools |
fda591ce | 26 | Requires(post,postun): glib2 >= 1:2.32.0 |
8730de2b | 27 | Requires(post,postun): gtk-update-icon-cache |
968fb366 | 28 | Requires: glib2 >= 1:2.32.0 |
5f7fa5a1 | 29 | Requires: gtk+3 >= 3.22.0 |
b5f1ad6d | 30 | Requires: hicolor-icon-theme >= 0.15 |
8730de2b JB |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %description | |
34 | Hitori is a small application written to allow one to play the | |
35 | eponymous puzzle game, which is similar in theme to more popular | |
36 | puzzles such as Sudoku. | |
37 | ||
38 | %description -l pl.UTF-8 | |
39 | Hitori to mała aplikacja pozwalająca na grę w tytułową układankę | |
968fb366 MB |
40 | logiczną - bardzo podobną tematycznie do bardziej popularnych, takich |
41 | jak Sudoku. | |
8730de2b JB |
42 | |
43 | %prep | |
44 | %setup -q | |
45 | ||
46 | %build | |
8e9818c9 | 47 | %meson build |
8730de2b | 48 | |
8e9818c9 | 49 | %ninja_build -C build |
8730de2b JB |
50 | |
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
8e9818c9 | 54 | %ninja_install -C build |
8730de2b JB |
55 | |
56 | %find_lang %{name} --with-gnome | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %post | |
968fb366 | 62 | %glib_compile_schemas |
8730de2b JB |
63 | %update_icon_cache hicolor |
64 | ||
65 | %postun | |
968fb366 | 66 | %glib_compile_schemas |
8730de2b JB |
67 | %update_icon_cache hicolor |
68 | ||
69 | %files -f %{name}.lang | |
70 | %defattr(644,root,root,755) | |
8e9818c9 | 71 | %doc AUTHORS MAINTAINERS NEWS README.md |
8730de2b | 72 | %attr(755,root,root) %{_bindir}/hitori |
968fb366 | 73 | %{_datadir}/glib-2.0/schemas/org.gnome.hitori.gschema.xml |
8e9818c9 | 74 | %{_datadir}/metainfo/org.gnome.Hitori.appdata.xml |
26d365ab | 75 | %{_desktopdir}/org.gnome.Hitori.desktop |
8e9818c9 | 76 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Hitori.svg |
26d365ab | 77 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Hitori-symbolic.svg |