]> git.pld-linux.org Git - packages/virt-viewer.git/commitdiff
- 0.5.1 auto/th/virt-viewer-0_5_1-1
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 18 Feb 2012 15:39:49 +0000 (15:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    virt-viewer.spec -> 1.2

virt-viewer.spec

index a75e723f934297e48effab533d18b4feb64d0303..55e6083a66b74caa9a6f8f92c9648281ad9b6196 100644 (file)
@@ -7,29 +7,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
@@ -63,7 +70,13 @@ browsers.
 %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} \
@@ -83,14 +96,23 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.112301 seconds and 4 git commands to generate.