Bump all spec releases for mass rebuild to mingw32-gcc 4.4
[fedora-mingw.git] / pango / mingw32-pango.spec
index d342c5e..77d53bf 100644 (file)
@@ -5,21 +5,27 @@
 %define __find_provides %{_mingw32_findprovides}
 
 Name:           mingw32-pango
-Version:        1.21.6
-Release:        6%{?dist}
+Version:        1.22.1
+Release:        5%{?dist}
 Summary:        MinGW Windows Pango library
 
 License:        LGPLv2+
 Group:          Development/Libraries
 URL:            http://www.pango.org
 Source0:        http://download.gnome.org/sources/pango/1.21/pango-%{version}.tar.bz2
-# Native pango uses a %post script to generate this, but the pango-querymodules.exe
-# binary is not something we can easily run on a Linux host. We could use wine by
-# wine isn't happy in a mock environment. So we just include a pre-generated copy
-# on basis that it won't ever change much
-Source1:        pango.modules
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+# Native pango uses a %post script to generate this, but the
+# pango-querymodules.exe binary is not something we can easily run on
+# a Linux host. We could use wine but wine isn't happy in a mock
+# environment. So we just include a pre-generated copy on basis that
+# it won't ever change much.
+#
+# If you want to rebuild this, do:
+# wine %{_mingw32_bindir}/pango-querymodules.exe > pango.modules
+Source1:        pango.modules
+
 BuildArch:      noarch
 
 BuildRequires:  mingw32-filesystem >= 23
@@ -27,12 +33,15 @@ BuildRequires:  mingw32-gcc
 BuildRequires:  mingw32-binutils
 BuildRequires:  mingw32-iconv
 BuildRequires:  mingw32-gettext
-BuildRequires:  mingw32-cairo
+BuildRequires:  mingw32-cairo >= 1.8.0
 BuildRequires:  mingw32-freetype
 BuildRequires:  mingw32-fontconfig
 BuildRequires:  mingw32-glib2
 BuildRequires:  pkgconfig
 
+Requires:       pkgconfig
+
+
 %description
 MinGW Windows Pango library.
 
@@ -43,8 +52,8 @@ MinGW Windows Pango library.
 %build
 # Need to run the correct version of glib-mkenums.
 PATH=%{_mingw32_bindir}:$PATH \
-%{_mingw32_configure}
-make
+%{_mingw32_configure} --disable-static
+make %{?_smp_mflags}
 
 
 %install
@@ -63,6 +72,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
+%doc COPYING
 %{_mingw32_bindir}/libpango-1.0-0.dll
 %{_mingw32_bindir}/libpangocairo-1.0-0.dll
 %{_mingw32_bindir}/libpangoft2-1.0-0.dll
@@ -92,11 +102,28 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 1.22.1-5
+- Rebuild for mingw32-gcc 4.4
+
+* Fri Jan 30 2009 Richard W.M. Jones <rjones@redhat.com> - 1.22.1-4
+- Requires pkgconfig.
+
+* Tue Jan 27 2009 Levente Farkas <lfarkas@lfarkas.org> - 1.22.1-3
+- Include license file in documentation section.
+
+* Fri Jan 23 2009 Richard W.M. Jones <rjones@redhat.com> - 1.22.1-2
+- Disable static libraries.
+- Use _smp_mflags.
+
+* Fri Oct 24 2008 Richard W.M. Jones <rjones@redhat.com> - 1.22.1-1
+- New upstream version 1.22.1.
+- BR cairo >= 1.8.0 because of important fixes.
+
 * Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 1.21.6-6
 - Rename mingw -> mingw32.
 
 * Tue Sep 23 2008 Daniel P. Berrange <berrange@redhat.com> - 1.21.6-5
-- Remove use of wine in %post
+- Remove use of wine in %-post.
 
 * Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 1.21.6-4
 - Add dep on pkgconfig