Added xmlsec1 package for 2.0
Change-Id: I3f05eafee11f0440d07793775010c8fc28c77748
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5288
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
Reviewed-by: Sharath George
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,82 @@ |
| 0 |
+Summary: Library providing support for "XML Signature" and "XML Encryption" standards |
|
| 1 |
+Name: xmlsec1 |
|
| 2 |
+Version: 1.2.26 |
|
| 3 |
+Release: 1%{?dist}
|
|
| 4 |
+License: MIT |
|
| 5 |
+Group: Applications/System |
|
| 6 |
+Vendor: VMware, Inc. |
|
| 7 |
+Distribution: Photon |
|
| 8 |
+Url: http://www.aleksey.com/xmlsec/ |
|
| 9 |
+Source0: http://www.aleksey.com/xmlsec/download/%{name}-%{version}.tar.gz
|
|
| 10 |
+%define sha1 xmlsec1=d55d5be05eac1114e1d9b8655b602ce26f9f4a11 |
|
| 11 |
+BuildRequires: libxml2-devel |
|
| 12 |
+BuildRequires: libltdl-devel |
|
| 13 |
+ |
|
| 14 |
+%description |
|
| 15 |
+XML Security Library is a C library based on LibXML2 and OpenSSL. |
|
| 16 |
+The library was created with a goal to support major XML security |
|
| 17 |
+standards "XML Digital Signature" and "XML Encryption". |
|
| 18 |
+ |
|
| 19 |
+%package devel |
|
| 20 |
+Summary: Libraries, includes, etc. to develop applications with XML Digital Signatures and XML Encryption support. |
|
| 21 |
+Group: Development/Libraries |
|
| 22 |
+Requires: %{name} = %{version}-%{release}
|
|
| 23 |
+ |
|
| 24 |
+%description devel |
|
| 25 |
+Libraries, includes, etc. you can use to develop applications with XML Digital |
|
| 26 |
+Signatures and XML Encryption support. |
|
| 27 |
+ |
|
| 28 |
+%prep |
|
| 29 |
+%setup -q |
|
| 30 |
+ |
|
| 31 |
+%build |
|
| 32 |
+%configure --disable-static |
|
| 33 |
+make %{?_smp_mflags}
|
|
| 34 |
+ |
|
| 35 |
+%install |
|
| 36 |
+rm -rf %{buildroot}
|
|
| 37 |
+make DESTDIR=%{buildroot} install
|
|
| 38 |
+ |
|
| 39 |
+%check |
|
| 40 |
+make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
|
|
| 41 |
+ |
|
| 42 |
+%post -p /sbin/ldconfig |
|
| 43 |
+%postun -p /sbin/ldconfig |
|
| 44 |
+ |
|
| 45 |
+%files |
|
| 46 |
+%defattr(-, root, root) |
|
| 47 |
+ |
|
| 48 |
+%{_prefix}/lib/libxmlsec1.so.1
|
|
| 49 |
+%{_prefix}/lib/libxmlsec1.so.1.2.26
|
|
| 50 |
+%{_prefix}/lib/libxmlsec1.so
|
|
| 51 |
+%{_prefix}/lib/libxmlsec1-nss.so.1
|
|
| 52 |
+%{_prefix}/lib/libxmlsec1-nss.so.1.2.26
|
|
| 53 |
+%{_prefix}/lib/libxmlsec1-nss.so
|
|
| 54 |
+%{_prefix}/lib/libxmlsec1-openssl.so.1
|
|
| 55 |
+%{_prefix}/lib/libxmlsec1-openssl.so.1.2.26
|
|
| 56 |
+%{_prefix}/lib/libxmlsec1-openssl.so
|
|
| 57 |
+%{_prefix}/bin/xmlsec1
|
|
| 58 |
+ |
|
| 59 |
+%files devel |
|
| 60 |
+%defattr(-, root, root) |
|
| 61 |
+ |
|
| 62 |
+%{_prefix}/bin/xmlsec1-config
|
|
| 63 |
+%{_prefix}/include/xmlsec1/xmlsec/*.h
|
|
| 64 |
+%{_prefix}/include/xmlsec1/xmlsec/private/*.h
|
|
| 65 |
+%{_prefix}/include/xmlsec1/xmlsec/nss/*.h
|
|
| 66 |
+%{_prefix}/include/xmlsec1/xmlsec/openssl/*.h
|
|
| 67 |
+%{_prefix}/lib/libxmlsec1.*a
|
|
| 68 |
+%{_prefix}/lib/libxmlsec1-nss.*a
|
|
| 69 |
+%{_prefix}/lib/libxmlsec1-openssl.*a
|
|
| 70 |
+%{_prefix}/lib/pkgconfig/xmlsec1.pc
|
|
| 71 |
+%{_prefix}/lib/pkgconfig/xmlsec1-nss.pc
|
|
| 72 |
+%{_prefix}/lib/pkgconfig/xmlsec1-openssl.pc
|
|
| 73 |
+%{_prefix}/lib/xmlsec1Conf.sh
|
|
| 74 |
+%{_prefix}/share/doc/xmlsec1/*
|
|
| 75 |
+%{_prefix}/share/aclocal/xmlsec1.m4
|
|
| 76 |
+%{_prefix}/share/man/man1/xmlsec1.1.gz
|
|
| 77 |
+%{_prefix}/share/man/man1/xmlsec1-config.1.gz
|
|
| 78 |
+ |
|
| 79 |
+%changelog |
|
| 80 |
+* Thu Jun 22 2018 Ankit Jain <ankitja@vmware.com> 1.2.26-1 |
|
| 81 |
+- Initial version |