Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37851072
en ru br
Репозитории ALT
S:3.2.1-alt2
5.1: 1.1b-alt1_2jpp5
4.1: 1.1b-alt1_1jpp1.7
4.0: 1.1b-alt1_1jpp1.7
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: opensaml

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define soname 12
%define pkgdocdir %_docdir/%name-%version

Name: opensaml
Version: 3.2.1
Release: alt2

Summary: Security Assertion Markup Language library

License: Apache-2.0
Group: System/Libraries
Url: https://wiki.shibboleth.net/confluence/display/OpenSAML/

Source: https://shibboleth.net/downloads/c++-opensaml/%version/%name-%version.tar.bz2

BuildRequires: gcc-c++ doxygen boost-devel-headers liblog4shib-devel libxerces-c-devel >= 3.2 libxml-security-c-devel libxmltooling-devel

%description
OpenSAML is an open source implementation of the OASIS Security Assertion
Markup Language Specification. It contains a set of open source C++ classes
that support the SAML 1.0, 1.1, and 2.0 specifications.

%package -n opensaml-utils
Summary: Utilities for OpenSAML library
Group: Development/Tools

%description -n opensaml-utils
OpenSAML is an open source implementation of the OASIS Security Assertion
Markup Language Specification. It contains a set of open source C++ classes
that support the SAML 1.0, 1.1, and 2.0 specifications.

This package contains the utility programs.

%package -n libsaml%soname
Summary: Security Assertion Markup Language library
Group: System/Libraries

%description -n libsaml%soname
OpenSAML is an open source implementation of the OASIS Security Assertion
Markup Language Specification. It contains a set of open source C++ classes
that support the SAML 1.0, 1.1, and 2.0 specifications.

This package contains just the shared library.

%package -n libsaml-devel
Summary: OpenSAML development Headers
Group: Development/C++

%description -n libsaml-devel
OpenSAML is an open source implementation of the OASIS Security Assertion
Markup Language Specification. It contains a set of open source C++ classes
that support the SAML 1.0, 1.1, and 2.0 specifications.

This package includes files needed for development with OpenSAML.

%package -n opensaml-schemas
Summary: OpenSAML schemas and catalog
Group: Development/C++
BuildArch: noarch

%description -n opensaml-schemas
OpenSAML is an open source implementation of the OASIS Security Assertion
Markup Language Specification. It contains a set of open source C++ classes
that support the SAML 1.0, 1.1, and 2.0 specifications.

This package includes XML schemas and related files.

%prep
%setup
%ifarch %e2k
# lcc's cpp adds an extra space breaking this regex
sed -r -i 's,\^boost(.)lib(.)version,boost\1lib\2version,' configure m4/boost.m4
%endif

%build
# The default C++ standard used in GCC-11 is C++17,
# which does not support opensaml codebase.
CXXFLAGS="-std=c++11 %optflags"
export CXXFLAGS
%autoreconf
%configure
%make_build

%install
%makeinstall_std pkgdocdir=%pkgdocdir
# Don't package unit tester if present.
rm -f %buildroot/%_bindir/samltest
rm -f %buildroot/%_libdir/libsaml.la

%files -n opensaml-utils
%_bindir/samlsign

%files -n libsaml%soname
%_libdir/libsaml.so.%{soname}*

%files -n opensaml-schemas
%dir %_datadir/xml/opensaml
%_datadir/xml/opensaml/*

%files -n libsaml-devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/opensaml.pc
%doc %pkgdocdir

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin