packages: virt-viewer/virt-viewer.spec (NEW)=?UTF-8?Q?=20?=- new

baggins baggins at pld-linux.org
Sat Feb 18 14:03:03 CET 2012


Author: baggins                      Date: Sat Feb 18 13:03:03 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/virt-viewer:
   virt-viewer.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/virt-viewer/virt-viewer.spec
diff -u /dev/null packages/virt-viewer/virt-viewer.spec:1.1
--- /dev/null	Sat Feb 18 14:03:03 2012
+++ packages/virt-viewer/virt-viewer.spec	Sat Feb 18 14:02:57 2012
@@ -0,0 +1,109 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	gtk2
+%bcond_without	gtk3
+%bcond_without	spice
+%bcond_with	plugin
+#
+Summary:	Virtual Machine Viewer
+Name:		virt-viewer
+Version:	0.4.2
+Release:	1
+License:	GPL v2+
+Group:		X11/Applications/Networking
+Source0:	http://virt-manager.org/download/sources/virt-viewer/%{name}-%{version}.tar.gz
+# Source0-md5:	4fc003cb655aa45b77c9f2ee45ba6d4f
+URL:		http://virt-manager.org/
+%if %{with gtk3}
+BuildRequires:	gtk+3-devel >= 3.0.0
+BuildRequires:	gtk3-vnc-devel >= 0.4.3
+%{?with_spice:BuildRequires: spice-gtk-devel >= 0.6}
+%else
+BuildRequires:	gtk+2-devel >= 2.12.0
+BuildRequires:	gtk-vnc-devel >= 0.4.3
+%{?with_spice:BuildRequires: spice-gtk2-devel >= 0.6}
+%endif
+BuildRequires:	libvirt-devel >= 0.6.0
+BuildRequires:	libxml2-devel
+%{?with_plugin:BuildRequires: xulrunner-devel}
+BuildRequires:	gettext-devel >= 0.14.1
+BuildRequires:	glib2-devel
+BuildRequires:	intltool >= 0.35.0
+BuildRequires:	perl-tools-pod
+Suggests:	openssh-clients
+Suggests:	gnome-keyring >= 0.4.9
+ExclusiveArch:	%{ix86} x86_64 ia64
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Virtual Machine Viewer provides a graphical console client for
+connecting to virtual machines. It uses the GTK-VNC or SPICE-GTK
+widgets to provide the display, and libvirt for looking up VNC/SPICE
+server details.
+
+Virtual Machine Viewer provides a graphical console client for
+connecting to virtual machines. It uses the GTK-VNC or SPICE-GTK
+widgets to provide the display, and libvirt for looking up VNC/SPICE
+server details.
+
+%package plugin
+Summary:	Mozilla plugin for the gtk-vnc library
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description plugin
+Virtual Machine Viewer provides a graphical
+console client for connecting to virtual machines. It uses the GTK-VNC
+or SPICE-GTK widgets to provide the display, and libvirt for looking
+up VNC/SPICE server details.
+
+This package provides a web browser plugin for Mozilla compatible
+browsers.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	%{__enable_disable plugin} \
+	%{__with_without spice spice-gtk} \
+	%{__with_without gtk2 gtk 2.0} \
+	%{__with_without gtk3 gtk 3.0}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/%{name}
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/ui
+%{_datadir}/%{name}/ui/*.xml
+%{_mandir}/man1/%{name}.1*
+
+%if %{with plugin}
+%files plugin
+%defattr(644,root,root,755)
+%endif
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/02/18 13:02:57  baggins
+- new
+
================================================================


More information about the pld-cvs-commit mailing list