blob: e4a80cfe1a587d41c92b753a7f2eb12a9cece791 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
%define keepstatic 1
Name: xmlsec1
Version: 1.2.19
Release: 0
License: MIT
Summary: Library providing support for "XML Signature" and "XML Encryption" standards
Url: http://www.aleksey.com/xmlsec/index.html
Group: System/Libraries
Source0: http://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz
Source1001: xmlsec1.manifest
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.27
BuildRequires: pkgconfig(libxslt)
BuildRequires: pkgconfig(openssl)
%description
This C library allows to transform XML files into other XML files
(or HTML, text, ...) using the standard XSLT stylesheet transformation
mechanism. To use it you need to have a version of libxml2 >= 2.6.27
installed. The xsltproc command is a command line interface to the XSLT engine
%package gcrypt
Summary: Gcrypt crypto plugin for XML Security Library
Group: System/Libraries
Requires: %{name} = %{version}
%description gcrypt
Gcrypt plugin for XML Security Library provides gcrypt based crypto services
for the xmlsec library.
%package openssl
Summary: OpenSSL crypto plugin for XML Security Library
Group: System/Libraries
Requires: %{name} = %{version}
%description openssl
OpenSSL plugin for XML Security Library provides OpenSSL based crypto services
for the xmlsec library.
%package devel
Summary: Libraries, includes, etc
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
This C library allows to transform XML files into other XML files
(or HTML, text, ...) using the standard XSLT stylesheet transformation
mechanism. To use it you need to have a version of libxml2 >= 2.6.27
installed.
%package devel-static
Summary: A library for Perl-compatible regular expressions
Group: System/Libraries
Requires: %{name}-devel = %{version}
%description devel-static
This C library allows to transform XML files into other XML files
(or HTML, text, ...) using the standard XSLT stylesheet transformation
mechanism. To use it you need to have a version of libxml2 >= 2.6.27
installed.
This package contains static versions of the libxmlsec1 library.
%prep
%setup -q
cp %{SOURCE1001} .
%build
%reconfigure \
--enable-static \
--enable-dynamic \
--disable-crypto-dl \
--disable-apps-crypto-dl \
--without-gnutls
%__make %{?_smp_mflags}
%install
%make_install
%remove_docs
%fdupes %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post gcrypt -p /sbin/ldconfig
%postun gcrypt -p /sbin/ldconfig
%post openssl -p /sbin/ldconfig
%postun openssl -p /sbin/ldconfig
%files
%manifest %{name}.manifest
%license COPYING
%doc Copyright
%{_libdir}/libxmlsec1.so.*
%{_bindir}/xmlsec1
%files gcrypt
%manifest %{name}.manifest
%{_libdir}/libxmlsec1-gcrypt.so.*
%files openssl
%manifest %{name}.manifest
%{_libdir}/libxmlsec1-openssl.so.*
%files devel
%manifest %{name}.manifest
%doc Copyright
%{_includedir}/xmlsec1
%{_bindir}/xmlsec1-config
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*
%{_libdir}/xmlsec1Conf.sh
%{_datadir}/aclocal/xmlsec1.m4
%files devel-static
%manifest %{name}.manifest
%{_libdir}/*.a
|