%define version 2.2.0 %define release 1 Summary: Expat is an XML 1.0 parser written in C. Name: expat Version: %{version} Release: %{release} License: MIT/X Group: Utilities/parsers URL: http://www.libexpat.org/ Source: http://download.sourceforge.net/expat/expat-%{version}.tar.gz BuildRoot: /var/tmp/%{name}-buildroot %description Expat is an XML 1.0 parser written in C by James Clark. It aims to be fully conforming. It is not a validating XML parser. %prep %setup %build ./configure make lib xmlwf %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/bin mkdir -p $RPM_BUILD_ROOT/usr/lib mkdir -p $RPM_BUILD_ROOT/usr/include make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr install -D xmlwf/xmlwf $RPM_BUILD_ROOT/usr/bin/xmlwf %files %doc COPYING Changes MANIFEST README doc/reference.html doc/style.css doc/*.png /usr/bin/xmlwf /usr/lib /usr/include/expat.h /usr/include/expat_config.h /usr/include/expat_external.h /usr/share/man/man1/xmlwf.1.gz %changelog * Tue Jun 21 2016 Sebastian Pipping [Release 2.2.0-1] - Update for the 2.2.0 release. * Wed Mar 2 2016 Sebastian Pipping [Release 2.1.1-1] - Update for the 2.1.1 release. * Sat Mar 3 2012 Karl Waclawek [Release 2.1.0-1] - Update for the 2.1.0 release. * Sun Nov 26 2006 Karl Waclawek [Release 2.0.1-1] - Update for the 2.0.1 release. * Fri Jul 16 2004 Fred L. Drake, Jr. [Release 1.95.8-1] - Update for the 1.95.8 release. - Add the expat_external.h header to the installed files. * Tue Oct 21 2003 Fred L. Drake, Jr. - Update list of documentation files; we missed a .png file in the previous release. * Mon Oct 20 2003 Fred L. Drake, Jr. [Release 1.95.7-1] - Updated for the 1.95.7 release. * Sat Jan 25 2003 Fred L. Drake, Jr. [Release 1.95.6-1] - Updated for the 1.95.6 release. * Wed Sep 4 2002 Fred L. Drake, Jr. [Release 1.95.5-1] - Updated for the 1.95.5 release. - Updated URL for Expat home page to point to www.libexpat.org. - Added "Valid XHTML 1.0" icon to the installed documentation. * Sat Jun 29 2002 Fred L. Drake, Jr. [Release 1.95.4-1] - Updated for the 1.95.4 release. * Fri May 17 2002 Fred L. Drake, Jr. [Release 1.95.3-1] - Updated for the 1.95.3 release. - Added xmlwf man page to the list of files. * Wed Jul 25 2001 Fred L. Drake, Jr. [Release 1.95.2-1] - Updated for the 1.95.2 release. * Sun Feb 18 2001 Sean Reifschneider [Release 1.95.1-1tummy] - Updated to 1.95.1 release. - Removed the "/usr/include/expat" directory for headers, as it now uses "expat.h" instead of "xmlparser.h". * Thu Jan 25 2001 Sean Reifschneider [Release 1.1-3tummy] - Moved xmlparse.h into "/usr/include/expat" directory to prevent conflict with w3c-libwww-devel package. * Wed Sep 6 2000 Sean Reifschneider - Modified to install into /usr. - Modified to use RPM_BUILD_ROOT instead of writing directly to install location.