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