Blame SPECS/expat.spec

3690d0
Summary: An XML parser library
3690d0
Name: expat
3690d0
Version: 2.1.0
bba68d
Release: 12%{?dist}
3690d0
Group: System Environment/Libraries
3690d0
Source: http://downloads.sourceforge.net/expat/expat-%{version}.tar.gz
3690d0
Patch0: expat-2.1.0-xmlwfargs.patch
ed72f6
Patch1: expat-2.1.0-CVE-2016-0718.patch
813552
Patch2: expat-2.1.0-CVE-2015-2716.patch
bba68d
Patch3: expat-2.1.0-CVE-2018-20843.patch
bba68d
Patch4: expat-2.1.0-CVE-2019-15903.patch
3690d0
URL: http://www.libexpat.org/
3690d0
License: MIT
3690d0
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3690d0
BuildRequires: autoconf, automake, libtool, check-devel
3690d0
3690d0
%description
3690d0
This is expat, the C library for parsing XML, written by James Clark. Expat
3690d0
is a stream oriented XML parser. This means that you register handlers with
3690d0
the parser prior to starting the parse. These handlers are called when the
3690d0
parser discovers the associated structures in the document being parsed. A
3690d0
start tag is an example of the kind of structures for which you may
3690d0
register handlers.
3690d0
3690d0
%package devel
3690d0
Summary: Libraries and header files to develop applications using expat
3690d0
Group: Development/Libraries
3690d0
Requires: expat = %{version}-%{release}
3690d0
3690d0
%description devel
3690d0
The expat-devel package contains the libraries, include files and documentation
3690d0
to develop XML applications with expat.
3690d0
3690d0
%package static
3690d0
Summary: expat XML parser static library
3690d0
Group: Development/Libraries
3690d0
Requires: expat-devel%{?_isa} = %{version}-%{release}
3690d0
3690d0
%description static
3690d0
The expat-static package contains the static version of the expat library.
3690d0
Install it if you need to link statically with expat.
3690d0
3690d0
%prep
3690d0
%setup -q
3690d0
%patch0 -p1 -b .xmlwfargs
ed72f6
%patch1 -p1 -b .cve0718
813552
%patch2 -p1 -b .cve2716
bba68d
%patch3 -p1 -b .cve20843
bba68d
%patch4 -p1 -b .cve15903
3690d0
3690d0
%build
3690d0
rm -rf autom4te*.cache
3690d0
libtoolize --copy --force --automake && aclocal && autoheader && autoconf
3690d0
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
3690d0
%configure
3690d0
make %{?_smp_mflags}
3690d0
3690d0
%install
3690d0
rm -rf ${RPM_BUILD_ROOT}
3690d0
3690d0
rm -f examples/*.dsp
3690d0
chmod 644 README COPYING Changes doc/* examples/*
3690d0
3690d0
make install DESTDIR=$RPM_BUILD_ROOT
3690d0
3690d0
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
3690d0
3690d0
%check
3690d0
make check
3690d0
3690d0
%clean
3690d0
rm -rf ${RPM_BUILD_ROOT}
3690d0
3690d0
%post -p /sbin/ldconfig
3690d0
%postun -p /sbin/ldconfig
3690d0
3690d0
%files
3690d0
%defattr(-,root,root)
3690d0
%doc README COPYING
3690d0
%{_bindir}/*
3690d0
%{_libdir}/lib*.so.*
3690d0
%{_mandir}/*/*
3690d0
3690d0
%files devel
3690d0
%defattr(-,root,root)
3690d0
%doc Changes doc examples
3690d0
%{_libdir}/lib*.so
3690d0
%{_libdir}/pkgconfig/*.pc
3690d0
%{_includedir}/*.h
3690d0
3690d0
%files static
3690d0
%defattr(-,root,root)
3690d0
%{_libdir}/lib*.a
3690d0
3690d0
%changelog
bba68d
* Thu Apr  2 2020 Joe Orton <jorton@redhat.com> - 2.1.0-12
bba68d
- add security fixes for CVE-2018-20843, CVE-2019-15903
bba68d
813552
* Thu Jul 25 2019 Joe Orton <jorton@redhat.com> - 2.1.0-11
813552
- add security fix for CVE-2015-2716
813552
ed72f6
* Thu Nov 24 2016 Joe Orton <jorton@redhat.com> - 2.1.0-10
ed72f6
- updated security fix for CVE-2016-0718
ed72f6
ed72f6
* Thu Nov 24 2016 Joe Orton <jorton@redhat.com> - 2.1.0-9
ed72f6
- add security fix for CVE-2016-0718
ed72f6
8d89ef
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.1.0-8
8d89ef
- Mass rebuild 2014-01-24
8d89ef
8d89ef
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.1.0-7
8d89ef
- Mass rebuild 2013-12-27
8d89ef
3690d0
* Mon Jun 17 2013 Joe Orton <jorton@redhat.com> - 2.1.0-6
3690d0
- fix "xmlwf -h" output (#948534)
3690d0
3690d0
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-5
3690d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3690d0
3690d0
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-4
3690d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3690d0
3690d0
* Fri Apr 13 2012 Joe Orton <jorton@redhat.com> - 2.1.0-3
3690d0
- add -static subpackage (#722647)
3690d0
3690d0
* Fri Mar 30 2012 Joe Orton <jorton@redhat.com> - 2.1.0-1
3690d0
- ship .pc file, move library back to libdir (#808399)
3690d0
3690d0
* Mon Mar 26 2012 Joe Orton <jorton@redhat.com> - 2.1.0-1
3690d0
- update to 2.1.0 (#806602)
3690d0
3690d0
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-12
3690d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3690d0
3690d0
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-11
3690d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3690d0
3690d0
* Mon Feb  8 2010 Joe Orton <jorton@redhat.com> - 2.0.1-10
3690d0
- revised fix for CVE-2009-3560 regression (#544996)
3690d0
3690d0
* Sun Jan 31 2010 Joe Orton <jorton@redhat.com> - 2.0.1-9
3690d0
- drop static libraries (#556046)
3690d0
- add fix for regression in CVE-2009-3560 patch (#544996)
3690d0
3690d0
* Tue Dec  1 2009 Joe Orton <jorton@redhat.com> - 2.0.1-8
3690d0
- add security fix for CVE-2009-3560 (#533174)
3690d0
- add security fix for CVE-2009-3720 (#531697)
3690d0
- run the test suite
3690d0
3690d0
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-7
3690d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3690d0
3690d0
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-6
3690d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3690d0
3690d0
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.1-5
3690d0
- Autorebuild for GCC 4.3
3690d0
3690d0
* Wed Jan 23 2008 Joe Orton <jorton@redhat.com> 2.0.1-4
3690d0
- chmod 644 even more documentation (#429806)
3690d0
3690d0
* Tue Jan  8 2008 Joe Orton <jorton@redhat.com> 2.0.1-3
3690d0
- chmod 644 the documentation (#427950)
3690d0
3690d0
* Wed Aug 22 2007 Joe Orton <jorton@redhat.com> 2.0.1-2
3690d0
- rebuild
3690d0
3690d0
* Wed Aug  8 2007 Joe Orton <jorton@redhat.com> 2.0.1-1
3690d0
- update to 2.0.1
3690d0
- fix the License tag
3690d0
- drop the .la file
3690d0
3690d0
* Sun Feb  4 2007 Joe Orton <jorton@redhat.com> 1.95.8-10
3690d0
- remove trailing dot in Summary (#225742)
3690d0
- use preferred BuildRoot per packaging guidelines (#225742)
3690d0
3690d0
* Tue Jan 30 2007 Joe Orton <jorton@redhat.com> 1.95.8-9
3690d0
- regenerate configure/libtool correctly (#199361)
3690d0
- strip DSP files from examples (#186889)
3690d0
- fix expat.h compilation with g++ -pedantic (#190244)
3690d0
3690d0
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.95.8-8.2.1
3690d0
- rebuild
3690d0
3690d0
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.95.8-8.2
3690d0
- bump again for double-long bug on ppc(64)
3690d0
3690d0
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.95.8-8.1
3690d0
- rebuilt for new gcc4.1 snapshot and glibc changes
3690d0
3690d0
* Tue Jan 31 2006 Joe Orton <jorton@redhat.com> 1.95.8-8
3690d0
- restore .la file for apr-util
3690d0
3690d0
* Mon Jan 30 2006 Joe Orton <jorton@redhat.com> 1.95.8-7
3690d0
- move library to /lib (#178743)
3690d0
- omit .la file (#170031)
3690d0
3690d0
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
3690d0
- rebuilt
3690d0
3690d0
* Tue Mar  8 2005 Joe Orton <jorton@redhat.com> 1.95.8-6
3690d0
- rebuild
3690d0
3690d0
* Thu Nov 25 2004 Ivana Varekova <varekova@redhat.com> 1.95.8
3690d0
- update to 1.95.8
3690d0
3690d0
* Wed Jun 16 2004 Jeff Johnson <jbj@jbj.org> 1.95.7-4
3690d0
- add -fPIC (#125586).
3690d0
3690d0
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
3690d0
- rebuilt
3690d0
3690d0
* Fri Jun 11 2004 Jeff Johnson <jbj@jbj.org> 1.95.7-2
3690d0
- fix: malloc failure from dbus test suite (#124747).
3690d0
3690d0
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
3690d0
- rebuilt
3690d0
3690d0
* Sun Feb 22 2004 Joe Orton <jorton@redhat.com> 1.95.7-1
3690d0
- update to 1.95.7, include COPYING file in main package
3690d0
3690d0
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
3690d0
- rebuilt
3690d0
3690d0
* Wed Sep 17 2003 Matt Wilson <msw@redhat.com> 1.95.5-6
3690d0
- rebuild again for #91211
3690d0
3690d0
* Tue Sep 16 2003 Matt Wilson <msw@redhat.com> 1.95.5-5
3690d0
- rebuild to fix gzip'ed file md5sums (#91211)
3690d0
3690d0
* Tue Jun 17 2003 Jeff Johnson <jbj@redhat.com> 1.95.5-4
3690d0
- rebuilt because of crt breakage on ppc64.
3690d0
3690d0
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
3690d0
- rebuilt
3690d0
3690d0
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
3690d0
- rebuilt
3690d0
3690d0
* Mon Nov 11 2002 Jeff Johnson <jbj@redhat.com> 1.95.5-1
3690d0
- update to 1.95.5.
3690d0
3690d0
* Mon Aug 19 2002 Trond Eivind Glomsrød <teg@redhat.com> 1,95.4-1
3690d0
- 1.95.4. 1.95.3 was withdrawn by the expat developers.
3690d0
3690d0
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
3690d0
- automated rebuild
3690d0
3690d0
* Thu Jun  6 2002 Trond Eivind Glomsrød <teg@redhat.com> 1,95.3-1
3690d0
- 1.95.3
3690d0
3690d0
* Thu May 23 2002 Tim Powers <timp@redhat.com>
3690d0
- automated rebuild
3690d0
3690d0
* Fri Mar 22 2002 Trond Eivind Glomsrød <teg@redhat.com>
3690d0
- Change a prereq in -devel on main package to a req
3690d0
- License from MIT/X11 to BSD
3690d0
3690d0
* Mon Mar 13 2002 Trond Eivind Glomsrød <teg@redhat.com>
3690d0
- 1.95.2
3690d0
3690d0
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
3690d0
- Bump release + rebuild.
3690d0
3690d0
* Tue Oct 24 2000 Jeff Johnson <jbj@redhat.com>
3690d0
- update to 1.95.1
3690d0
3690d0
* Sun Oct  8 2000 Jeff Johnson <jbj@redhat.com>
3690d0
- Create.