]>
Commit | Line | Data |
---|---|---|
f036d8cf MB |
1 | Summary: Map application for GNOME |
2 | Name: gnome-maps | |
a0e5a610 | 3 | Version: 3.12.2 |
60925c75 | 4 | Release: 1 |
f036d8cf MB |
5 | License: GPL v2+ |
6 | Group: X11/Applications | |
60925c75 | 7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-maps/3.12/%{name}-%{version}.tar.xz |
a0e5a610 | 8 | # Source0-md5: 3174cab728431abffe315598044118e2 |
f036d8cf MB |
9 | URL: http://wiki.gnome.org/Maps |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake >= 1:1.10 | |
60925c75 MB |
12 | BuildRequires: gjs-devel >= 1.40.0 |
13 | BuildRequires: glib2-devel >= 1:2.40.0 | |
14 | BuildRequires: gobject-introspection-devel >= 0.10.1 | |
f036d8cf MB |
15 | BuildRequires: intltool >= 0.40.0 |
16 | BuildRequires: libtool | |
17 | BuildRequires: pkgconfig >= 1:0.22 | |
18 | BuildRequires: tar >= 1:1.22 | |
19 | BuildRequires: xz | |
20 | Requires(post,postun): gtk-update-icon-cache | |
21 | Requires(post,postun): glib2 >= 1:2.26.0 | |
22 | Requires: clutter | |
23 | Requires: clutter-gtk | |
24 | Requires: cogl | |
25 | Requires: geocode-glib | |
60925c75 MB |
26 | Requires: gjs >= 1.40.0 |
27 | Requires: glib2 >= 1:2.40.0 | |
f036d8cf MB |
28 | Requires: gtk+3 |
29 | Requires: hicolor-icon-theme | |
30 | Requires: libchamplain | |
31 | Requires: libsoup | |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
33 | ||
34 | %description | |
35 | GNOME Maps is a simple map application for the GNOME desktop. | |
36 | ||
37 | %prep | |
38 | %setup -q | |
39 | ||
40 | %build | |
41 | %{__intltoolize} | |
42 | %{__libtoolize} | |
43 | %{__aclocal} -I m4 | |
44 | %{__autoconf} | |
45 | %{__automake} | |
46 | %configure \ | |
47 | --disable-silent-rules | |
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} | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %post | |
62 | %update_icon_cache hicolor | |
63 | %glib_compile_schemas | |
64 | ||
65 | %postun | |
66 | %update_icon_cache hicolor | |
67 | %glib_compile_schemas | |
68 | ||
69 | %files -f %{name}.lang | |
70 | %defattr(644,root,root,755) | |
71 | %doc NEWS README | |
72 | %attr(755,root,root) %{_bindir}/gnome-maps | |
73 | %{_datadir}/appdata/gnome-maps.appdata.xml | |
74 | %{_datadir}/glib-2.0/schemas/org.gnome.maps.gschema.xml | |
75 | %{_datadir}/gnome-maps | |
76 | %{_desktopdir}/gnome-maps.desktop | |
77 | %{_iconsdir}/hicolor/*/*/gnome-maps.png | |
78 |