]> git.pld-linux.org Git - packages/virt-manager.git/blame - virt-manager.spec
- rel 4
[packages/virt-manager.git] / virt-manager.spec
CommitLineData
7e06c032 1# TODO
7e06c032 2# - fix BR python 2.14
8eb0adf0
SP
3Summary: Virtual Machine Manager
4Name: virt-manager
ce034339 5Version: 0.9.1
eec83d64 6Release: 4
8eb0adf0
SP
7License: GPL v2+
8Group: Applications/Emulators
45fc912e 9Source0: http://virt-manager.org/download/sources/virt-manager/%{name}-%{version}.tar.gz
ce034339 10# Source0-md5: cfee07b277e315b16d5180cfab5f8307
83302a11 11Patch0: %{name}-dead-code.patch
45fc912e 12URL: http://virt-manager.org/
ce034339
JR
13BuildRequires: autoconf
14BuildRequires: automake
45fc912e 15BuildRequires: gettext-devel >= 0.14.1
8eb0adf0 16BuildRequires: glib2-devel
45fc912e 17BuildRequires: intltool >= 0.35.0
ce034339 18BuildRequires: libtool
98deb886 19BuildRequires: perl-tools-pod
5bd4e967 20BuildRequires: python-devel >= 1:2.6
45fc912e
AF
21BuildRequires: python-pygobject-devel >= 2.28.6
22BuildRequires: python-pygtk-devel >= 2.24.0
ce034339 23BuildRequires: sed >= 4.0
45fc912e
AF
24Requires(pre,preun,post): GConf2
25Requires(post,postun): gtk-update-icon-cache
26Requires: python-gnome-gconf >= 2.28.1
27Requires: python-pygobject >= 2.28.6
28Requires: python-pygtk-gtk >= 2.24.0
29Requires: python-libvirt >= 0.9.6
30Requires: python-dbus >= 0.84.0
45fc912e
AF
31Requires: python-gnome-desktop-librsvg >= 2.32.0
32Requires: python-libxml2 >= 2.7.8
33Requires: python-pygtk-glade >= 2.24.0
93e0d59c 34Requires: python-virtinst >= 0.600.1
45fc912e
AF
35Requires: hicolor-icon-theme
36Requires: python-gtk-vnc >= 0.4.3
0f49eac5 37Requires: python-urlgrabber
59e5ea67 38Requires: python-pycairo
45fc912e
AF
39Requires: python-vte0 >= 0.28.2
40Suggests: python-libguestfs >= 1.12.0
234e70d3 41Suggests: gnome-keyring >= 0.4.9
42Suggests: python-gnome-desktop-keyring >= 2.15.4
45fc912e 43Suggests: python-spice-gtk
8eb0adf0 44ExclusiveArch: %{ix86} x86_64 ia64
a04e8cd8 45BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
8eb0adf0 46
8eb0adf0
SP
47%description
48Virtual Machine Manager provides a graphical tool for administering
49virtual machines for KVM, Xen, and QEmu. Start, stop, add or remove
50virtual devices, connect to a graphical or serial console, and see
51resource usage statistics for existing VMs on local or remote
52machines. Uses libvirt as the backend management API.
53
54%prep
55%setup -q
83302a11 56%patch0 -p1
8eb0adf0 57
ce034339
JR
58%{__sed} -i -e 's|PWD|shell pwd|g' icons/hicolor/*/Makefile.am
59
8eb0adf0 60%build
ce034339
JR
61%{__libtoolize}
62%{__aclocal}
63%{__autoconf}
64%{__automake}
45fc912e
AF
65%configure \
66 --with-libvirt-package-names=libvirt \
67 --with-kvm-packages=qemu-kvm
8eb0adf0
SP
68%{__make}
69
8eb0adf0
SP
70%install
71rm -rf $RPM_BUILD_ROOT
45fc912e 72
7e06c032
ER
73%{__make} install \
74 DESTDIR=$RPM_BUILD_ROOT
75
45fc912e
AF
76%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
77%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
78# requires patching
79#%%py_postclean %{_datadir}/%{name}
80
5bd4e967 81%find_lang %{name}
3a7f7a6f 82
8eb0adf0
SP
83%clean
84rm -rf $RPM_BUILD_ROOT
85
8eb0adf0 86%post
45fc912e
AF
87%gconf_schema_install %{name}.schemas
88%update_icon_cache hicolor
8eb0adf0 89
45fc912e
AF
90%preun
91%gconf_schema_uninstall %{name}.schemas
8eb0adf0
SP
92
93%postun
45fc912e 94%update_icon_cache hicolor
8eb0adf0 95
8eb0adf0
SP
96
97%files -f %{name}.lang
98%defattr(644,root,root,755)
99%doc README COPYING COPYING-DOCS AUTHORS ChangeLog NEWS
100%{_sysconfdir}/gconf/schemas/%{name}.schemas
101%attr(755,root,root) %{_bindir}/%{name}
5bd4e967 102%attr(755,root,root) %{_bindir}/%{name}-tui
8eb0adf0 103%{_libexecdir}/%{name}-launch
8eb0adf0 104
b225787c 105%dir %{_datadir}/%{name}
8eb0adf0 106%{_datadir}/%{name}/*.glade
45fc912e
AF
107%{_datadir}/%{name}/icons
108%{_iconsdir}/hicolor/*/apps/virt-manager.png
99a357fc 109
8eb0adf0 110%{_datadir}/%{name}/*.py
45fc912e 111%{_datadir}/%{name}/*.py[co]
b225787c 112%dir %{_datadir}/%{name}/virtManager
8eb0adf0 113%{_datadir}/%{name}/virtManager/*.py
45fc912e 114%{_datadir}/%{name}/virtManager/*.py[co]
5bd4e967
AF
115%dir %{_datadir}/%{name}/virtManagerTui
116%{_datadir}/%{name}/virtManagerTui/*.py
45fc912e
AF
117%{_datadir}/%{name}/virtManagerTui/*.py[co]
118%dir %{_datadir}/%{name}/virtManagerTui/importblacklist
119%{_datadir}/%{name}/virtManagerTui/importblacklist/*.py
120%{_datadir}/%{name}/virtManagerTui/importblacklist/*.py[co]
8eb0adf0 121
8eb0adf0
SP
122%{_desktopdir}/%{name}.desktop
123%{_datadir}/dbus-1/services/%{name}.service
8eb0adf0 124%{_mandir}/man1/%{name}.1*
This page took 0.059581 seconds and 4 git commands to generate.