Summary: An XML parser library Name: expat Version: 2.1.0 Release: 2%{?dist} License: MIT URL: http://expat.sourceforge.net/ Group: System Environment/GeneralLibraries Vendor: VMware, Inc. Distribution: Photon Source0: http://downloads.sourceforge.net/%{name}-%{version}.tar.gz %define sha1 expat=b08197d146930a5543a7b99e871cba3da614f6f0 %description The Expat package contains a stream oriented C library for parsing XML. %prep %setup -q %build ./configure \ CFLAGS="%{optflags}" \ CXXFLAGS="%{optflags}" \ --prefix=%{_prefix} \ --bindir=%{_bindir} \ --libdir=%{_libdir} \ --disable-static make %{?_smp_mflags} %install [ %{buildroot} != "/"] && rm -rf %{buildroot}/* make DESTDIR=%{buildroot} install find %{buildroot}/%{_libdir} -name '*.la' -delete %{_fixperms} %{buildroot}/* %check make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf %{buildroot}/* %files %defattr(-,root,root) %{_bindir}/* %{_libdir}/*.so* %{_libdir}/pkgconfig/* %{_includedir}/* %{_mandir}/man1/* %changelog * Tue May 24 2016 Priyesh Padmavilasom 2.1.0-2 - GA - Bump release of all rpms * Wed Nov 5 2014 Divya Thaluru 2.1.0-1 - Initial build. First version