Sisyphus repository
Last update: 23 november 2020 | SRPMs: 17744 | Visits: 19679589
en ru br
ALT Linux repos
5.0: 4.1.5-alt1_2jpp5

Group :: Development/Other
RPM: avalon-framework

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Group: Development/Other
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-1.8-compat
# see
%define _localstatedir %{_var}
Name:           avalon-framework
Epoch:          0
Version:        4.3
Release:        alt4_24jpp8
Summary:        Java components interfaces
License:        ASL 2.0
BuildArch:     noarch


Patch0001:      0001-Port-build-script-to-Maven-3.patch

BuildRequires:  maven-local
BuildRequires:  mvn(avalon-logkit:avalon-logkit)
BuildRequires:  mvn(commons-logging:commons-logging)
BuildRequires:  mvn(log4j:log4j)
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)

Provides:       deprecated()

The Avalon framework consists of interfaces that define relationships
between commonly used application components, best-of-practice pattern
enforcements, and several lightweight convenience implementations of the
generic components.
What that means is that we define the central interface Component. We
also define the relationship (contract) a component has with peers,
ancestors and children.

%package javadoc
Group: Development/Java
Summary:        API documentation %{name}
Provides:       deprecated()
BuildArch: noarch

%description javadoc

%setup -qcT
tar xvf %{SOURCE0}
tar xvf %{SOURCE1}
%patch0001 -p1

%mvn_package :aggregator __noinstall
%mvn_file ":*api*" %{name}-api
%mvn_file ":*impl*" %{name}-impl %{name}

# Add proper Apache Felix Bundle Plugin instructions

# so that we get a reasonable OSGi manifest.
for mod in api impl; do
   %pom_xpath_inject pom:project "<packaging>bundle</packaging>" *${mod}*/project.xml
   %pom_xpath_inject pom:build "
     </plugins>" *${mod}*/project.xml

%mvn_alias 'avalon-framework:{*}' 'org.apache.avalon.framework: at 1'

# Test use old jmock
%mvn_build -f


%files -f .mfiles
%doc --no-dereference avalon-framework-api-4.3/LICENSE.txt
%doc --no-dereference avalon-framework-api-4.3/NOTICE.txt

%files javadoc -f .mfiles-javadoc
%doc --no-dereference avalon-framework-api-4.3/LICENSE.txt
%doc --no-dereference avalon-framework-api-4.3/NOTICE.txt


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin