]> git.pld-linux.org Git - packages/crossmingw32-libxml2.git/blobdiff - crossmingw32-libxml2.spec
- updated to 2.8.0
[packages/crossmingw32-libxml2.git] / crossmingw32-libxml2.spec
index 76b8ca774f7f5b15905be64a586f1174c5bd0d72..36ca8f5fad2f31bb7bb03c1862f7b2870766d293 100644 (file)
@@ -1,25 +1,25 @@
 %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.31
+Version:       2.8.0
 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: 714b0683b1ec4bdc63bc356d729f9b18
+# Source0-md5: c62106f02ee00b6437f0fb9d370c1093
 Patch0:                %{realname}-man_fixes.patch
 Patch1:                %{realname}-open.gz.patch
-Patch2:                %{realname}-DESTDIR.patch
+Patch2:                %{realname}-largefile.patch
 URL:           http://xmlsoft.org/
-BuildRequires: autoconf >= 2.2
-BuildRequires: automake
+BuildRequires: autoconf >= 2.59
+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
@@ -34,6 +34,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %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.
@@ -46,22 +47,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
@@ -85,6 +86,7 @@ Biblioteka DLL libxml2 dla Windows.
 %configure \
        --target=%{target} \
        --host=%{target} \
+       --disable-silent-rules \
        --without-python
 
 %{__make}
@@ -103,7 +105,7 @@ mv -f $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
 %{target}-strip -g -R.comment -R.note $RPM_BUILD_ROOT%{_libdir}/*.a
 %endif
 
-rm -rf $RPM_BUILD_ROOT%{_datadir}/{aclocal,doc,gtk-doc,man}
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/{aclocal,doc,gtk-doc,man}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.148961 seconds and 4 git commands to generate.