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