]> git.pld-linux.org Git - packages/expat.git/blobdiff - expat.spec
- next part of small fixes inpired by kloczek :)
[packages/expat.git] / expat.spec
index 6be1d056d6ede803152951f9bea06de6a48cd1d8..471c8550d2f229de6ad98638e02520057cadae3b 100644 (file)
@@ -4,13 +4,19 @@ Summary(pt_BR):       Biblioteca XML expat
 Summary(ru):   ðÅÒÅÎÏÓÉÍÁÑ ÂÉÂÌÉÏÔÅËÁ ÒÁÚÂÏÒÁ XML (expat)
 Summary(uk):   ðÅÒÅÎÏÓÉÍÁ Â¦Â̦ÏÔÅËÁ ÒÏÚÂÏÒÕ XML (expat)
 Name:          expat
-Version:       1.95.3
-Release:       3
+Version:       1.95.6
+Release:       2
 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
 
@@ -96,16 +102,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
@@ -115,15 +126,16 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc COPYING Changes README
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
 
 %files devel
 %defattr(644,root,root,755)
-%doc Changes COPYING README doc/{reference.html,style.css}
+%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.071361 seconds and 4 git commands to generate.