Name: mingw-freetype
Version: 2.3.7
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: MinGW Windows Freetype library
License: FTL or GPLv2+
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 23
+BuildRequires: mingw-filesystem >= 25
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
BuildRequires: mingw-zlib
%{_mingw_libdir}/pkgconfig/freetype2.pc
%{_mingw_datadir}/aclocal/freetype2.m4
+
%changelog
+* Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 2.3.7-3
+- Depends on filesystem >= 25.
+
* Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 2.3.7-2
- Fix source URL.
- Remove static libraries.
Name: mingw-glib2
Version: 2.18.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: MinGW Windows GLib2 library
License: LGPLv2+
rm -f $RPM_BUILD_ROOT/%{_mingw_libdir}/charset.alias
+# Remove manpages which duplicate Fedora native.
+rm -rf $RPM_BUILD_ROOT%{_mingw_mandir}
+
+
%clean
rm -rf $RPM_BUILD_ROOT
%{_mingw_datadir}/gtk-doc/html/glib/
%{_mingw_datadir}/gtk-doc/html/gobject/
%{_mingw_datadir}/locale/*/LC_MESSAGES/glib20.mo
-%{_mingw_mandir}/man1/glib-genmarshal.1*
-%{_mingw_mandir}/man1/glib-gettextize.1*
-%{_mingw_mandir}/man1/glib-mkenums.1*
-%{_mingw_mandir}/man1/gobject-query.1*
-%{_mingw_mandir}/man1/gtester-report.1*
-%{_mingw_mandir}/man1/gtester.1*
-
%changelog
+* Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 2.18.0-3
+- Remove manpages which duplicate Fedora native.
+
* Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 2.18.0-2
- Add BR on pkgconfig, gettext and glib2 (native)
Name: mingw-iconv
Version: 1.12
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: GNU libraries and utilities for producing multi-lingual messages
License: GPLv2+ and LGPLv2+
%description
MinGW Windows Iconv library
+
%prep
%setup -q -n libiconv-%{version}
+
%build
%{_mingw_configure}
make
+
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
+# Remove documentation which duplicates what is already in
+# Fedora native packages.
+rm -rf $RPM_BUILD_ROOT%{_mingw_docdir}/libiconv/
+rm -rf $RPM_BUILD_ROOT%{_mingw_mandir}
+
+
%clean
rm -rf $RPM_BUILD_ROOT
+
%files
%defattr(-,root,root)
%{_mingw_bindir}/iconv
%{_mingw_libdir}/libcharset.la
%{_mingw_libdir}/libiconv.dll.a
%{_mingw_libdir}/libiconv.la
-%{_mingw_docdir}/libiconv/
-%{_mingw_mandir}/man1/iconv.1*
-%{_mingw_mandir}/man3/iconv.3*
-%{_mingw_mandir}/man3/iconv_close.3*
-%{_mingw_mandir}/man3/iconv_open.3*
-%{_mingw_mandir}/man3/iconvctl.3*
%changelog
+* Thu Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 0.17-3
+- Remove documentation which duplicates what is in Fedora native packages.
+
* Thu Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 0.17-2
- Use RPM macros from mingw-filesystem.
Name: mingw-libjpeg
Version: 6b
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: MinGW Windows Libjpeg library
License: IJG
URL: http://www.ijg.org/
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source0: ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v%{version}.tar.bz2
+Source0: ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v%{version}.tar.gz
Source1: libjpeg-configure.in
Patch1: jpeg-c++.patch
mkdir -p $RPM_BUILD_ROOT%{_mingw_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mingw_includedir}
mkdir -p $RPM_BUILD_ROOT%{_mingw_libdir}
-mkdir -p $RPM_BUILD_ROOT%{_mingw_mandir}/man1
mkdir -p $RPM_BUILD_ROOT%{_mingw_prefix}/man/man1
make prefix=$RPM_BUILD_ROOT%{_mingw_prefix} install
-# Work around the broken makefiles...
-mv $RPM_BUILD_ROOT%{_mingw_prefix}/man/man1/*.1 $RPM_BUILD_ROOT%{_mingw_mandir}/man1
-
# Remove static library.
rm $RPM_BUILD_ROOT%{_mingw_libdir}/libjpeg.a
+# Remove manual pages which duplicate Fedora native.
+rm -rf $RPM_BUILD_ROOT%{_mingw_prefix}/man
+
%clean
rm -rf $RPM_BUILD_ROOT
%{_mingw_includedir}/jpeglib.h
%{_mingw_libdir}/libjpeg.dll.a
%{_mingw_libdir}/libjpeg.la
-%{_mingw_mandir}/man1/cjpeg.1*
-%{_mingw_mandir}/man1/djpeg.1*
-%{_mingw_mandir}/man1/jpegtran.1*
-%{_mingw_mandir}/man1/rdjpgcom.1*
-%{_mingw_mandir}/man1/wrjpgcom.1*
+
%changelog
+* Sun Sep 21 2008 Daniel P. Berrange <berrange@redhat.com> - 6b-3
+- Fix URL.
+- Remove manpages which duplicate Fedora native.
+
* Wed Sep 10 2008 Daniel P. Berrange <berrange@redhat.com> - 6b-2
- Rename configure.in with a prefix.
- Remove static library.
Name: mingw-libpng
Version: 1.2.31
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: MinGW Windows Libpng library
License: zlib
rm $RPM_BUILD_ROOT%{_mingw_libdir}/libpng.a
+# No need to distribute manpages which appear in the Fedora
+# native packages already.
+rm -rf $RPM_BUILD_ROOT%{_mingw_mandir}
%clean
rm -rf $RPM_BUILD_ROOT
%{_mingw_libdir}/libpng12.la
%{_mingw_libdir}/pkgconfig/libpng.pc
%{_mingw_libdir}/pkgconfig/libpng12.pc
-%{_mingw_mandir}/man3/libpng.3*
-%{_mingw_mandir}/man3/libpngpf.3*
-%{_mingw_mandir}/man5/png.5*
+
%changelog
+* Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.31-3
+- Don't duplicate Fedora native manpages.
+
* Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.31-2
- Remove static library.
Name: mingw-libxml2
Version: 2.6.32
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: MinGW Windows libxml2 XML processing library
License: LGPLv2+
rm $RPM_BUILD_ROOT%{_mingw_libdir}/libxml2.a
+# Remove manpages which duplicate Fedora native.
+rm -rf $RPM_BUILD_ROOT%{_mingw_mandir}
+
%clean
rm -rf $RPM_BUILD_ROOT
%{_mingw_datadir}/aclocal/*
%{_mingw_docdir}/libxml2-%{version}/
%{_mingw_datadir}/gtk-doc/html/libxml2/
-%{_mingw_mandir}/man1/*
-%{_mingw_mandir}/man3/*
%changelog
+* Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.32-5
+- Remove manpages which duplicate Fedora native.
+
* Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.32-4
- Remove static libraries.
- List libdir files explicitly.
Name: mingw-zlib
Version: 1.2.3
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: MinGW Windows zlib compression library
License: zlib
mkdir -p $RPM_BUILD_ROOT%{_mingw_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mingw_includedir}
mkdir -p $RPM_BUILD_ROOT%{_mingw_libdir}
-mkdir -p $RPM_BUILD_ROOT%{_mingw_mandir}/man3
make -f win32/Makefile.gcc \
INCLUDE_PATH=$RPM_BUILD_ROOT%{_mingw_includedir} \
# Remove static library.
rm $RPM_BUILD_ROOT%{_mingw_libdir}/libz.a
-%__install zlib.3 $RPM_BUILD_ROOT%{_mingw_mandir}/man3
-
%clean
rm -rf $RPM_BUILD_ROOT
%{_mingw_includedir}/zlib.h
%{_mingw_libdir}/libz.dll.a
%{_mingw_bindir}/zlib1.dll
-%{_mingw_mandir}/man3/zlib.3
%changelog
+* Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.3-8
+- Remove manpage.
+
* Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.3-7
- Remove static library.