]>
Commit | Line | Data |
---|---|---|
5b19c151 MB |
1 | Summary: GNOME Mines |
2 | Summary(pl.UTF-8): Miny dla GNOME | |
3 | Name: gnome-mines | |
e6661299 JB |
4 | Version: 40.1 |
5 | Release: 1 | |
2e439135 | 6 | License: GPL v3+ |
5b19c151 | 7 | Group: X11/Applications/Games |
2faaa850 | 8 | Source0: https://download.gnome.org/sources/gnome-mines/40/%{name}-%{version}.tar.xz |
e6661299 | 9 | # Source0-md5: e97ed3fd975048f70c1e7a38b1932046 |
5b19c151 | 10 | URL: https://wiki.gnome.org/Apps/Mines |
2e439135 | 11 | BuildRequires: appstream-glib |
61a36e4b | 12 | BuildRequires: glib2-devel >= 1:2.40.0 |
2faaa850 | 13 | BuildRequires: gtk+3-devel >= 3.24 |
2e439135 | 14 | BuildRequires: libgee-devel >= 0.8 |
2faaa850 | 15 | BuildRequires: libgnome-games-support-devel >= 1.7.1 |
61a36e4b | 16 | BuildRequires: librsvg-devel >= 1:2.32.0 |
5213e8d9 | 17 | BuildRequires: meson >= 0.37.1 |
2e439135 | 18 | BuildRequires: ninja >= 1.5 |
5b19c151 | 19 | BuildRequires: pkgconfig |
2e439135 | 20 | BuildRequires: rpmbuild(macros) >= 1.736 |
61a36e4b | 21 | BuildRequires: vala >= 2:0.24.0 |
2e439135 | 22 | BuildRequires: vala-libgee >= 0.8 |
ac15bb41 | 23 | BuildRequires: vala-libgnome-games-support |
2e439135 JB |
24 | BuildRequires: vala-librsvg >= 1:2.32.0 |
25 | BuildRequires: tar >= 1:1.22 | |
26 | BuildRequires: xz | |
5b19c151 MB |
27 | BuildRequires: yelp-tools |
28 | Requires(post,postun): gtk-update-icon-cache | |
05ba0497 | 29 | Requires(post,postun): glib2 >= 1:2.40.0 |
61a36e4b | 30 | Requires: glib2 >= 1:2.40.0 |
2faaa850 | 31 | Requires: gtk+3 >= 3.24 |
5b19c151 | 32 | Requires: hicolor-icon-theme |
2faaa850 | 33 | Requires: libgnome-games-support >= 1.7.1 |
61a36e4b | 34 | Requires: librsvg >= 1:2.32.0 |
5b19c151 MB |
35 | Provides: gnome-games-gnomine = 1:%{version}-%{release} |
36 | Obsoletes: gnome-games-gnomine < 1:3.8.0 | |
37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
38 | ||
39 | %description | |
2e439135 JB |
40 | Mines (previously gnomine) is a puzzle game where you locate mines |
41 | floating in an ocean using only your brain and a little bit of luck. | |
5b19c151 MB |
42 | |
43 | %description -l pl.UTF-8 | |
2e439135 JB |
44 | Mines (dawniej gnomine) to układanka, w której należy zlokalizować |
45 | przywające w oceanie miny, korzystając z własnego mózgu oraz odrobiny | |
46 | szczęścia. | |
5b19c151 MB |
47 | |
48 | %prep | |
49 | %setup -q | |
50 | ||
51 | %build | |
2e439135 | 52 | %meson build |
5b19c151 | 53 | |
2e439135 | 54 | %ninja_build -C build |
5b19c151 MB |
55 | |
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
2e439135 | 59 | %ninja_install -C build |
5b19c151 MB |
60 | |
61 | %find_lang %{name} --with-gnome | |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %post | |
67 | %glib_compile_schemas | |
68 | %update_icon_cache hicolor | |
69 | ||
70 | %postun | |
71 | %glib_compile_schemas | |
72 | %update_icon_cache hicolor | |
73 | ||
74 | %files -f %{name}.lang | |
75 | %defattr(644,root,root,755) | |
2e439135 | 76 | %doc NEWS README.md |
5b19c151 | 77 | %attr(755,root,root) %{_bindir}/gnome-mines |
2e439135 | 78 | %{_datadir}/glib-2.0/schemas/org.gnome.Mines.gschema.xml |
5b19c151 | 79 | %{_datadir}/gnome-mines |
2e439135 JB |
80 | %{_datadir}/metainfo/org.gnome.Mines.appdata.xml |
81 | %{_desktopdir}/org.gnome.Mines.desktop | |
82 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Mines.svg | |
83 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Mines-symbolic.svg | |
5b19c151 | 84 | %{_mandir}/man6/gnome-mines.6* |