]> git.pld-linux.org Git - packages/expat.git/blobdiff - expat.spec
- replaced external expat.m4 by file from package + am18 patch
[packages/expat.git] / expat.spec
index 425588fca613134df1fcf038c0e415ec7ffd07e2..5b6d82bc5bf54b436b0174c5cc5fee823d6931d5 100644 (file)
@@ -1,26 +1,38 @@
 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
@@ -45,7 +57,7 @@ Summary(pt_BR):       Arquivos de inclus
 Summary(ru):   èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÁ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó expat
 Summary(uk):   èÅÄÅÒÉ ÔÁ Â¦Â̦ÏÔÅËÁ, ÎÅÏÂȦÄΦ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú expat
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{epoch}:%{version}-%{release}
 Obsoletes:     libexpat1_95-devel
 
 %description devel
@@ -70,16 +82,20 @@ Arquivos de inclus
 
 %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.
 
@@ -99,14 +115,21 @@ Bibliotecas est
 %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
@@ -116,17 +139,19 @@ 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
This page took 0.085757 seconds and 4 git commands to generate.