X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=pango%2Fmingw32-pango.spec;h=ae96a9a54d7fd044e1cc3709b4e1adf4629bede6;hb=5a4e88c28b4724b9afad68a96c47206424b53a86;hp=d342c5ee9e65ea68a4df713bd6799c83c397c2f9;hpb=14bb5f7a7a8110b0c21eef08c532bd7f18c42e8e;p=fedora-mingw.git diff --git a/pango/mingw32-pango.spec b/pango/mingw32-pango.spec index d342c5e..ae96a9a 100644 --- a/pango/mingw32-pango.spec +++ b/pango/mingw32-pango.spec @@ -5,21 +5,27 @@ %define __find_provides %{_mingw32_findprovides} Name: mingw32-pango -Version: 1.21.6 -Release: 6%{?dist} +Version: 1.22.1 +Release: 4%{?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,25 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Jan 30 2009 Richard W.M. Jones - 1.22.1-4 +- Requires pkgconfig. + +* Tue Jan 27 2009 Levente Farkas - 1.22.1-3 +- Include license file in documentation section. + +* Fri Jan 23 2009 Richard W.M. Jones - 1.22.1-2 +- Disable static libraries. +- Use _smp_mflags. + +* Fri Oct 24 2008 Richard W.M. Jones - 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 - 1.21.6-6 - Rename mingw -> mingw32. * Tue Sep 23 2008 Daniel P. Berrange - 1.21.6-5 -- Remove use of wine in %post +- Remove use of wine in %-post. * Thu Sep 11 2008 Daniel P. Berrange - 1.21.6-4 - Add dep on pkgconfig