17247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes%define version 2.2.5 27247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes%define release 1 37247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 47247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott HughesSummary: Expat is an XML 1.0 parser written in C. 57247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott HughesName: expat 67247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott HughesVersion: %{version} 77247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott HughesRelease: %{release} 87247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott HughesLicense: MIT/X 97247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott HughesGroup: Utilities/parsers 107247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott HughesURL: http://www.libexpat.org/ 117247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott HughesSource: https://downloads.sourceforge.net/project/expat/expat/%{version}/expat-%{version}.tar.bz2 127247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott HughesBuildRoot: /var/tmp/%{name}-buildroot 137247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 147247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes%description 157247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott HughesExpat is an XML 1.0 parser written in C by James Clark. It aims to be 167247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughesfully conforming. It is not a validating XML parser. 177247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 187247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes%prep 197247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes%setup 207247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 217247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes%build 227247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes./configure 237247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughesmake lib xmlwf 247247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 257247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes%install 267247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughesrm -rf $RPM_BUILD_ROOT 277247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughesmkdir -p $RPM_BUILD_ROOT/usr/bin 287247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughesmkdir -p $RPM_BUILD_ROOT/usr/lib 297247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughesmkdir -p $RPM_BUILD_ROOT/usr/include 307247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughesmake install DESTDIR=$RPM_BUILD_ROOT prefix=/usr 317247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughesinstall -D xmlwf/xmlwf $RPM_BUILD_ROOT/usr/bin/xmlwf 327247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 337247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes%files 347247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes%doc COPYING README.md doc/reference.html doc/style.css doc/*.png 357247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes/usr/bin/xmlwf 367247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes/usr/lib 377247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes/usr/include/expat.h 387247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes/usr/include/expat_config.h 397247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes/usr/include/expat_external.h 407247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes/usr/share/doc/expat/AUTHORS 417247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes/usr/share/doc/expat/changelog 427247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes/usr/share/man/man1/xmlwf.1.gz 437247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 447247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes%changelog 457247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Tue Oct 31 2017 Sebastian Pipping <sebastian@pipping.org> 467247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 2.2.5-1] 477247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Update for the 2.2.5 release. 487247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 497247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Sat Aug 19 2017 Sebastian Pipping <sebastian@pipping.org> 507247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 2.2.4-1] 517247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Update for the 2.2.4 release. 527247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 537247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Wed Aug 2 2017 Sebastian Pipping <sebastian@pipping.org> 547247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 2.2.3-1] 557247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Update for the 2.2.3 release. 567247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 577247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Wed Jul 12 2017 Sebastian Pipping <sebastian@pipping.org> 587247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 2.2.2-1] 597247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Update for the 2.2.2 release. 607247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 617247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Sat Jun 17 2017 Sebastian Pipping <sebastian@pipping.org> 627247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 2.2.1-1] 637247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Update for the 2.2.1 release. 647247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 657247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Tue Jun 21 2016 Sebastian Pipping <sebastian@pipping.org> 667247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 2.2.0-1] 677247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Update for the 2.2.0 release. 687247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 697247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Wed Mar 2 2016 Sebastian Pipping <sebastian@pipping.org> 707247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 2.1.1-1] 717247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Update for the 2.1.1 release. 727247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 737247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Sat Mar 3 2012 Karl Waclawek <karl@waclawek.net> 747247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 2.1.0-1] 757247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Update for the 2.1.0 release. 767247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 777247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Sun Nov 26 2006 Karl Waclawek <karl@waclawek.net> 787247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 2.0.1-1] 797247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Update for the 2.0.1 release. 807247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 817247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Fri Jul 16 2004 Fred L. Drake, Jr. <fdrake@acm.org> 827247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 1.95.8-1] 837247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Update for the 1.95.8 release. 847247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Add the expat_external.h header to the installed files. 857247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 867247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Tue Oct 21 2003 Fred L. Drake, Jr. <fdrake@acm.org> 877247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Update list of documentation files; we missed a .png file in the 887247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes previous release. 897247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 907247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Mon Oct 20 2003 Fred L. Drake, Jr. <fdrake@acm.org> 917247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 1.95.7-1] 927247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Updated for the 1.95.7 release. 937247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 947247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Sat Jan 25 2003 Fred L. Drake, Jr. <fdrake@acm.org> 957247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 1.95.6-1] 967247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Updated for the 1.95.6 release. 977247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 987247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Wed Sep 4 2002 Fred L. Drake, Jr. <fdrake@acm.org> 997247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 1.95.5-1] 1007247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Updated for the 1.95.5 release. 1017247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Updated URL for Expat home page to point to www.libexpat.org. 1027247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Added "Valid XHTML 1.0" icon to the installed documentation. 1037247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 1047247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Sat Jun 29 2002 Fred L. Drake, Jr. <fdrake@acm.org> 1057247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 1.95.4-1] 1067247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Updated for the 1.95.4 release. 1077247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 1087247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Fri May 17 2002 Fred L. Drake, Jr. <fdrake@acm.org> 1097247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 1.95.3-1] 1107247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Updated for the 1.95.3 release. 1117247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Added xmlwf man page to the list of files. 1127247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 1137247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Wed Jul 25 2001 Fred L. Drake, Jr. <fdrake@acm.org> 1147247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 1.95.2-1] 1157247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Updated for the 1.95.2 release. 1167247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 1177247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Sun Feb 18 2001 Sean Reifschneider <jafo-rpms@tummy.com> 1187247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 1.95.1-1tummy] 1197247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Updated to 1.95.1 release. 1207247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Removed the "/usr/include/expat" directory for headers, as it now uses 1217247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes "expat.h" instead of "xmlparser.h". 1227247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 1237247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Thu Jan 25 2001 Sean Reifschneider <jafo-rpms@tummy.com> 1247247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes[Release 1.1-3tummy] 1257247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Moved xmlparse.h into "/usr/include/expat" directory to prevent conflict 1267247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes with w3c-libwww-devel package. 1277247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes 1287247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes* Wed Sep 6 2000 Sean Reifschneider <jafo-rpms@tummy.com> 1297247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Modified to install into /usr. 1307247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes- Modified to use RPM_BUILD_ROOT instead of writing directly to install 1317247294fbc43cb0b4fb2ea03d952b81077db7c27Elliott Hughes location. 132