SPECS/xml-security-c/xml-security-c.spec
f4d17450
 Summary:	C++ XML Signature and Encryption library.
 Name:		xml-security-c
df678a1f
 Version:	1.7.3
0d7cac48
 Release:	3%{?dist}
f4d17450
 License:	Apache Software License
df678a1f
 URL:		http://santuario.apache.org/index.html
f4d17450
 Group:		Applications/System
 Vendor:		VMware, Inc.
 Distribution:	Photon
df678a1f
 Source0:	http://apache.mirrors.lucidnetworks.net/santuario/c-library/%{name}-%{version}.tar.gz
 %define sha1 xml-security-c=bcbe98e0bd3695a0b961a223cce53e2f35c4681b
0d7cac48
 Patch0:		xml-security-c-fix-for-gcc-6.3.patch
f4d17450
 Requires:	openssl
 Requires:	xerces-c
 BuildRequires:	openssl-devel
 BuildRequires: 	xerces-c-devel >= 3.1
 %description
 XML-Security-C is the C++ XML Signature and Encryption library from the Apache Software Foundation. It is used for all XML Signature and Encryption processing in OpenSAML and Shibboleth.
 %package	devel
 Summary:	XML Security C library headers
 Group:         	Development/Libraries
 Requires:       %{name} = %{version}-%{release}
 %description	devel
 This package contains development headers and static library for xml security.
 %prep
 %setup -q
0d7cac48
 %patch0 -p1
f4d17450
 %build
 ./configure --prefix=/usr
 make %{?_smp_mflags}
 %install
 make DESTDIR=%{buildroot} install
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 %files 
 %defattr(-,root,root)
 %{_bindir}/*
 %{_libdir}/*.so.*
 %files	devel
 %defattr(-,root,root)
 %{_libdir}/*.so
 %{_libdir}/*.a
 %{_includedir}/*
 %changelog
0d7cac48
 *   Mon Mar 13 2017 Alexey Makhalov <amakhalov@vmware.com> 1.7.3-3
 -   Patch for gcc-6.3
 *   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.7.3-2
 -   GA - Bump release of all rpms
 *   Wed Jan 20 2016 Anish Swaminathan <anishs@vmware.com> 1.7.3-1
 -   Upgrade version.
 *   Thu Nov 06 2014 Sharath George <sharathg@vmware.com> 1.5.1-1
 -   Initial version