[gnome-boxes] Initial import of package

Christophe Fergeau teuf at fedoraproject.org
Fri Jan 20 15:30:18 UTC 2012


commit d2d2b6b0ebde004bb49ea2c50e754939cbfbd36e
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri Jan 20 16:20:04 2012 +0100

    Initial import of package

 .gitignore       |    1 +
 gnome-boxes.spec |  122 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 124 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a3a26e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gnome-boxes-3.3.4.tar.xz
diff --git a/gnome-boxes.spec b/gnome-boxes.spec
new file mode 100644
index 0000000..9a52688
--- /dev/null
+++ b/gnome-boxes.spec
@@ -0,0 +1,122 @@
+#based on openSUSE spec file from dimstar, and on the Mageia .spec from bkor
+%global url_ver	%%(echo %{version}|cut -d. -f1,2)
+
+Name:		gnome-boxes
+Version:	3.3.4
+Release:	4%{?dist}
+Summary:	A simple GNOME 3 application to access remote or virtual systems
+
+Group:		Applications/Emulators
+License:	LGPLv2+
+URL:		https://live.gnome.org/Boxes
+Source0:	http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
+
+BuildRequires:	intltool
+BuildRequires:	vala >= 0.14.0
+BuildRequires:	vala-tools >= 0.14.0
+BuildRequires:	pkgconfig(clutter-gtk-1.0) >= 1.0.1
+BuildRequires:	pkgconfig(glib-2.0) => 2.29.90
+BuildRequires:	pkgconfig(gobject-introspection-1.0) >= 0.9.6
+BuildRequires:	pkgconfig(gtk+-3.0) >= 3.3.5
+BuildRequires:	pkgconfig(gtk-vnc-2.0) >= 0.4.4
+BuildRequires:	pkgconfig(libvirt-gobject-1.0) >= 0.0.3
+BuildRequires:	pkgconfig(libvirt-gconfig-1.0) >= 0.0.4
+BuildRequires:	pkgconfig(libxml-2.0) >= 2.7.8
+BuildRequires:	pkgconfig(gudev-1.0) >= 167
+BuildRequires:	pkgconfig(libosinfo-1.0) >= 0.0.3
+BuildRequires:	spice-gtk3-vala >= 0.8
+BuildRequires:	libosinfo-vala >= 0.0.4
+BuildRequires:	desktop-file-utils
+
+# Need libvirtd and an hypervisor to do anything useful
+Requires:	libvirt
+Requires:	qemu-kvm
+
+# Needed for unattended installations
+Requires:	fuseiso
+Requires:	mtools
+
+# gnome-boxes uses a dark theme
+Requires:	gnome-icon-theme
+
+%description
+gnome-boxes lets you easily create, setup, access, and use:
+  * remote machines
+  * remote virtual machines
+  * local virtual machines
+  * When technology permits, set up access for applications on
+    local virtual machines
+
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=%{buildroot}
+desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
+%find_lang %{name} --with-gnome
+
+
+%post
+update-desktop-database &> /dev/null || :
+update-mime-database %{_datadir}/mime &> /dev/null || :
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+update-desktop-database &> /dev/null || :
+update-mime-database %{_datadir}/mime &> /dev/null || :
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+    glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+fi
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+
+
+%files -f %{name}.lang
+%doc AUTHORS COPYING README NEWS TODO
+%{_bindir}/%{name}
+%{_datadir}/%{name}/
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/glib-2.0/schemas/org.gnome.boxes.gschema.xml
+%{_datadir}/icons/hicolor/*/apps/gnome-boxes.*
+
+%changelog
+* Fri Jan 20 2012 Christophe Fergeau <cfergeau at redhat.com> - 3.3.4-4
+- call desktop-file-validate in %%install. gnome-boxes upstream installs
+  a .desktop file on its own so desktop-file-validate is enough, no need
+  to call desktop-file-install.
+
+* Fri Jan 20 2012 Christophe Fergeau <cfergeau at redhat.com> - 3.3.4-3
+- Fix %%global use (%%url_ver got expanded to 3.3.4 instead of 3.3 in
+  -2)
+
+* Thu Jan 17 2012 Christophe Fergeau <cfergeau at redhat.com> - 3.3.4-2
+- Remove use of BuildRoot
+- Remove use of defattr
+- Use %%global instead of %%define
+
+* Thu Jan 17 2012 Christophe Fergeau <cfergeau at redhat.com> - 3.3.4-1
+- Update to 3.3.4 release
+
+* Thu Jan 05 2012 Christophe Fergeau <cfergeau at redhat.com> - 3.3.3-3
+- Escape %%{buildroot} in changelog
+- Remove empty %%pre section
+
+* Wed Jan 04 2012 Christophe Fergeau <cfergeau at redhat.com> - 3.3.3-2
+- Use %%{buildroot} instead of $RPM_BUILD_ROOT
+- Remove unneeded patch
+- Add missing dependency on fuseiso
+
+* Fri Dec 23 2011 Christophe Fergeau <cfergeau at redhat.com> - 3.3.3-1
+- Initial import
+
diff --git a/sources b/sources
index e69de29..97f0bf8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2e203398f1912ddc47ba86ea7514d12e  gnome-boxes-3.3.4.tar.xz


More information about the scm-commits mailing list