Name: avalon-framework
Epoch: 0
Version: 4.3
Release: 18%{?dist}
Summary: Java components interfaces
License: ASL 2.0
URL: http://avalon.apache.org/
BuildArch: noarch
Source0: http://archive.apache.org/dist/excalibur/avalon-framework/source/%{name}-api-%{version}-src.tar.gz
Source1: http://archive.apache.org/dist/excalibur/avalon-framework/source/%{name}-impl-%{version}-src.tar.gz
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)
%description
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
Summary: API documentation %{name}
%description javadoc
%{summary}.
%prep
%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 "bundle" *${mod}*/project.xml
%pom_xpath_inject pom:build "
org.apache.felix
maven-bundle-plugin
true
avalon-framework-${mod}-4.3
<_nouses>true
" *${mod}*/project.xml
done
%build
# Test use old jmock
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%license avalon-framework-api-4.3/LICENSE.txt
%license avalon-framework-api-4.3/NOTICE.txt
%files javadoc -f .mfiles-javadoc
%license avalon-framework-api-4.3/LICENSE.txt
%license avalon-framework-api-4.3/NOTICE.txt
%changelog
* Wed Jul 26 2017 Fedora Release Engineering - 0:4.3-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering - 0:4.3-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Jun 14 2016 Mikolaj Izdebski - 0:4.3-16
- Cleanup package
- Build with Maven
* Wed Feb 03 2016 Fedora Release Engineering - 0:4.3-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jul 16 2015 Michael Simacek - 0:4.3-14
- Build against aqute-bnd-2.4.1
* Tue Jul 14 2015 Mikolaj Izdebski - 0:4.3-13
- Add build-requires on javapackages-local
* Wed Jun 17 2015 Fedora Release Engineering - 0:4.3-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering - 0:4.3-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed May 21 2014 Mikolaj Izdebski - 0:4.3-10
- Use .mfiles generated during build
* Sat Aug 03 2013 Fedora Release Engineering - 0:4.3-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Feb 13 2013 Fedora Release Engineering - 0:4.3-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Jul 18 2012 Fedora Release Engineering - 0:4.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Wed Jun 06 2012 Tomas Radej - 0:4.3-6
- Fixed xerces dep
* Fri Apr 6 2012 Alexander Kurtakov 0:4.3-5
- Remove unneeded BR/R.
* Thu Jan 12 2012 Fedora Release Engineering - 0:4.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Oct 18 2011 Stanislav Ochotnicky - 0:4.3-3
- aqute-bndlib renamed to aqute-bnd (#745163)
- Use new maven macros
- Packaging tweaks
* Tue May 3 2011 Severin Gehwolf 0:4.3-3
- Convert jar's to OSGi bundles using aqute-bndlib.
* Tue May 3 2011 Stanislav Ochotnicky - 0:4.3-2
- Add compatibility depmap for org.apache.avalon.framework groupId
* Wed Apr 20 2011 Stanislav Ochotnicky - 0:4.3-1
- Latest version
- Split into two jars, provide backward compatible symlink
- Cleanups according to new guidelines
* Mon Feb 07 2011 Fedora Release Engineering - 0:4.1.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Dec 29 2010 Alexander Kurtakov 0:4.1.4-7
- Drop gcj.
- Use global.
- No versioned jars.
- Fix permissions.
* Fri Jul 24 2009 Fedora Release Engineering - 0:4.1.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon Feb 23 2009 Fedora Release Engineering - 0:4.1.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Jul 9 2008 Tom "spot" Callaway - 0:4.1.4-4
- drop repotag
- fix license tag
* Tue Feb 19 2008 Fedora Release Engineering - 0:4.1.4-3jpp.14
- Autorebuild for GCC 4.3
* Thu Mar 08 2007 Permaine Cheung - 0:4.1.4-2jpp.14
- rpmlint cleanup.
* Thu Aug 10 2006 Matt Wringe - 0:4.1.4-2jpp.13
- Add missing javadoc requires
* Sat Jul 22 2006 Jakub Jelinek - 0:4.1.4-2jpp_12fc
- Rebuilt
* Wed Jul 19 2006 Matt Wringe - 0:4.1.4-2jpp_11fc
- Removed separate definition of name, version and release.
* Wed Jul 19 2006 Matt Wringe - 0:4.1.4-2jpp_10fc
- Added conditional native compling.
* Thu Jun 8 2006 Deepak Bhole - 0:4.1.4-2jpp_9fc
- Updated description for fix to Bug# 170999
* Mon Mar 6 2006 Jeremy Katz - 0:4.1.4-2jpp_8fc
- stop scriptlet spew
* Wed Dec 21 2005 Gary Benson 0:4.1.4-2jpp_7fc
- Rebuild again
* Thu Dec 15 2005 Gary Benson 0:4.1.4-2jpp_6fc
- Rebuild for new gcj.
* Thu Nov 4 2004 Gary Benson 0:4.1.4-2jpp_5fc
- Build into Fedora.
* Thu Oct 28 2004 Gary Benson 0:4.1.4-2jpp_4fc
- Bootstrap into Fedora.
* Thu Sep 30 2004 Andrew Overholt 0:4.1.4-2jpp_3rh
- Remove avalon-logkit as a Requires
* Mon Mar 8 2004 Frank Ch. Eigler 0:4.1.4-2jpp_2rh
- RH vacuuming part II
* Fri Mar 5 2004 Frank Ch. Eigler 0:4.1.4-2jpp_1rh
- RH vacuuming
* Fri May 09 2003 David Walluck 0:4.1.4-2jpp
- update for JPackage 1.5
* Fri Mar 21 2003 Nicolas Mailhot 4.1.4-1jpp
- For jpackage-utils 1.5
- Forrest is not used right now
* Tue May 07 2002 Guillaume Rousse 4.1.2-3jpp
- hardcoded distribution and vendor tag
- group tag again
* Thu May 2 2002 Guillaume Rousse 4.1.2-2jpp
- distribution tag
- group tag
* Sun Feb 03 2002 Guillaume Rousse 4.1.2-1jpp
- 4.1.2
- section macro
* Thu Jan 17 2002 Guillaume Rousse 4.1-2jpp
- versioned dir for javadoc
- no dependencies for manual and javadoc packages
- requires xml-commons-apis
* Wed Dec 12 2001 Guillaume Rousse 4.1-1jpp
- 4.1
- Requires and BuildRequires xalan-j2
* Wed Dec 5 2001 Guillaume Rousse 4.0-4jpp
- javadoc into javadoc package
* Wed Nov 21 2001 Christian Zoffoli 4.0-3jpp
- changed extension --> jpp
* Sat Oct 6 2001 Guillaume Rousse 4.0-2jpp
- first unified release
- used original tarball
* Thu Sep 13 2001 Guillaume Rousse 4.0-1mdk
- first Mandrake release