X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=inline;f=fontconfig%2Fmingw-fontconfig.spec;h=9a74d51eab6cea54882cd4aa2b5aa01bc14409ae;hb=386dd7b89bffcce87bcb4baad9701dd37ebeb6fe;hp=350c4586f1e05cabc04ce680464c88a168de20b7;hpb=890e0586a07f6bb7e4df8956324e744d19f0de05;p=fedora-mingw.git diff --git a/fontconfig/mingw-fontconfig.spec b/fontconfig/mingw-fontconfig.spec index 350c458..9a74d51 100644 --- a/fontconfig/mingw-fontconfig.spec +++ b/fontconfig/mingw-fontconfig.spec @@ -6,7 +6,7 @@ Name: mingw-fontconfig Version: 2.6.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: MinGW Windows Fontconfig library License: MIT @@ -15,6 +15,8 @@ Source0: http://fontconfig.org/release/fontconfig-%{version}.tar.gz Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Patch0: mingw-fontconfig-2.6.0-remove-logfile.patch + BuildArch: noarch BuildRequires: mingw-filesystem >= 23 @@ -23,6 +25,9 @@ BuildRequires: mingw-binutils BuildRequires: mingw-freetype BuildRequires: mingw-libxml2 BuildRequires: pkgconfig +BuildRequires: docbook-utils +BuildRequires: autoconf automake libtool + %description MinGW Windows Fontconfig library. @@ -30,6 +35,9 @@ MinGW Windows Fontconfig library. %prep %setup -q -n fontconfig-%{version} +%patch0 -p1 +autoreconf + %build PATH="%{_mingw_bindir}:$PATH" \ @@ -47,6 +55,10 @@ rm -f $RPM_BUILD_ROOT/%{_mingw_libdir}/charset.alias # Remove static library. rm $RPM_BUILD_ROOT%{_mingw_libdir}/libfontconfig.a +# Remove duplicate manpages. +rm -rf $RPM_BUILD_ROOT%{_mingw_mandir} + + %clean rm -rf $RPM_BUILD_ROOT @@ -64,15 +76,13 @@ rm -rf $RPM_BUILD_ROOT %{_mingw_libdir}/pkgconfig/fontconfig.pc %{_mingw_includedir}/fontconfig/ %{_mingw_sysconfdir}/fonts/ -%{_mingw_mandir}/man1/fc-cache.1* -%{_mingw_mandir}/man1/fc-cat.1* -%{_mingw_mandir}/man1/fc-list.1* -%{_mingw_mandir}/man1/fc-match.1* -%{_mingw_mandir}/man3/Fc*.3* -%{_mingw_mandir}/man5/fonts-conf.5* %{_mingw_datadir}/doc/fontconfig %changelog +* Sun Sep 21 2008 Richard W.M. Jones - 2.6.0-4 +- Remove duplicate manpages. +- Patch to delete logfile left when building (unused) manpages. + * Thu Sep 11 2008 Daniel P. Berrange - 2.6.0-3 - Add mingw_bindir to $PATH for freetype-config script