4ed2b58
%global unversion 2_2_6
1d9eafe
7a8b612
Summary: An XML parser library
cvsdist 3634b33
Name: expat
1d9eafe
Version: %(echo %{unversion} | sed 's/_/./g')
4ed2b58
Release: 1%{?dist}
1d9eafe
Source: https://github.com/libexpat/libexpat/archive/R_%{unversion}.tar.gz#/expat-%{version}.tar.gz
0e6b21f
URL: https://libexpat.github.io/
7a8b612
License: MIT
fc2796a
BuildRequires: autoconf, libtool, xmlto, gcc-c++
cvsdist 3634b33
cvsdist 3634b33
%description
cvsdist 3634b33
This is expat, the C library for parsing XML, written by James Clark. Expat
cvsdist 3634b33
is a stream oriented XML parser. This means that you register handlers with
cvsdist 3634b33
the parser prior to starting the parse. These handlers are called when the
cvsdist 3634b33
parser discovers the associated structures in the document being parsed. A
cvsdist 3634b33
start tag is an example of the kind of structures for which you may
cvsdist 3634b33
register handlers.
cvsdist 3634b33
cvsdist 3634b33
%package devel
c4bc751
Summary: Libraries and header files to develop applications using expat
b068659
Requires: expat%{?_isa} = %{version}-%{release}
cvsdist 3634b33
cvsdist 3634b33
%description devel
cvsdist 3634b33
The expat-devel package contains the libraries, include files and documentation
cvsdist 3634b33
to develop XML applications with expat.
cvsdist 3634b33
33686ad
%package static
33686ad
Summary: expat XML parser static library
33686ad
Requires: expat-devel%{?_isa} = %{version}-%{release}
33686ad
33686ad
%description static
33686ad
The expat-static package contains the static version of the expat library.
33686ad
Install it if you need to link statically with expat.
33686ad
cvsdist 3634b33
%prep
1d9eafe
%setup -q -n libexpat-R_%{unversion}/expat
39af806
sed -i 's/install-data-hook/do-nothing-please/' lib/Makefile.am
0e6b21f
./buildconf.sh
cvsdist 3634b33
cvsdist 3634b33
%build
2a668cc
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
fc2796a
export DOCBOOK_TO_MAN="xmlto man --skip-validation"
33686ad
%configure
cvsdist 3084980
make %{?_smp_mflags}
cvsdist 3634b33
cvsdist 3634b33
%install
7a8b612
make install DESTDIR=$RPM_BUILD_ROOT
2a668cc
12a1f97
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
cvsdist 3634b33
f4debc5
%check
f4debc5
make check
f4debc5
d8fd430
%ldconfig_scriptlets
cvsdist 3634b33
cvsdist 3634b33
%files
a182c23
%{!?_licensedir:%global license %%doc}
39af806
%doc AUTHORS Changes
a182c23
%license COPYING
cvsdist e44172e
%{_bindir}/*
12a1f97
%{_libdir}/lib*.so.*
cvsdist 99bac34
%{_mandir}/*/*
cvsdist 3634b33
cvsdist 3634b33
%files devel
39af806
%doc doc/reference.html doc/*.png doc/*.css examples/*.c
cvsdist 3634b33
%{_libdir}/lib*.so
12a1f97
%{_libdir}/pkgconfig/*.pc
cvsdist 3634b33
%{_includedir}/*.h
cvsdist 3634b33
33686ad
%files static
33686ad
%{_libdir}/lib*.a
33686ad
cvsdist 3634b33
%changelog
4ed2b58
* Wed Aug 15 2018 Joe Orton <jorton@redhat.com> - 2.2.6-1
4ed2b58
- update to 2.2.6
4ed2b58
58e4115
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.5-4
58e4115
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
58e4115
b8cd935
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.5-3
b8cd935
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b8cd935
d8fd430
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.2.5-2
d8fd430
- Switch to %%ldconfig_scriptlets
d8fd430
fc2796a
* Thu Nov  2 2017 Joe Orton <jorton@redhat.com> - 2.2.5-1
fc2796a
- update to 2.2.5 (#1508667)
fc2796a
39af806
* Mon Aug 21 2017 Joe Orton <jorton@redhat.com> - 2.2.4-1
39af806
- update to 2.2.4 (#1483359)
39af806
ef343f5
* Fri Aug  4 2017 Joe Orton <jorton@redhat.com> - 2.2.3-1
003bc38
- fix tests with unsigned char (upstream PR 109)
19be79a
- update to 2.2.3 (#1473266)
19be79a
0cdab75
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-4
0cdab75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0cdab75
fb5b15b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-3
fb5b15b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
fb5b15b
ea5c94f
* Fri Jul 14 2017 Joe Orton <jorton@redhat.com> - 2.2.2-2
ea5c94f
- update to 2.2.2 (#1470891)
ea5c94f
c0f9ee9
* Fri Jul  7 2017 Joe Orton <jorton@redhat.com> - 2.2.1-2
ea5c94f
- trim unnecessary doc, examples content
c0f9ee9
0e6b21f
* Mon Jun 19 2017 Joe Orton <jorton@redhat.com> - 2.2.1-1
0e6b21f
- update to 2.2.1 (#1462474)
0e6b21f
9af336b
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
9af336b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9af336b
ac9d5d4
* Tue Jun 21 2016 Joe Orton <jorton@redhat.com> - 2.2.0-1
ac9d5d4
- update to 2.2.0 (#1247348)
ac9d5d4
27e6661
* Thu Jun 16 2016 Joe Orton <jorton@redhat.com> - 2.1.1-2
27e6661
- add security fixes for CVE-2016-0718, CVE-2012-6702, CVE-2016-5300,
27e6661
  CVE-2016-4472
27e6661
2a5b273
* Mon Apr 18 2016 David Tardon <dtardon@redhat.com> - 2.1.1-1
2a5b273
- new upstream release
2a5b273
4413019
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-13
4413019
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4413019
720c1de
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-12
720c1de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
720c1de
24f2f6a
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.1.0-11
24f2f6a
- Rebuilt for Fedora 23 Change
24f2f6a
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
24f2f6a
bb55016
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-10
bb55016
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
bb55016
a182c23
* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> - 2.1.0-9
a182c23
- fix license handling
a182c23
58fa5e8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-8
58fa5e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
58fa5e8
a6feb8c
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-7
a6feb8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a6feb8c
c114704
* Mon Jun 17 2013 Joe Orton <jorton@redhat.com> - 2.1.0-6
c114704
- fix "xmlwf -h" output (#948534)
c114704
ac1a650
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-5
ac1a650
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ac1a650
894228c
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-4
894228c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
894228c
f65487d
* Fri Apr 13 2012 Joe Orton <jorton@redhat.com> - 2.1.0-3
33686ad
- add -static subpackage (#722647)
33686ad
12a1f97
* Fri Mar 30 2012 Joe Orton <jorton@redhat.com> - 2.1.0-1
12a1f97
- ship .pc file, move library back to libdir (#808399)
12a1f97
1aae02c
* Mon Mar 26 2012 Joe Orton <jorton@redhat.com> - 2.1.0-1
1aae02c
- update to 2.1.0 (#806602)
1aae02c
684fb2b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-12
684fb2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
684fb2b
6941397
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-11
6941397
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6941397
00017a5
* Mon Feb  8 2010 Joe Orton <jorton@redhat.com> - 2.0.1-10
00017a5
- revised fix for CVE-2009-3560 regression (#544996)
00017a5
26f53fa
* Sun Jan 31 2010 Joe Orton <jorton@redhat.com> - 2.0.1-9
26f53fa
- drop static libraries (#556046)
26f53fa
- add fix for regression in CVE-2009-3560 patch (#544996)
26f53fa
f4debc5
* Tue Dec  1 2009 Joe Orton <jorton@redhat.com> - 2.0.1-8
f4debc5
- add security fix for CVE-2009-3560 (#533174)
f4debc5
- add security fix for CVE-2009-3720 (#531697)
f4debc5
- run the test suite
f4debc5
4e1771b
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-7
4e1771b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4e1771b
dd27d9f
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-6
dd27d9f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
dd27d9f
645700a
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.1-5
645700a
- Autorebuild for GCC 4.3
645700a
7f43eef
* Wed Jan 23 2008 Joe Orton <jorton@redhat.com> 2.0.1-4
7f43eef
- chmod 644 even more documentation (#429806)
7f43eef
6bd1848
* Tue Jan  8 2008 Joe Orton <jorton@redhat.com> 2.0.1-3
6bd1848
- chmod 644 the documentation (#427950)
6bd1848
5c199db
* Wed Aug 22 2007 Joe Orton <jorton@redhat.com> 2.0.1-2
5c199db
- rebuild
5c199db
7a8b612
* Wed Aug  8 2007 Joe Orton <jorton@redhat.com> 2.0.1-1
7a8b612
- update to 2.0.1
7a8b612
- fix the License tag
7a8b612
- drop the .la file
7a8b612
c4bc751
* Sun Feb  4 2007 Joe Orton <jorton@redhat.com> 1.95.8-10
c4bc751
- remove trailing dot in Summary (#225742)
c4bc751
- use preferred BuildRoot per packaging guidelines (#225742)
c4bc751
17207d9
* Tue Jan 30 2007 Joe Orton <jorton@redhat.com> 1.95.8-9
17207d9
- regenerate configure/libtool correctly (#199361)
17207d9
- strip DSP files from examples (#186889)
17207d9
- fix expat.h compilation with g++ -pedantic (#190244)
17207d9
a8575c0
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.95.8-8.2.1
a8575c0
- rebuild
a8575c0
7743ddd
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.95.8-8.2
7743ddd
- bump again for double-long bug on ppc(64)
7743ddd
61f8f59
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.95.8-8.1
61f8f59
- rebuilt for new gcc4.1 snapshot and glibc changes
61f8f59
d51f489
* Tue Jan 31 2006 Joe Orton <jorton@redhat.com> 1.95.8-8
d51f489
- restore .la file for apr-util
d51f489
2a668cc
* Mon Jan 30 2006 Joe Orton <jorton@redhat.com> 1.95.8-7
2a668cc
- move library to /lib (#178743)
2a668cc
- omit .la file (#170031)
2a668cc
4115ae4
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
4115ae4
- rebuilt
4115ae4
1bd43cf
* Tue Mar  8 2005 Joe Orton <jorton@redhat.com> 1.95.8-6
1bd43cf
- rebuild
1bd43cf
Ivana Varekova 2e71b69
* Thu Nov 25 2004 Ivana Varekova <varekova@redhat.com> 1.95.8
Ivana Varekova 2e71b69
- update to 1.95.8
Ivana Varekova 2e71b69
cvsdist 4a3fcc9
* Wed Jun 16 2004 Jeff Johnson <jbj@jbj.org> 1.95.7-4
cvsdist 4a3fcc9
- add -fPIC (#125586).
cvsdist 4a3fcc9
cvsdist af4d16b
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist af4d16b
- rebuilt
cvsdist af4d16b
cvsdist 8d6639f
* Fri Jun 11 2004 Jeff Johnson <jbj@jbj.org> 1.95.7-2
cvsdist 8d6639f
- fix: malloc failure from dbus test suite (#124747).
cvsdist 8d6639f
cvsdist 3084980
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 3084980
- rebuilt
cvsdist 3084980
cvsdist 3084980
* Sun Feb 22 2004 Joe Orton <jorton@redhat.com> 1.95.7-1
cvsdist 3084980
- update to 1.95.7, include COPYING file in main package
cvsdist 3084980
cvsdist 3084980
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 3084980
- rebuilt
cvsdist 3084980
cvsdist 3084980
* Wed Sep 17 2003 Matt Wilson <msw@redhat.com> 1.95.5-6
cvsdist 3084980
- rebuild again for #91211
cvsdist 3084980
cvsdist 3084980
* Tue Sep 16 2003 Matt Wilson <msw@redhat.com> 1.95.5-5
cvsdist 3084980
- rebuild to fix gzip'ed file md5sums (#91211)
cvsdist 3084980
cvsdist 3084980
* Tue Jun 17 2003 Jeff Johnson <jbj@redhat.com> 1.95.5-4
cvsdist 3084980
- rebuilt because of crt breakage on ppc64.
cvsdist 3084980
cvsdist 730cfd9
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 730cfd9
- rebuilt
cvsdist 730cfd9
cvsdist e44172e
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist e44172e
- rebuilt
cvsdist e44172e
cvsdist e44172e
* Mon Nov 11 2002 Jeff Johnson <jbj@redhat.com> 1.95.5-1
cvsdist e44172e
- update to 1.95.5.
cvsdist e44172e
cvsdist 99bac34
* Mon Aug 19 2002 Trond Eivind Glomsrød <teg@redhat.com> 1,95.4-1
cvsdist 99bac34
- 1.95.4. 1.95.3 was withdrawn by the expat developers.
cvsdist 99bac34
cvsdist 6ff41a0
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 6ff41a0
- automated rebuild
cvsdist 6ff41a0
cvsdist 99bac34
* Thu Jun  6 2002 Trond Eivind Glomsrød <teg@redhat.com> 1,95.3-1
cvsdist 6ff41a0
- 1.95.3
cvsdist 6ff41a0
cvsdist 6ff41a0
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 6ff41a0
- automated rebuild
cvsdist 6ff41a0
cvsdist 99bac34
* Fri Mar 22 2002 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist e1d1ed0
- Change a prereq in -devel on main package to a req
cvsdist e1d1ed0
- License from MIT/X11 to BSD
cvsdist e1d1ed0
79ed007
* Mon Mar 11 2002 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist e1d1ed0
- 1.95.2
cvsdist e1d1ed0
cvsdist 0d6fa94
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
cvsdist 0d6fa94
- Bump release + rebuild.
cvsdist 0d6fa94
cvsdist 3634b33
* Tue Oct 24 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 3634b33
- update to 1.95.1
cvsdist 3634b33
cvsdist 3634b33
* Sun Oct  8 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 3634b33
- Create.