packages: virt-viewer/virt-viewer.spec - 0.5.1

baggins baggins at pld-linux.org
Sat Feb 18 16:39:54 CET 2012


Author: baggins                      Date: Sat Feb 18 15:39:54 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- 0.5.1

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

---- Diffs:

================================================================
Index: packages/virt-viewer/virt-viewer.spec
diff -u packages/virt-viewer/virt-viewer.spec:1.1 packages/virt-viewer/virt-viewer.spec:1.2
--- packages/virt-viewer/virt-viewer.spec:1.1	Sat Feb 18 14:02:57 2012
+++ packages/virt-viewer/virt-viewer.spec	Sat Feb 18 16:39:49 2012
@@ -8,29 +8,36 @@
 #
 Summary:	Virtual Machine Viewer
 Name:		virt-viewer
-Version:	0.4.2
+Version:	0.5.1
 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
+# Source0-md5:	69c82567df00afadfa2f79d3f1eb692d
 URL:		http://virt-manager.org/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	gettext-devel >= 0.14.1
+BuildRequires:	glib2-devel
+BuildRequires:	intltool >= 0.35.0
 %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
+%{?with_spice:BuildRequires: spice-gtk-devel >= 0.9}
+%endif
+%if %{with gtk2}
 BuildRequires:	gtk+2-devel >= 2.12.0
 BuildRequires:	gtk-vnc-devel >= 0.4.3
-%{?with_spice:BuildRequires: spice-gtk2-devel >= 0.6}
+%{?with_spice:BuildRequires: spice-gtk2-devel >= 0.9}
 %endif
+BuildRequires:	libtool
 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
+BuildRequires:	sed >= 4.0
+%{?with_plugin:BuildRequires: xulrunner-devel}
+Requires(post,postun):	gtk-update-icon-cache
+Requires:	hicolor-icon-theme
 Suggests:	openssh-clients
 Suggests:	gnome-keyring >= 0.4.9
 ExclusiveArch:	%{ix86} x86_64 ia64
@@ -64,7 +71,13 @@
 %prep
 %setup -q
 
+%{__sed} -i -e 's|PWD|shell pwd|g' icons/*/Makefile.am
+
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure \
 	%{__enable_disable plugin} \
 	%{__with_without spice spice-gtk} \
@@ -84,14 +97,23 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/virt-viewer
+%attr(755,root,root) %{_bindir}/remote-viewer
 %dir %{_datadir}/%{name}
 %dir %{_datadir}/%{name}/ui
 %{_datadir}/%{name}/ui/*.xml
-%{_mandir}/man1/%{name}.1*
+%{_iconsdir}/hicolor/*/apps/virt-viewer.png
+%{_mandir}/man1/virt-viewer.1*
+%{_mandir}/man1/remote-viewer.1*
 
 %if %{with plugin}
 %files plugin
@@ -104,6 +126,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2012/02/18 15:39:49  baggins
+- 0.5.1
+
 Revision 1.1  2012/02/18 13:02:57  baggins
 - new
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/virt-viewer/virt-viewer.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list