]>
Commit | Line | Data |
---|---|---|
85d81163 ER |
1 | # TODO |
2 | # - Requires: qemu-kvm is too much (pulls all arches) | |
4284bb38 MB |
3 | Summary: A simple GNOME 3 application to access remote or virtual systems |
4 | Name: gnome-boxes | |
1cf09953 | 5 | Version: 3.4.3 |
337fb246 | 6 | Release: 4 |
4284bb38 MB |
7 | License: LGPL v2 |
8 | Group: X11/Applications | |
9e6a71cf | 9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-boxes/3.4/%{name}-%{version}.tar.xz |
1cf09953 | 10 | # Source0-md5: 6f8a5cf5fddad78d90aa369a7a613c72 |
4284bb38 MB |
11 | URL: http://live.gnome.org/Boxes |
12 | BuildRequires: autoconf >= 2.63 | |
13 | BuildRequires: automake >= 1:1.11 | |
14 | BuildRequires: clutter-gtk-devel >= 1.0.1 | |
9e6a71cf | 15 | BuildRequires: cogl-devel |
4284bb38 MB |
16 | BuildRequires: gettext-devel |
17 | BuildRequires: glib2-devel >= 1:2.30.0 | |
18 | BuildRequires: gobject-introspection-devel >= 0.10.0 | |
9e6a71cf | 19 | BuildRequires: gtk+3-devel >= 3.4.0 |
4284bb38 MB |
20 | BuildRequires: gtk3-vnc-devel >= 0.4.4 |
21 | BuildRequires: intltool >= 0.40.0 | |
da6b52dd | 22 | BuildRequires: libosinfo-devel >= 0.1.1 |
4284bb38 | 23 | BuildRequires: libtool >= 2:2.2 |
f71bbf45 | 24 | BuildRequires: libvirt-glib-devel >= 0.0.8 |
4284bb38 MB |
25 | BuildRequires: libxml2-devel >= 1:2.7.8 |
26 | BuildRequires: pkgconfig >= 1:0.22 | |
9e6a71cf MB |
27 | BuildRequires: spice-gtk-devel >= 0.9 |
28 | BuildRequires: tracker-devel >= 0.14.0 | |
29 | BuildRequires: udev-glib-devel >= 165 | |
4284bb38 MB |
30 | BuildRequires: vala >= 2:0.14.0 |
31 | Requires(post,postun): desktop-file-utils | |
32 | Requires(post,postun): glib2 >= 1:2.30.0 | |
33 | Requires(post,postun): gtk-update-icon-cache | |
9e6a71cf | 34 | Requires: gtk+3 >= 3.4.0 |
4284bb38 MB |
35 | Requires: hicolor-icon-theme |
36 | Requires: libvirt-utils | |
37 | Requires: qemu-kvm | |
da6b52dd | 38 | Requires: tracker >= 0.14.0 |
4284bb38 MB |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
40 | ||
41 | %description | |
42 | gnome-boxes is a simple GNOME 3 application to access remote or | |
43 | virtual systems. | |
44 | ||
45 | %prep | |
46 | %setup -q | |
47 | ||
48 | %build | |
49 | %{__intltoolize} | |
50 | %{__libtoolize} | |
51 | %{__aclocal} -I m4 | |
52 | %{__autoconf} | |
53 | %{__autoheader} | |
54 | %{__automake} | |
55 | %configure \ | |
56 | --disable-silent-rules | |
57 | %{__make} | |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
65 | %find_lang %{name} | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %post | |
71 | %glib_compile_schemas | |
72 | %update_icon_cache hicolor | |
73 | %update_desktop_database_post | |
74 | ||
75 | %postun | |
76 | %glib_compile_schemas | |
77 | %update_icon_cache hicolor | |
78 | %update_desktop_database_postun | |
79 | ||
80 | %files -f %{name}.lang | |
81 | %defattr(644,root,root,755) | |
82 | %doc AUTHORS README THANKS TODO | |
83 | %attr(755,root,root) %{_bindir}/gnome-boxes | |
84 | %{_datadir}/glib-2.0/schemas/org.gnome.boxes.gschema.xml | |
85 | %{_datadir}/gnome-boxes | |
86 | %{_desktopdir}/gnome-boxes.desktop | |
87 | %{_iconsdir}/hicolor/*/*/*.png |