Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-updates-src > by-pkgid > 5251ad8eaa5b5b6b29c11bb4567bf611 > files > 2

expat-2.2.7-1.mga6.src.rpm

%define major	1
%define libname	%mklibname expat %{major}
%define devname	%mklibname -d expat

Summary:	XML parser written in C
Name:		expat
Version:	2.2.7
Release:	%mkrel 1
License:	MIT
Group:		Text tools
URL:		http://www.libexpat.org
Source0:	http://prdownloads.sourceforge.net/expat/expat-%{version}.tar.bz2
BuildRequires: docbook2x

%description
Expat is an XML 1.0 parser written in C by James Clark.  It aims to be
fully conforming. It is currently not a validating XML parser.

%package -n %{libname}
Summary:	Main library for expat
Group:		Development/C

%description -n %{libname}
This package contains the library needed to run programs dynamically
linked with expat.

%package -n %{devname}
Summary:	Development environment for the expat XML parser
Group:		Development/C
Requires:       %{libname} = %{version}-%{release}
Provides:	lib%{name}-devel = %{version}-%{release}
Provides:	%{name}-devel = %{version}-%{release}
Obsoletes:	%{_lib}expat1-devel < 2.1.0-5

%description -n %{devname}
Development environment for the expat XML parser.

%prep
%setup -q
%autopatch -p1

%build
#rm -rf autom4te*.cache
#rm conftools/libtool.m4
#libtoolize --copy --force --automake; aclocal; autoheader; autoconf
#export CFLAGS="%{optflags} -fPIC"

%configure2_5x \
	--disable-static
%make_build

%check
make check

%install
%make_install

#we don't want these
find %{buildroot} -name "*.la" -delete

%files
%{_bindir}/xmlwf
%{_mandir}/man*/*

%files -n %{libname}
%{_libdir}/libexpat.so.%{major}{,.*}

%files -n %{devname}
%doc doc/reference.html
%{_datadir}/doc/expat/AUTHORS
%{_datadir}/doc/expat/changelog
%{_libdir}/libexpat.so
%{_includedir}/expat.h
%{_includedir}/expat_config.h
%{_includedir}/expat_external.h
%{_libdir}/pkgconfig/expat.pc


%changelog
* Mon Aug 12 2019 shlomif <shlomif> 2.2.7-1.mga6
+ Revision: 1429030
- New version 2.2.7 - security fix for MGA#25019

* Sun Jun 18 2017 shlomif <shlomif> 2.2.1-1.mga6
+ Revision: 1107875
- New version 2.2.1 with many fixes (incl security).

* Tue Jul 26 2016 luigiwalser <luigiwalser> 2.2.0-2.mga6
+ Revision: 1043703
- add upstream patch to fix regression caused by CVE-2016-0718 fix

* Wed Jun 22 2016 luigiwalser <luigiwalser> 2.2.0-1.mga6
+ Revision: 1037203
- 2.2.0

* Wed Jun 08 2016 luigiwalser <luigiwalser> 2.1.1-3.mga6
+ Revision: 1020921
- add patch from debian to fix CVE-2012-6702 and CVE-2016-5300

* Thu May 19 2016 luigiwalser <luigiwalser> 2.1.1-2.mga6
+ Revision: 1016825
- add patch from debian to correct CVE-2015-1283 fix
- add patch from debian to fix CVE-2016-0718

* Fri Apr 15 2016 shlomif <shlomif> 2.1.1-1.mga6
+ Revision: 1002687
- New version 2.1.1

* Thu Feb 11 2016 umeabot <umeabot> 2.1.0-12.mga6
+ Revision: 953876
- Mageia 6 Mass Rebuild

* Fri Aug 21 2015 tmb <tmb> 2.1.0-11.mga6
+ Revision: 867571
- rebuild for new gcc

* Sun Jul 26 2015 cjw <cjw> 2.1.0-10.mga6
+ Revision: 857906
- patch1: use patch from mozilla to fix CVE-2015-1283

* Wed Oct 15 2014 umeabot <umeabot> 2.1.0-9.mga5
+ Revision: 738878
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 2.1.0-8.mga5
+ Revision: 679065
- Mageia 5 Mass Rebuild

* Sat Oct 19 2013 umeabot <umeabot> 2.1.0-7.mga4
+ Revision: 528978
- Mageia 4 Mass Rebuild

* Sun Jun 30 2013 wally <wally> 2.1.0-6.mga4
+ Revision: 448458
- add patch from Fedora to fix 'xmlwf -h' output (rhbz#948534)

* Sun Jun 30 2013 wally <wally> 2.1.0-5.mga4
+ Revision: 448454
- fix devel pkg name
- fix license
- disable static build
- clean old obsoletes/provides
- clean .spec a bit

* Fri Jan 11 2013 umeabot <umeabot> 2.1.0-4.mga3
+ Revision: 349870
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Fri Oct 26 2012 malo <malo> 2.1.0-3.mga3
+ Revision: 310511
- fix RPM group

* Sat Oct 20 2012 malo <malo> 2.1.0-2.mga3
+ Revision: 308541
- update RPM group

* Thu Mar 29 2012 guillomovitch <guillomovitch> 2.1.0-1.mga2
+ Revision: 227472
- new version

* Sat Jan 08 2011 blino <blino> 2.0.1-14.mga1
+ Revision: 724
- remove old ldconfig scripts
- imported package expat