%ifnos darwin %define __defattr %defattr(-,root,root) %define __soext so %else %define __defattr %defattr(-,root,wheel) %define __soext dylib %endif Summary: A library for parsing XML. Name: expat Version: 1.95.8 Release: 6a Group: System Environment/Libraries Source: http://download.sourceforge.net/expat/expat-%{version}.tar.gz URL: http://www.libexpat.org/ License: BSD BuildRoot: %{_tmppath}/%{name}-root %description This is expat, the C library for parsing XML, written by James Clark. Expat is a stream oriented XML parser. This means that you register handlers with the parser prior to starting the parse. These handlers are called when the parser discovers the associated structures in the document being parsed. A start tag is an example of the kind of structures for which you may register handlers. %package devel Summary: Libraries and include files to develop XML applications with expat. Group: Development/Libraries Requires: expat = %{version}-%{release} %description devel The expat-devel package contains the libraries, include files and documentation to develop XML applications with expat. %prep %setup -q %build export CFLAGS="%{optflags} -fPIC" %configure make %{?_smp_mflags} %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %makeinstall man1dir=%{buildroot}%{_mandir}/man1 %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %{__defattr} %doc README COPYING %{_bindir}/* %ifnos darwin %{_libdir}/lib*.%{__soext}.* %else %{_libdir}/lib*.*.%{__soext} %endif %{_mandir}/*/* %files devel %{__defattr} %doc Changes doc examples %{_libdir}/lib*.a %{_libdir}/lib*.la %{_libdir}/lib*.%{__soext} %exclude %{_libdir}/lib*.*.%{__soext} %{_includedir}/*.h %changelog * Sat May 05 2005 Keisuke Fujii 1.95.8-6a - 1st release on MacOS X Release 10.4 * Tue Mar 8 2005 Joe Orton 1.95.8-6 - rebuild * Thu Nov 25 2004 Ivana Varekova 1.95.8 - update to 1.95.8 * Wed Jun 16 2004 Jeff Johnson 1.95.7-4 - add -fPIC (#125586). * Tue Jun 15 2004 Elliot Lee - rebuilt * Fri Jun 11 2004 Jeff Johnson 1.95.7-2 - fix: malloc failure from dbus test suite (#124747). * Tue Mar 02 2004 Elliot Lee - rebuilt * Sun Feb 22 2004 Joe Orton 1.95.7-1 - update to 1.95.7, include COPYING file in main package * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Sep 17 2003 Matt Wilson 1.95.5-6 - rebuild again for #91211 * Tue Sep 16 2003 Matt Wilson 1.95.5-5 - rebuild to fix gzip'ed file md5sums (#91211) * Tue Jun 17 2003 Jeff Johnson 1.95.5-4 - rebuilt because of crt breakage on ppc64. * Wed Jun 04 2003 Elliot Lee - rebuilt * Wed Jan 22 2003 Tim Powers - rebuilt * Mon Nov 11 2002 Jeff Johnson 1.95.5-1 - update to 1.95.5. * Mon Aug 19 2002 Trond Eivind Glomsrød 1,95.4-1 - 1.95.4. 1.95.3 was withdrawn by the expat developers. * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu Jun 6 2002 Trond Eivind Glomsrød 1,95.3-1 - 1.95.3 * Thu May 23 2002 Tim Powers - automated rebuild * Fri Mar 22 2002 Trond Eivind Glomsrød - Change a prereq in -devel on main package to a req - License from MIT/X11 to BSD * Mon Mar 13 2002 Trond Eivind Glomsrød - 1.95.2 * Sun Jun 24 2001 Elliot Lee - Bump release + rebuild. * Tue Oct 24 2000 Jeff Johnson - update to 1.95.1 * Sun Oct 8 2000 Jeff Johnson - Create.