Репозитории ALT
5.1: | 1.5.3-alt2_1jpp5 |
4.1: | 1.5.0-alt1_3jpp1.7 |
4.0: | 1.5.0-alt1_3jpp1.7 |
Группа :: Разработка/Java
Пакет: wss4j
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
BuildRequires: bouncycastle-jdk1.4
BuildRequires: /proc
BuildRequires: jpackage-1.4-compat
# Copyright (c) 2000-2007, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the
# distribution.
# 3. Neither the name of the JPackage Project nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# To make the tarball:
# svn export http://svn.apache.org/repos/asf/webservices/wss4j/tags/1_5_0/ wss4j
Name: wss4j
Summary: Implementation of the OASIS Web Services Security
Version: 1.5.0
Release: alt1_3jpp1.7
Epoch: 0
URL: http://ws.apache.org/wss4j/
License: Apache License v2.0
Group: Development/Java
Source0: %{name}-%{version}.tgz
#BuildRequires: junit >= 3.8
BuildRequires: maven-plugins >= 1.0.2
BuildRequires: maven-plugins-base >= 1.0.2
BuildRequires: maven-plugin-license >= 1.0.2
BuildRequires: maven-plugin-test >= 1.0.2
BuildRequires: maven-plugin-xdoc >= 1.0.2
BuildRequires: axis >= 1.2.1
# We didn't ship BC as it contains the proprietary IDEA algorithm
BuildRequires: bouncycastle-provider >= 1.37
BuildRequires: jakarta-commons-codec >= 1.3
BuildRequires: jakarta-commons-discovery >= 0.2
BuildRequires: jakarta-commons-httpclient >= 2.0.2
BuildRequires: jakarta-commons-logging >= 1.0.4
BuildRequires: log4j >= 1.2.8
BuildRequires: ws-commons-policy
BuildRequires: ws-commons-neethi
BuildRequires: opensaml >= 1.1b
BuildRequires: ws-fx-addressing >= 1.0
BuildRequires: wsdl4j >= 1.5.1
BuildRequires: xalan-j2 >= 2.6.0
BuildRequires: xerces-j2 >= 2.6.2
BuildRequires: xml-commons-apis >= 0:1.3.02
BuildRequires: xml-security >= 1.2.1
Requires: axis >= 1.2.1
Requires: bouncycastle-provider >= 1.37
Requires: jakarta-commons-codec >= 1.3
Requires: jakarta-commons-discovery >= 0.2
Requires: jakarta-commons-httpclient >= 2.0.2
Requires: jakarta-commons-logging >= 1.0.4
Requires: log4j >= 1.2.8
Requires: ws-commons-policy
Requires: ws-commons-neethi
Requires: opensaml >= 1.1b
Requires: ws-fx-addressing >= 1.0
Requires: wsdl4j >= 1.5.1
Requires: xalan-j2 >= 2.6.0
Requires: xerces-j2 >= 2.6.2
Requires: xml-commons-apis >= 0:1.3.02
Requires: xml-security >= 1.2.1
BuildArch: noarch
%description
Apache WSS4J is an implementation of the OASIS Web Services Security
(WS-Security) from OASIS Web Services Security TC. WSS4J is a
primarily a Java library that can be used to sign and verify SOAP
Messages with WS-Security information. WSS4J will use Apache Axis and
Apache XML-Security projects and will be interoperable with JAX-RPC
based server/clients and .NET server/clients.
%package javadoc
Group: Development/Documentation
Summary: Javadoc for %{name}
%description javadoc
Javadoc for %{name}.
%prep
%setup -q -n %{name}
rm -f endorsed/*
find lib -name "*.jar" | xargs rm -f
build-jar-repository endorsed \
xerces-j2 \
xml-commons-apis
# Was formerly removed from the listbelow
# bouncycastle/bcprov
# bouncycastle-jdk1.4/bcprov \
build-jar-repository lib \
axis/axis \
axis/axis-ant \
axis/jaxrpc \
axis/saaj \
\
jaf \
jakarta-commons-codec \
jakarta-commons-discovery \
jakarta-commons-httpclient \
jakarta-commons-logging \
javamail \
junit \
log4j \
opensaml \
ws-commons-policy \
ws-fx-addressing \
wsdl4j \
xalan-j2 \
xml-security
pushd lib
ln -s /usr/share/java-ext/bouncycastle-jdk1.4/bcprov.jar .
popd
mkdir -p target/work/org/apache/ws/axis/oasis/ping
cp interop/org/apache/ws/axis/oasis/Client_deploy.wsdd \
target/work/org/apache/ws/axis/oasis/Client_deploy.wsdd
cp interop/org/apache/ws/axis/oasis/ping/deploy.wsdd \
target/work/org/apache/ws/axis/oasis/ping/deploy.wsdd
rm test/sandbox/PackageTests.java
%build
export MAVEN_HOME_LOCAL=$(pwd)/.maven
#FIXME: There is 1 error during tests.. ignoring for now
maven \
-Dmaven.repo.remote=file:/usr/share/maven/repository \
jar:jar javadoc:generate
# -Dmaven.test.failure.ignore=true \
%install
# main package
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
install -m 644 target/%{name}-1.5.jar \
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
ln -s wss4j-%{version}.jar \
$RPM_BUILD_ROOT%{_javadir}/%{name}.jar
# javadoc
install -d -m 755 $RPM_BUILD_ROOT/%{_javadocdir}/%{name}-%{version}
cp -pr target/docs/apidocs/* \
$RPM_BUILD_ROOT/%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT/%{_javadocdir}/%{name}
%post javadoc
rm -f %{_javadocdir}/%{name}
ln -s %{name}-%{version} %{_javadocdir}/%{name}
%postun javadoc
if [ "$1" = "0" ]; then
rm -f %{_javadocdir}/%{name}
fi
%files
%dir %{_javadir}
%{_javadir}/wss4j-%{version}.jar
%{_javadir}/wss4j.jar
%files javadoc
%{_javadocdir}/%{name}-%{version}
%ghost %doc %{_javadocdir}/%{name}
%changelog
…
Полный changelog можно просмотреть здесь
BuildRequires: /proc
BuildRequires: jpackage-1.4-compat
# Copyright (c) 2000-2007, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the
# distribution.
# 3. Neither the name of the JPackage Project nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# To make the tarball:
# svn export http://svn.apache.org/repos/asf/webservices/wss4j/tags/1_5_0/ wss4j
Name: wss4j
Summary: Implementation of the OASIS Web Services Security
Version: 1.5.0
Release: alt1_3jpp1.7
Epoch: 0
URL: http://ws.apache.org/wss4j/
License: Apache License v2.0
Group: Development/Java
Source0: %{name}-%{version}.tgz
#BuildRequires: junit >= 3.8
BuildRequires: maven-plugins >= 1.0.2
BuildRequires: maven-plugins-base >= 1.0.2
BuildRequires: maven-plugin-license >= 1.0.2
BuildRequires: maven-plugin-test >= 1.0.2
BuildRequires: maven-plugin-xdoc >= 1.0.2
BuildRequires: axis >= 1.2.1
# We didn't ship BC as it contains the proprietary IDEA algorithm
BuildRequires: bouncycastle-provider >= 1.37
BuildRequires: jakarta-commons-codec >= 1.3
BuildRequires: jakarta-commons-discovery >= 0.2
BuildRequires: jakarta-commons-httpclient >= 2.0.2
BuildRequires: jakarta-commons-logging >= 1.0.4
BuildRequires: log4j >= 1.2.8
BuildRequires: ws-commons-policy
BuildRequires: ws-commons-neethi
BuildRequires: opensaml >= 1.1b
BuildRequires: ws-fx-addressing >= 1.0
BuildRequires: wsdl4j >= 1.5.1
BuildRequires: xalan-j2 >= 2.6.0
BuildRequires: xerces-j2 >= 2.6.2
BuildRequires: xml-commons-apis >= 0:1.3.02
BuildRequires: xml-security >= 1.2.1
Requires: axis >= 1.2.1
Requires: bouncycastle-provider >= 1.37
Requires: jakarta-commons-codec >= 1.3
Requires: jakarta-commons-discovery >= 0.2
Requires: jakarta-commons-httpclient >= 2.0.2
Requires: jakarta-commons-logging >= 1.0.4
Requires: log4j >= 1.2.8
Requires: ws-commons-policy
Requires: ws-commons-neethi
Requires: opensaml >= 1.1b
Requires: ws-fx-addressing >= 1.0
Requires: wsdl4j >= 1.5.1
Requires: xalan-j2 >= 2.6.0
Requires: xerces-j2 >= 2.6.2
Requires: xml-commons-apis >= 0:1.3.02
Requires: xml-security >= 1.2.1
BuildArch: noarch
%description
Apache WSS4J is an implementation of the OASIS Web Services Security
(WS-Security) from OASIS Web Services Security TC. WSS4J is a
primarily a Java library that can be used to sign and verify SOAP
Messages with WS-Security information. WSS4J will use Apache Axis and
Apache XML-Security projects and will be interoperable with JAX-RPC
based server/clients and .NET server/clients.
%package javadoc
Group: Development/Documentation
Summary: Javadoc for %{name}
%description javadoc
Javadoc for %{name}.
%prep
%setup -q -n %{name}
rm -f endorsed/*
find lib -name "*.jar" | xargs rm -f
build-jar-repository endorsed \
xerces-j2 \
xml-commons-apis
# Was formerly removed from the listbelow
# bouncycastle/bcprov
# bouncycastle-jdk1.4/bcprov \
build-jar-repository lib \
axis/axis \
axis/axis-ant \
axis/jaxrpc \
axis/saaj \
\
jaf \
jakarta-commons-codec \
jakarta-commons-discovery \
jakarta-commons-httpclient \
jakarta-commons-logging \
javamail \
junit \
log4j \
opensaml \
ws-commons-policy \
ws-fx-addressing \
wsdl4j \
xalan-j2 \
xml-security
pushd lib
ln -s /usr/share/java-ext/bouncycastle-jdk1.4/bcprov.jar .
popd
mkdir -p target/work/org/apache/ws/axis/oasis/ping
cp interop/org/apache/ws/axis/oasis/Client_deploy.wsdd \
target/work/org/apache/ws/axis/oasis/Client_deploy.wsdd
cp interop/org/apache/ws/axis/oasis/ping/deploy.wsdd \
target/work/org/apache/ws/axis/oasis/ping/deploy.wsdd
rm test/sandbox/PackageTests.java
%build
export MAVEN_HOME_LOCAL=$(pwd)/.maven
#FIXME: There is 1 error during tests.. ignoring for now
maven \
-Dmaven.repo.remote=file:/usr/share/maven/repository \
jar:jar javadoc:generate
# -Dmaven.test.failure.ignore=true \
%install
# main package
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
install -m 644 target/%{name}-1.5.jar \
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
ln -s wss4j-%{version}.jar \
$RPM_BUILD_ROOT%{_javadir}/%{name}.jar
# javadoc
install -d -m 755 $RPM_BUILD_ROOT/%{_javadocdir}/%{name}-%{version}
cp -pr target/docs/apidocs/* \
$RPM_BUILD_ROOT/%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT/%{_javadocdir}/%{name}
%post javadoc
rm -f %{_javadocdir}/%{name}
ln -s %{name}-%{version} %{_javadocdir}/%{name}
%postun javadoc
if [ "$1" = "0" ]; then
rm -f %{_javadocdir}/%{name}
fi
%files
%dir %{_javadir}
%{_javadir}/wss4j-%{version}.jar
%{_javadir}/wss4j.jar
%files javadoc
%{_javadocdir}/%{name}-%{version}
%ghost %doc %{_javadocdir}/%{name}
%changelog
…
Полный changelog можно просмотреть здесь