]> git.pld-linux.org Git - packages/libxml2.git/commitdiff
- up to 2.6.22 auto/ac/libxml2-2_6_22-1 auto/th/libxml2-2_6_22-1
authortwittner <twittner@pld-linux.org>
Tue, 13 Sep 2005 21:25:49 +0000 (21:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libxml2.spec -> 1.134

libxml2.spec

index 0c30a240cb48fa131e0575ba4e1d395db649f7b3..dbc585e2e41a52cac2a301fc80ae71f45dbdec98 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Conditional build:
 %bcond_without python  # don't build python module
+%bcond_without static_libs # don't build static libraries
 #
 %{?with_python:%include        /usr/lib/rpm/macros.python}
 Summary:       libXML library
@@ -8,13 +9,13 @@ Summary(es):  Biblioteca libXML version 2
 Summary(pl):   Biblioteka libXML wersja 2
 Summary(pt_BR):        Biblioteca libXML versão 2
 Name:          libxml2
-Version:       2.6.21
+Version:       2.6.22
 Release:       1
 Epoch:         1
 License:       MIT
 Group:         Libraries
 Source0:       ftp://xmlsoft.org/%{name}-%{version}.tar.gz
-# Source0-md5: 131f2d98ed75ec1dc118783a21104107
+# Source0-md5: 1db8d06b4f49a665a8f47dc6d94450e6
 Patch0:                %{name}-amfix.patch
 Patch1:                %{name}-man_fixes.patch
 Patch2:                %{name}-open.gz.patch
@@ -128,7 +129,9 @@ Modu
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       %{!?with_static_libs:--enable-static=no}
+       
 %{__make}
 
 %install
@@ -151,10 +154,14 @@ mv -f $RPM_BUILD_ROOT%{_docdir}/%{name}-python-%{version}/examples/* \
 
 # move html doc to -devel package
 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
-mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html \
+mv -f $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html \
        $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 
+# deal with gtk-doc files
+install -d $RPM_BUILD_ROOT%{_gtkdocdir}
+mv -f $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/* $RPM_BUILD_ROOT%{_gtkdocdir}
+
 # install catalog file
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/xml
 LD_LIBRARY_PATH=.libs ./xmlcatalog --create \
@@ -193,10 +200,13 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/libxml2
 %{_mandir}/man1/xml2-config.1*
 %{_examplesdir}/%{name}-devel-%{version}
+%{_gtkdocdir}/libxml2
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %files progs
 %defattr(644,root,root,755)
This page took 0.225245 seconds and 4 git commands to generate.