summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-10-26 10:13:29 +0000
committerCoprDistGit <infra@openeuler.org>2024-10-26 10:13:29 +0000
commit6190013a4c087f777a8ed1fae7034b4e58420b57 (patch)
treec5b851a346f32e759e61011de9ce5b61a32717a8
parent724d42b46eeb6f9b10a32c2548e09ca10781c26f (diff)
automatic import of xmlsec1openeuler24.03_LTS
-rw-r--r--.gitignore1
-rw-r--r--sources1
-rw-r--r--xmlsec1.spec129
3 files changed, 131 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..8b71228 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/xmlsec1-1.3.6.tar.gz
diff --git a/sources b/sources
new file mode 100644
index 0000000..df02e5e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f56d7fb32e3ec84305d2c1ffd6c2f466 xmlsec1-1.3.6.tar.gz
diff --git a/xmlsec1.spec b/xmlsec1.spec
new file mode 100644
index 0000000..dd52cd7
--- /dev/null
+++ b/xmlsec1.spec
@@ -0,0 +1,129 @@
+Name: xmlsec1
+Version: 1.3.6
+Release: 1
+Summary: Library providing support for "XML Signature" and "XML Encryption" standards
+License: MIT
+URL: https://www.aleksey.com/xmlsec
+Source0: https://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz
+
+BuildRequires: gcc make
+BuildRequires: pkgconfig(gnutls) >= 3.6.13
+BuildRequires: pkgconfig(libgcrypt) >= 1.4.0
+BuildRequires: pkgconfig(libxml-2.0) >= 2.8.0
+BuildRequires: pkgconfig(libxslt) >= 1.0.20
+BuildRequires: pkgconfig(nspr) >= 4.18.0
+BuildRequires: pkgconfig(nss) >= 3.35
+BuildRequires: pkgconfig(openssl) >= 1.1.1
+BuildRequires: libtool-ltdl-devel
+# autoreconf stuff
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: libtool
+
+Provides: xmlsec1-openssl = %{version}-%{release}
+Provides: xmlsec1-gcrypt = %{version}-%{release}
+Provides: xmlsec1-gnutls = %{version}-%{release}
+Provides: xmlsec1-nss = %{version}-%{release}
+Obsoletes: xmlsec1-openssl < %{version}-%{release}
+Obsoletes: xmlsec1-gcrypt < %{version}-%{release}
+Obsoletes: xmlsec1-gnutls < %{version}-%{release}
+Obsoletes: xmlsec1-nss < %{version}-%{release}
+
+%description
+XML Security Library is a C library based on LibXML2 and OpenSSL.
+The library was created with a goal to support major XML security
+standards "XML Digital Signature" and "XML Encryption".
+
+%package devel
+Summary: Libraries, includes, etc. to develop applications with XML Digital Signatures and XML Encryption support.
+Requires: %{name} = %{version}-%{release}
+Provides: xmlsec1-openssl-devel = %{version}-%{release}
+Provides: xmlsec1-gcrypt-devel = %{version}-%{release}
+Provides: xmlsec1-gnutls-devel = %{version}-%{release}
+Provides: xmlsec1-nss-devel = %{version}-%{release}
+Obsoletes: xmlsec1-openssl-devel < %{version}-%{release}
+Obsoletes: xmlsec1-gcrypt-devel < %{version}-%{release}
+Obsoletes: xmlsec1-gnutls-devel < %{version}-%{release}
+Obsoletes: xmlsec1-nss-devel < %{version}-%{release}
+
+%description devel
+This package contains the libraries and develop content for the xmlsec library.
+
+%package_help
+
+%prep
+%autosetup -p1
+
+%build
+autoreconf -vfi
+%configure --disable-static --enable-openssl3-engines
+%disable_rpath
+%make_build V=1
+
+sed 's+/lib64+/$archlib+g' < xmlsec1-config | sed 's+/lib+/$archlib+g' | sed 's+ -DXMLSEC_NO_SIZE_T++' > \
+xmlsec1-config.$$ && mv xmlsec1-config.$$ xmlsec1-config
+
+%install
+%make_install
+%delete_la
+
+rm -rf __tmp_doc
+install -d __tmp_doc
+mv %{buildroot}%{_docdir}/xmlsec1/* __tmp_doc
+
+%files
+%license COPYING
+%doc AUTHORS ChangeLog NEWS README.md
+%{_bindir}/xmlsec1
+%{_libdir}/libxmlsec1.so.*
+%{_libdir}/libxmlsec1-gcrypt.so*
+%{_libdir}/libxmlsec1-gnutls.so*
+%{_libdir}/libxmlsec1-nss.so*
+%{_libdir}/libxmlsec1-openssl.so*
+
+%files devel
+%doc HACKING __tmp_doc/*
+%{_bindir}/xmlsec1-config
+%{_includedir}/xmlsec1
+%{_libdir}/xmlsec1Conf.sh
+%{_libdir}/libxmlsec1.so
+%{_libdir}/pkgconfig/xmlsec1*.pc
+%{_datadir}/aclocal/xmlsec1.m4
+
+%files help
+%{_mandir}/man1/*.1*
+
+%changelog
+* Fri Oct 25 2024 Funda Wang <fundawang@yeah.net> - 1.3.6-1
+- update to 1.3.6
+
+* Sun Aug 04 2024 Funda Wang <fundawang@yeah.net> - 1.2.41-1
+- update to 1.2.41
+
+* Wed Jul 12 2023 dillon chen <dillon.chen@gmail.com> - 1.2.38-1
+- update version to 1.2.38
+
+* Tue Feb 07 2023 wangjunqi <wangjunqi@kylinos.cn> - 1.2.37-1
+- update to 1.2.37
+
+* Tue Sep 27 2022 dillon chen <dillon.chen@gmail.com> - 1.2.34-1
+- update to 1.2.34
+
+* Tue Dec 28 2021 panxiaohe <panxiaohe@huawei.com> - 1.2.33-1
+- Update to version 1.2.33
+
+* Thu Jul 08 2021 weidong <weidong@uniontech.com> - 1.2.31-2
+- Move .so from devel to main package
+
+* Tue Jan 26 2021 fuanan <fuanan3@huawei.com> - 1.2.31-1
+- Update to version 1.2.31
+
+* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.29-1
+- Update to 1.2.29
+
+* Mon Dec 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.2.25-7
+- Fix xmlSecParseMemory() memory leak
+
+* Thu Sep 19 2019 dongjian <dongjian13@huawei.com> - 1.2.25-6
+- Package init