Browse code

xmlsec1: new package

Added xmlsec1 package for dev branch

Change-Id: I2ca4edf1b6e172288db1201296c7ba07af6692d4
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5316
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>

Ankit Jain authored on 2018/07/02 22:47:11
Showing 1 changed files
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
+*   Mon Jul 02 2018 Ankit Jain <ankitja@vmware.com> 1.2.26-1
81
+-   Initial version