X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcrossmingw32-libxml2.git;a=blobdiff_plain;f=crossmingw32-libxml2.spec;h=94875f96e2560f1a62e15dba68881bab3c02456e;hp=d38509bd5875b390cc7ecb761d5e792a33f019ac;hb=4c45262;hpb=277a8f2017a534fbfc82a697dd38805790bcde8c diff --git a/crossmingw32-libxml2.spec b/crossmingw32-libxml2.spec index d38509b..94875f9 100644 --- a/crossmingw32-libxml2.spec +++ b/crossmingw32-libxml2.spec @@ -1,25 +1,27 @@ %define realname libxml2 -Summary: libXML library - cross Mingw32 version -Summary(pl.UTF-8): Biblioteka libXML wersja 2 - wersja skrośna dla Mingw32 +Summary: libXML library - cross MinGW32 version +Summary(pl.UTF-8): Biblioteka libXML wersja 2 - wersja skrośna dla MinGW32 Name: crossmingw32-%{realname} -Version: 2.6.30 +Version: 2.7.8 Release: 1 License: MIT Group: Development/Libraries #Source0: http://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/%{name}-%{version}.tar.bz2 Source0: ftp://xmlsoft.org/libxml2/%{realname}-%{version}.tar.gz -# Source0-md5: 460e6d853e824da700d698532e57316b -Patch0: %{realname}-man_fixes.patch -Patch1: %{realname}-open.gz.patch -Patch2: %{realname}-DESTDIR.patch +# Source0-md5: 8127a65e8c3b08856093099b52599c86 +Patch0: %{realname}-amfix.patch +Patch1: %{realname}-man_fixes.patch +Patch2: %{realname}-open.gz.patch +Patch3: %{realname}-largefile.patch +Patch4: %{realname}-version-script.patch URL: http://xmlsoft.org/ BuildRequires: autoconf >= 2.2 -BuildRequires: automake +BuildRequires: automake >= 1.4 BuildRequires: crossmingw32-gcc -BuildRequires: crossmingw32-zlib +BuildRequires: crossmingw32-zlib >= 1.2.4-3 BuildRequires: libtool >= 1:1.4.2-9 BuildRequires: sed >= 4.0 -Requires: crossmingw32-zlib +Requires: crossmingw32-zlib >= 1.2.4-3 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define no_install_post_strip 1 @@ -29,10 +31,12 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _sysprefix /usr %define _prefix %{_sysprefix}/%{target} +%define _libdir %{_prefix}/lib %define _pkgconfigdir %{_prefix}/lib/pkgconfig %define _dlldir /usr/share/wine/windows/system %define __cc %{target}-gcc %define __cxx %{target}-g++ +%define filterout_ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,combreloc %description This library allows you to manipulate XML files. @@ -45,22 +49,22 @@ Biblioteka libxml2 umożliwia manipulowanie zawartością plików XML. Ten pakiet zawiera wersję skrośną dla Win32. %package static -Summary: Static libxml2 library (cross mingw32 version) -Summary(pl.UTF-8): Statyczna biblioteka libxml2 (wersja skrośna mingw32) +Summary: Static libxml2 library (cross MinGW32 version) +Summary(pl.UTF-8): Statyczna biblioteka libxml2 (wersja skrośna MinGW32) Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description static -Static libxml2 library (cross mingw32 version). +Static libxml2 library (cross MinGW32 version). %description static -l pl.UTF-8 -Statyczna biblioteka libxml2 (wersja skrośna mingw32). +Statyczna biblioteka libxml2 (wersja skrośna MinGW32). %package dll Summary: DLL libxml2 library for Windows Summary(pl.UTF-8): Biblioteka DLL libxml2 dla Windows Group: Applications/Emulators -Requires: crossmingw32-zlib-dll +Requires: crossmingw32-zlib-dll >= 1.2.4-3 Requires: wine %description dll @@ -74,6 +78,8 @@ Biblioteka DLL libxml2 dla Windows. %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 %build %{__libtoolize}