]> git.pld-linux.org Git - packages/expat.git/blobdiff - expat.spec
- expat aclocal file
[packages/expat.git] / expat.spec
index 256105211ff7ae1492a64976dc42c54186990a0d..cf1a0567d9ce881a0b02ccbe7c3758cc206874e0 100644 (file)
@@ -4,13 +4,20 @@ Summary(pt_BR):       Biblioteca XML expat
 Summary(ru):   ðÅÒÅÎÏÓÉÍÁÑ ÂÉÂÌÉÏÔÅËÁ ÒÁÚÂÏÒÁ XML (expat)
 Summary(uk):   ðÅÒÅÎÏÓÉÍÁ Â¦Â̦ÏÔÅËÁ ÒÏÚÂÏÒÕ XML (expat)
 Name:          expat
-Version:       1.95.4
-Release:       1
+Version:       1.95.6
+Release:       3
+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
+Source0:       http://dl.sourceforge.net/expat/%{name}-%{version}.tar.gz
+# Source0-md5: ca78d94e83e9f077b5da2bfe28ba986a
 Patch0:                %{name}-DESTDIR.patch
+Patch1:                %{name}-gcc3-c++.patch
+Patch2:                %{name}-ac_fixes.patch
 URL:           http://expat.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     libexpat1_95
 
@@ -44,7 +51,7 @@ Summary(pt_BR):       Arquivos de inclus
 Summary(ru):   èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÁ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó expat
 Summary(uk):   èÅÄÅÒÉ ÔÁ Â¦Â̦ÏÔÅËÁ, ÎÅÏÂȦÄΦ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú expat
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{epoch}:%{version}
 Obsoletes:     libexpat1_95-devel
 
 %description devel
@@ -74,7 +81,7 @@ Summary(pt_BR):       Bibliotecas est
 Summary(ru):   óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libexpat
 Summary(uk):   óÔÁÔÉÞÎÁ Â¦Â̦ÏÔÅËÁ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libexpat
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{epoch}:%{version}
 
 %description static
 Expat static library.
@@ -96,16 +103,21 @@ Bibliotecas est
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
 %configure
-
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -124,7 +136,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc doc/{reference.html,style.css}
 %attr(755,root,root) %{_libdir}/lib*.so
-%attr(755,root,root) %{_libdir}/lib*.la
+%{_libdir}/lib*.la
 %{_includedir}/*
 
 %files static
This page took 0.134778 seconds and 4 git commands to generate.