1 %define __strip
%{_mingw32_strip}
2 %define __objdump
%{_mingw32_objdump}
3 %define _use_internal_dependency_generator
0
4 %define __find_requires
%{_mingw32_findrequires}
5 %define __find_provides
%{_mingw32_findprovides}
6 %define __debug_install_post
%{_mingw32_debug_install_post}
10 Release: 3%{?dist}%{?extra_release}
11 Summary: MinGW Windows libvirt virtualization library
14 Group: Development
/Libraries
15 URL: http
://libvirt.org
/
16 Source0: ftp
://libvirt.org
/libvirt
/libvirt
-%{version}.tar.gz
17 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n
)
19 BuildRequires
: mingw32
-filesystem
>= 23
20 BuildRequires
: mingw32
-gcc
21 BuildRequires
: mingw32
-binutils
22 BuildRequires
: mingw32
-libgpg
-error
23 BuildRequires
: mingw32
-libgcrypt
24 BuildRequires
: mingw32
-gnutls
25 BuildRequires
: mingw32
-gettext
26 BuildRequires
: mingw32
-libxml2
27 BuildRequires
: mingw32
-portablexdr
28 BuildRequires
: pkgconfig
29 # Need native version for msgfmt
30 BuildRequires
: gettext
34 %{?_mingw32_debug_package}
37 MinGW Windows libvirt virtualization library.
41 %setup -q
-n libvirt
-%{version}
45 # XXX enable SASL in future
46 %{_mingw32_configure} \
66 rm -rf $RPM_BUILD_ROOT
68 make DESTDIR
=$RPM_BUILD_ROOT
install
70 rm -rf $RPM_BUILD_ROOT
%{_mingw32_sysconfdir}/libvirt
71 rm -rf $RPM_BUILD_ROOT
%{_mingw32_datadir}/doc
/*
72 rm -rf $RPM_BUILD_ROOT
%{_mingw32_datadir}/gtk
-doc
/*
74 rm -rf $RPM_BUILD_ROOT
%{_mingw32_libexecdir}/libvirt_iohelper.exe
76 rm $RPM_BUILD_ROOT
%{_mingw32_libdir}/libvirt.a
77 rm $RPM_BUILD_ROOT
%{_mingw32_libdir}/libvirt
-qemu.a
81 rm -rf $RPM_BUILD_ROOT
86 %{_mingw32_bindir}/libvirt
-0.dll
87 %{_mingw32_bindir}/virsh.exe
88 %{_mingw32_bindir}/virt
-xml
-validate
89 %{_mingw32_bindir}/virt
-pki
-validate
90 %{_mingw32_bindir}/libvirt
-qemu
-0.dll
92 %{_mingw32_libdir}/libvirt.dll.a
93 %{_mingw32_libdir}/libvirt.la
94 %{_mingw32_libdir}/pkgconfig
/libvirt.pc
95 %{_mingw32_libdir}/libvirt
-qemu.dll.a
96 %{_mingw32_libdir}/libvirt
-qemu.la
98 %dir %{_mingw32_datadir}/libvirt
/
99 %dir %{_mingw32_datadir}/libvirt
/schemas
/
100 %{_mingw32_datadir}/libvirt
/schemas
/domain.rng
101 %{_mingw32_datadir}/libvirt
/schemas
/domainsnapshot.rng
102 %{_mingw32_datadir}/libvirt
/schemas
/network.rng
103 %{_mingw32_datadir}/libvirt
/schemas
/storagepool.rng
104 %{_mingw32_datadir}/libvirt
/schemas
/storagevol.rng
105 %{_mingw32_datadir}/libvirt
/schemas
/nodedev.rng
106 %{_mingw32_datadir}/libvirt
/schemas
/capability.rng
107 %{_mingw32_datadir}/libvirt
/schemas
/interface.rng
108 %{_mingw32_datadir}/libvirt
/schemas
/nwfilter.rng
109 %{_mingw32_datadir}/libvirt
/schemas
/secret.rng
110 %{_mingw32_datadir}/libvirt
/schemas
/storageencryption.rng
111 %{_mingw32_datadir}/libvirt
/schemas
/basictypes.rng
112 %{_mingw32_datadir}/libvirt
/schemas
/networkcommon.rng
114 %{_mingw32_datadir}/libvirt
/cpu_map.xml
116 %{_mingw32_datadir}/locale
/*/LC_MESSAGES
/libvirt.mo
118 %dir %{_mingw32_includedir}/libvirt
119 %{_mingw32_includedir}/libvirt
/libvirt.h
120 %{_mingw32_includedir}/libvirt
/virterror.h
121 %{_mingw32_includedir}/libvirt
/libvirt
-qemu.h
123 %{_mingw32_mandir}/man1
/virsh
.1*
124 %{_mingw32_mandir}/man1
/virt
-xml
-validate
.1*
125 %{_mingw32_mandir}/man1
/virt
-pki
-validate
.1*
129 * Thu Sep
25 2008 Richard Jones
<rjones@redhat.com
> - 0.4.6-3
130 - BuildArch should be noarch
132 * Wed Sep
24 2008 Richard W.M. Jones
<rjones@redhat.com
> - 0.4.6-2
133 - Whitespace removal.
135 * Wed Sep
24 2008 Richard W.M. Jones
<rjones@redhat.com
> - 0.4.6-1
136 - New upstream release
0.4.6.
137 - Rename mingw
-> mingw32.
139 * Mon Sep
22 2008 Daniel P. Berrange
<berrange@redhat.com
> - 0.4.5-4%{?extra_release}
140 - Import crash fix from rawhide
142 * Thu Sep
11 2008 Daniel P. Berrange
<berrange@redhat.com
> - 0.4.5-3%{?extra_release}
143 - Add dep on gettext
& pkgconfig
145 * Wed Sep
10 2008 Richard W.M. Jones
<rjones@redhat.com
> - 0.4.5-2
148 * Tue Sep
2 2008 Daniel P. Berrange
<berrange@redhat.com
> - 0.4.4-1
149 - Initial RPM release
, largely based on earlier work from several sources.