X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fontconfig%2Fmingw-fontconfig.spec;h=dc4d2683c7aa553722363a0e49264754256536d3;hb=b8d7ecaeca865868638f8c6ad1f3377acfad0d78;hp=350c4586f1e05cabc04ce680464c88a168de20b7;hpb=91a473164cd6823f27e9b81d53d31be5adf73d4a;p=fedora-mingw.git diff --git a/fontconfig/mingw-fontconfig.spec b/fontconfig/mingw-fontconfig.spec index 350c458..dc4d268 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,8 @@ BuildRequires: mingw-binutils BuildRequires: mingw-freetype BuildRequires: mingw-libxml2 BuildRequires: pkgconfig +BuildRequires: docbook-utils + %description MinGW Windows Fontconfig library. @@ -30,6 +34,9 @@ MinGW Windows Fontconfig library. %prep %setup -q -n fontconfig-%{version} +%patch0 -p1 +autoreconf + %build PATH="%{_mingw_bindir}:$PATH" \ @@ -47,6 +54,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 +75,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