X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=libxml2%2Fmingw-libxml2.spec;h=6c01f5fc42c254c4a7015ae907c5476687fea8e5;hb=dd292186d2ea69b99e3569592d439f41f6fadb90;hp=1c741332ddc739488b9582cd04245d73fec6a75a;hpb=be7f34ce3d4596ec29d8ecb897ad53d8b60f3bef;p=fedora-mingw.git diff --git a/libxml2/mingw-libxml2.spec b/libxml2/mingw-libxml2.spec index 1c74133..6c01f5f 100644 --- a/libxml2/mingw-libxml2.spec +++ b/libxml2/mingw-libxml2.spec @@ -1,19 +1,23 @@ -%include /usr/lib/rpm/mingw-defs +%define __strip %{_mingw_strip} +%define __objdump %{_mingw_objdump} +%define _use_internal_dependency_generator 0 +%define __find_requires %{_mingw_findrequires} +%define __find_provides %{_mingw_findprovides} Name: mingw-libxml2 -Version: 2.6.32 -Release: 3%{?dist} +Version: 2.7.1 +Release: 1%{?dist} Summary: MinGW Windows libxml2 XML processing library -License: LGPLv2+ +License: MIT Group: Development/Libraries -URL: http://www.xmlsoft.org/ +URL: http://xmlsoft.org/ Source0: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: mingw-filesystem >= 19 +BuildRequires: mingw-filesystem >= 23 BuildRequires: mingw-gcc BuildRequires: mingw-binutils BuildRequires: mingw-zlib @@ -38,6 +42,11 @@ rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install +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 @@ -49,16 +58,28 @@ rm -rf $RPM_BUILD_ROOT %{_mingw_bindir}/xml2-config %{_mingw_bindir}/xmlcatalog.exe %{_mingw_bindir}/xmllint.exe -%{_mingw_libdir}/* -%{_mingw_includedir}/* +%{_mingw_libdir}/libxml2.dll.a +%{_mingw_libdir}/libxml2.la +%{_mingw_libdir}/pkgconfig +%{_mingw_libdir}/pkgconfig/libxml-2.0.pc +%{_mingw_libdir}/xml2Conf.sh +%{_mingw_includedir}/libxml2 %{_mingw_datadir}/aclocal/* %{_mingw_docdir}/libxml2-%{version}/ %{_mingw_datadir}/gtk-doc/html/libxml2/ -%{_mingw_mandir}/man1/* -%{_mingw_mandir}/man3/* %changelog +* Mon Sep 22 2008 Daniel P. Berrange - 2.7.1-1 +- Update to 2.7.1 release + +* Sun Sep 21 2008 Richard W.M. Jones - 2.6.32-5 +- Remove manpages which duplicate Fedora native. + +* Wed Sep 10 2008 Richard W.M. Jones - 2.6.32-4 +- Remove static libraries. +- List libdir files explicitly. + * Fri Sep 5 2008 Richard W.M. Jones - 2.6.32-3 - Use RPM macros from mingw-filesystem. - BuildArch is noarch.