Summary: XML 1.0 parser
-Summary(pl): Parser XML 1.0
+Summary(es): Parser de XML 1.0
+Summary(pl): Analizator sk³adni XML-a 1.0
Summary(pt_BR): Biblioteca XML expat
Summary(ru): ðÅÒÅÎÏÓÉÍÁÑ ÂÉÂÌÉÏÔÅËÁ ÒÁÚÂÏÒÁ XML (expat)
Summary(uk): ðÅÒÅÎÏÓÉÍÁ ¦Â̦ÏÔÅËÁ ÒÏÚÂÏÒÕ XML (expat)
Name: expat
-Version: 1.95.3
-Release: 3
-License: MIT
+Version: 2.0.0
+Release: 1
+Epoch: 1
License: Thai Open Source Software Center Ltd (distributable)
Group: Applications/Publishing/XML
-Source0: ftp://ftp.sourceforge.net/pub/sourceforge/expat/%{name}-%{version}.tar.gz
-Patch0: %{name}-DESTDIR.patch
+Source0: http://dl.sourceforge.net/expat/%{name}-%{version}.tar.gz
+# Source0-md5: d945df7f1c0868c5c73cf66ba9596f3f
+Patch0: %{name}-ac_fixes.patch
+Patch1: %{name}-am18.patch
URL: http://expat.sourceforge.net/
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: autoconf >= 2.52
+BuildRequires: automake
+BuildRequires: libtool
Obsoletes: libexpat1_95
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Expat is an XML parser written in C. It aims to be fully conforming.
It is currently not a validating XML parser.
+%description -l es
+Expat es un parser de XML escrito en C. Pretende conformarse totalmente
+al estándar. Actualmente no es un parser XML validante.
+
%description -l pl
-Expat to parser XML napisany w jêzyku C.
+Expat to napisany w jêzyku C analizator sk³adni XML-a. D±¿y do pe³nej
+zgodno¶ci ze specyfikacj±. Aktualnie nie jest analizatorem, który
+potwiedza³ by zgodno¶æ ze specyfikacj±.
%description -l pt_BR
Esta é a biblioteca, em C, XML expat, de James Clark. É um analisador
Summary(ru): èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÁ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó expat
Summary(uk): èÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÁ, ÎÅÏÂȦÄΦ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú expat
Group: Development/Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{epoch}:%{version}-%{release}
Obsoletes: libexpat1_95-devel
%description devel
%package static
Summary: Expat static library
+Summary(es): Biblioteca estática de expat
Summary(pl): Biblioteka statyczna expat
Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com a biblioteca expat
Summary(ru): óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libexpat
Summary(uk): óÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libexpat
Group: Development/Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{epoch}:%{version}-%{release}
%description static
Expat static library.
+%description static -l es
+Biblioteca estática de expat.
+
%description static -l pl
Biblioteka statyczna expat.
%patch0 -p1
%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__autoconf}
%configure
-
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_aclocaldir}
+install conftools/expat.m4 $RPM_BUILD_ROOT%{_aclocaldir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
+%doc COPYING Changes README
+%attr(755,root,root) %{_bindir}/xmlwf
+%attr(755,root,root) %{_libdir}/libexpat.so.*.*
+%{_mandir}/man1/xmlwf.1*
%files devel
%defattr(644,root,root,755)
-%doc Changes COPYING README doc/{reference.html,style.css}
-%attr(755,root,root) %{_libdir}/lib*.so
-%attr(755,root,root) %{_libdir}/lib*.la
-%{_includedir}/*
+%doc doc/{reference.html,style.css}
+%attr(755,root,root) %{_libdir}/libexpat.so
+%{_libdir}/libexpat.la
+%{_includedir}/expat*.h
+%{_aclocaldir}/expat.m4
%files static
%defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libexpat.a