]>
Commit | Line | Data |
---|---|---|
5b19c151 MB |
1 | Summary: GNOME Mines |
2 | Summary(pl.UTF-8): Miny dla GNOME | |
3 | Name: gnome-mines | |
b46c4f17 | 4 | Version: 3.24.0 |
c5303194 | 5 | Release: 2 |
5b19c151 MB |
6 | License: GPL v2 |
7 | Group: X11/Applications/Games | |
b46c4f17 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-mines/3.24/%{name}-%{version}.tar.xz |
9 | # Source0-md5: a18218e32de9254f4946366300dced02 | |
5b19c151 | 10 | URL: https://wiki.gnome.org/Apps/Mines |
05ba0497 | 11 | BuildRequires: appstream-glib-devel |
5b19c151 MB |
12 | BuildRequires: autoconf >= 2.63 |
13 | BuildRequires: automake >= 1:1.11 | |
61a36e4b | 14 | BuildRequires: glib2-devel >= 1:2.40.0 |
5b19c151 | 15 | BuildRequires: gnome-common |
61a36e4b | 16 | BuildRequires: gtk+3-devel >= 3.12.0 |
5b19c151 | 17 | BuildRequires: intltool >= 0.50.0 |
90969940 | 18 | BuildRequires: libgnome-games-support-devel |
61a36e4b | 19 | BuildRequires: librsvg-devel >= 1:2.32.0 |
5b19c151 | 20 | BuildRequires: pkgconfig |
61a36e4b | 21 | BuildRequires: vala >= 2:0.24.0 |
5b19c151 MB |
22 | BuildRequires: yelp-tools |
23 | Requires(post,postun): gtk-update-icon-cache | |
05ba0497 | 24 | Requires(post,postun): glib2 >= 1:2.40.0 |
61a36e4b MB |
25 | Requires: glib2 >= 1:2.40.0 |
26 | Requires: gtk+3 >= 3.12.0 | |
5b19c151 | 27 | Requires: hicolor-icon-theme |
61a36e4b | 28 | Requires: librsvg >= 1:2.32.0 |
5b19c151 MB |
29 | Provides: gnome-games-gnomine = 1:%{version}-%{release} |
30 | Obsoletes: gnome-games-gnomine < 1:3.8.0 | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
34 | Clear mines from a minefield. | |
35 | ||
36 | %description -l pl.UTF-8 | |
37 | Gra, której celem jest rozminowanie pola minowego. | |
38 | ||
39 | %prep | |
40 | %setup -q | |
41 | ||
42 | %build | |
43 | %{__intltoolize} | |
44 | %{__aclocal} | |
45 | %{__autoconf} | |
46 | %{__automake} | |
47 | %configure \ | |
48 | --disable-silent-rules | |
49 | ||
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
58 | %find_lang %{name} --with-gnome | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %post | |
64 | %glib_compile_schemas | |
65 | %update_icon_cache hicolor | |
66 | ||
67 | %postun | |
68 | %glib_compile_schemas | |
69 | %update_icon_cache hicolor | |
70 | ||
71 | %files -f %{name}.lang | |
72 | %defattr(644,root,root,755) | |
73 | %doc NEWS | |
74 | %attr(755,root,root) %{_bindir}/gnome-mines | |
75 | %{_datadir}/appdata/gnome-mines.appdata.xml | |
76 | %{_datadir}/glib-2.0/schemas/org.gnome.mines.gschema.xml | |
77 | %{_datadir}/gnome-mines | |
78 | %{_desktopdir}/gnome-mines.desktop | |
05ba0497 JB |
79 | %{_iconsdir}/hicolor/16x16/actions/flag-symbolic.svg |
80 | %{_iconsdir}/hicolor/*x*/apps/gnome-mines.png | |
81 | %{_iconsdir}/hicolor/scalable/apps/gnome-mines-symbolic.svg | |
5b19c151 | 82 | %{_mandir}/man6/gnome-mines.6* |