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