[mingw-spice-protocol] - Update to release 0.10.1 - Update to mingw64 packaging guideline

Marc-André Lureau elmarco at fedoraproject.org
Tue May 15 13:02:04 UTC 2012


commit a82c1a013aa2307b0f99b8448d06d0477c829653
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date:   Mon May 14 18:40:37 2012 +0200

    - Update to release 0.10.1
    - Update to mingw64 packaging guideline

 mingw-spice-protocol.spec |   35 +++++++++++++++++++++++++++--------
 1 files changed, 27 insertions(+), 8 deletions(-)
---
diff --git a/mingw-spice-protocol.spec b/mingw-spice-protocol.spec
index 7e53a04..15d5fe4 100644
--- a/mingw-spice-protocol.spec
+++ b/mingw-spice-protocol.spec
@@ -1,9 +1,8 @@
-%global __strip %{mingw32_strip}
-%global __objdump %{mingw32_objdump}
+%{?mingw_package_header}
 
 Name:           mingw-spice-protocol
-Version:        0.8.0
-Release:        4%{?dist}
+Version:        0.10.1
+Release:        1%{?dist}
 Summary:        Spice protocol header files
 Group:          Development/Libraries
 License:        BSD
@@ -11,7 +10,8 @@ URL:            http://www.spice-space.org/
 Source0:        http://www.spice-space.org/download/releases/spice-protocol-%{version}.tar.bz2
 
 BuildArch:      noarch
-BuildRequires:  mingw32-filesystem
+BuildRequires:  mingw32-filesystem >= 95
+BuildRequires:  mingw64-filesystem >= 95
 
 %description
 Header files describing the spice protocol
@@ -26,23 +26,42 @@ Requires:       pkgconfig
 Header files describing the spice protocol
 and the para-virtual graphics card QXL.
 
+%package -n mingw64-spice-protocol
+Summary:        Spice protocol header files
+Requires:       pkgconfig
+
+%description -n mingw64-spice-protocol
+Header files describing the spice protocol
+and the para-virtual graphics card QXL.
+
 
 %prep
 %setup -q -n spice-protocol-%{version}
 
 %build
-%{mingw32_configure}
-make
+%mingw_configure
+%mingw_make %{?_smp_mflags} V=1
 
 %install
-make DESTDIR=%{buildroot} install
+%mingw_make install DESTDIR=%{buildroot}
+
 
 %files -n mingw32-spice-protocol
 %doc COPYING NEWS
 %{mingw32_includedir}/spice-1
 %{mingw32_datadir}/pkgconfig/spice-protocol.pc
 
+%files -n mingw64-spice-protocol
+%doc COPYING NEWS
+%{mingw64_includedir}/spice-1
+%{mingw64_datadir}/pkgconfig/spice-protocol.pc
+
+
 %changelog
+* Mon May 14 2012 Marc-André Lureau <marcandre.lureau at redhat.com> - 0.10.1-1
+- Update to release 0.10.1
+- Update to mingw64 packaging guideline
+
 * Wed Mar 07 2012 Kalev Lember <kalevlember at gmail.com> - 0.8.0-4
 - Renamed the source package to mingw-spice-protocol (#801030)
 - Modernize the spec file


More information about the scm-commits mailing list