- Rebase to Fedora native version 0.5.1.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 23 Jan 2009 12:01:25 +0000 (12:01 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 23 Jan 2009 12:01:25 +0000 (12:01 +0000)
- Use find_lang macro.
- Use _smp_mflags.
- Disable static libraries.

.hgignore
libvirt/mingw32-libvirt.spec

index ce6ee5d..e08ffdf 100644 (file)
--- a/.hgignore
+++ b/.hgignore
@@ -74,6 +74,7 @@ libssh2/libssh2-0.18.tar.gz
 libvirt/libvirt-0.4.5.tar.gz
 libvirt/libvirt-0.4.6.tar.gz
 libvirt/libvirt-0.5.0.tar.gz
+libvirt/libvirt-0.5.1.tar.gz
 libxml2/libxml2-2.6.32.tar.gz
 libxml2/libxml2-2.7.1.tar.gz
 libxml2/libxml2-2.7.2.tar.gz
index ac9a742..395a2d6 100644 (file)
@@ -5,8 +5,8 @@
 %define __find_provides %{_mingw32_findprovides}
 
 Name:           mingw32-libvirt
-Version:        0.5.0
-Release:        9%{?dist}%{?extra_release}
+Version:        0.5.1
+Release:        1%{?dist}%{?extra_release}
 Summary:        MinGW Windows libvirt virtualization library
 
 License:        LGPLv2+
@@ -55,8 +55,9 @@ MinGW Windows libvirt virtualization library.
   --without-lxc \
   --without-openvz \
   --without-uml \
-  --without-libvirtd
-make
+  --without-libvirtd \
+  --disable-static
+make %{?_smp_mflags}
 
 
 %install
@@ -68,14 +69,14 @@ rm -rf $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/libvirt
 rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/doc/*
 rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/gtk-doc/*
 
-rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libvirt.a
+%find_lang libvirt
 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
-%files
+%files -f libvirt.lang
 %defattr(-,root,root)
 %{_mingw32_bindir}/libvirt-0.dll
 %{_mingw32_bindir}/virsh.exe
@@ -84,8 +85,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_mingw32_libdir}/libvirt.la
 %{_mingw32_libdir}/pkgconfig/libvirt.pc
 
-%{_mingw32_datadir}/locale/*/LC_MESSAGES/libvirt.mo
-
 %dir %{_mingw32_includedir}/libvirt
 %{_mingw32_includedir}/libvirt/libvirt.h
 %{_mingw32_includedir}/libvirt/virterror.h
@@ -94,6 +93,12 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Jan 23 2009 Richard Jones <rjones@redhat.com> - 0.5.1-1
+- Rebase to Fedora native version 0.5.1.
+- Use find_lang macro.
+- Use _smp_mflags.
+- Disable static libraries.
+
 * Wed Nov 26 2008 Richard Jones <rjones@redhat.com> - 0.5.0-1
 - New upstream version 0.5.0.