]>
Commit | Line | Data |
---|---|---|
85d81163 | 1 | # TODO |
20cc79af | 2 | # - Requires: qemu is too much (pulls all arches) |
4284bb38 | 3 | Summary: A simple GNOME 3 application to access remote or virtual systems |
19728756 | 4 | Summary(pl.UTF-8): Prosta aplikacja GNOME 3 do dostępu do systemów zdalnych lub wirtualnych |
4284bb38 | 5 | Name: gnome-boxes |
19728756 | 6 | Version: 3.16.2 |
2273b649 | 7 | Release: 1 |
4284bb38 MB |
8 | License: LGPL v2 |
9 | Group: X11/Applications | |
19728756 JB |
10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-boxes/3.16/%{name}-%{version}.tar.xz |
11 | # Source0-md5: 546cb2e176ae355a40d4c2f706df2a06 | |
4284bb38 MB |
12 | URL: http://live.gnome.org/Boxes |
13 | BuildRequires: autoconf >= 2.63 | |
14 | BuildRequires: automake >= 1:1.11 | |
2102eb2c | 15 | BuildRequires: gettext-tools |
2273b649 | 16 | BuildRequires: glib2-devel >= 1:2.38.0 |
4284bb38 | 17 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
19728756 | 18 | BuildRequires: gtk+3-devel >= 3.13.2 |
4284bb38 MB |
19 | BuildRequires: gtk3-vnc-devel >= 0.4.4 |
20 | BuildRequires: intltool >= 0.40.0 | |
19728756 JB |
21 | BuildRequires: libarchive-devel >= 3.0.0 |
22 | BuildRequires: libgovirt-devel >= 0.2.0 | |
23 | BuildRequires: libosinfo-devel >= 0.2.11 | |
b46e037b | 24 | BuildRequires: libsoup-devel >= 2.38.0 |
4284bb38 | 25 | BuildRequires: libtool >= 2:2.2 |
19728756 JB |
26 | BuildRequires: libusb-devel >= 1.0.9 |
27 | BuildRequires: libuuid-devel >= 1.41.3 | |
28 | BuildRequires: libvirt-glib-devel >= 0.2.0 | |
4284bb38 MB |
29 | BuildRequires: libxml2-devel >= 1:2.7.8 |
30 | BuildRequires: pkgconfig >= 1:0.22 | |
19728756 | 31 | BuildRequires: spice-gtk-devel >= 0.27 |
2273b649 | 32 | BuildRequires: tracker-devel >= 0.14.0 |
19728756 JB |
33 | BuildRequires: udev-glib-devel >= 1:165 |
34 | BuildRequires: vala >= 2:0.24.0.65 | |
b46e037b | 35 | BuildRequires: yelp-tools |
4284bb38 | 36 | Requires(post,postun): desktop-file-utils |
2273b649 | 37 | Requires(post,postun): glib2 >= 1:2.38.0 |
4284bb38 | 38 | Requires(post,postun): gtk-update-icon-cache |
19728756 JB |
39 | Requires: glib2 >= 1:2.38.0 |
40 | Requires: gtk+3 >= 3.13.2 | |
4284bb38 | 41 | Requires: hicolor-icon-theme |
19728756 JB |
42 | Requires: libgovirt >= 0.2.0 |
43 | Requires: libosinfo >= 0.2.11 | |
44 | Requires: libsoup >= 2.38.0 | |
45 | Requires: libusb >= 1.0.9 | |
46 | Requires: libuuid >= 1.41.3 | |
47 | Requires: libvirt-glib >= 0.2.0 | |
4284bb38 | 48 | Requires: libvirt-utils |
19728756 JB |
49 | Requires: libxml2 >= 1:2.7.8 |
50 | Requires: qemu >= 1.3 | |
51 | Requires: spice-gtk >= 0.27 | |
da6b52dd | 52 | Requires: tracker >= 0.14.0 |
19728756 | 53 | Requires: udev-glib >= 1:165 |
4284bb38 MB |
54 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
55 | ||
56 | %description | |
57 | gnome-boxes is a simple GNOME 3 application to access remote or | |
58 | virtual systems. | |
59 | ||
19728756 JB |
60 | %description -l pl.UTF-8 |
61 | gnome-boxes to prosta aplikacja GNOME 3 służąca do dostępu do | |
62 | systemów zdalnych lub wirtualnych. | |
63 | ||
4284bb38 MB |
64 | %prep |
65 | %setup -q | |
66 | ||
67 | %build | |
68 | %{__intltoolize} | |
69 | %{__libtoolize} | |
b46e037b | 70 | %{__aclocal} -I m4 -I libgd |
4284bb38 MB |
71 | %{__autoconf} |
72 | %{__autoheader} | |
73 | %{__automake} | |
74 | %configure \ | |
19728756 JB |
75 | --disable-silent-rules \ |
76 | --enable-smartcard | |
4284bb38 MB |
77 | %{__make} |
78 | ||
79 | %install | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %{__make} install \ | |
83 | DESTDIR=$RPM_BUILD_ROOT | |
84 | ||
b46e037b | 85 | %find_lang %{name} --with-gnome |
4284bb38 MB |
86 | |
87 | %clean | |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
90 | %post | |
91 | %glib_compile_schemas | |
92 | %update_icon_cache hicolor | |
93 | %update_desktop_database_post | |
94 | ||
95 | %postun | |
96 | %glib_compile_schemas | |
97 | %update_icon_cache hicolor | |
98 | %update_desktop_database_postun | |
99 | ||
100 | %files -f %{name}.lang | |
101 | %defattr(644,root,root,755) | |
102 | %doc AUTHORS README THANKS TODO | |
103 | %attr(755,root,root) %{_bindir}/gnome-boxes | |
b46e037b | 104 | %attr(755,root,root) %{_libexecdir}/gnome-boxes-search-provider |
19728756 JB |
105 | %{_datadir}/appdata/org.gnome.Boxes.appdata.xml |
106 | %{_datadir}/dbus-1/services/org.gnome.Boxes.service | |
b46e037b | 107 | %{_datadir}/dbus-1/services/org.gnome.Boxes.SearchProvider.service |
4284bb38 MB |
108 | %{_datadir}/glib-2.0/schemas/org.gnome.boxes.gschema.xml |
109 | %{_datadir}/gnome-boxes | |
19728756 JB |
110 | %{_datadir}/gnome-shell/search-providers/gnome-boxes-search-provider.ini |
111 | %{_desktopdir}/org.gnome.Boxes.desktop | |
112 | %{_iconsdir}/hicolor/*x*/apps/gnome-boxes.png | |
113 | %{_iconsdir}/hicolor/symbolic/apps/gnome-boxes-symbolic.svg |