From d2622cc406e16ab24e72d28dd5c8008f15ba36f6 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 03:23:37 +0000 Subject: auto-import changelog data from avalon-framework-4.1.4-2jpp.src.rpm 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 02 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 05 2001 Guillaume Rousse 4.0-4jpp - javadoc into javadoc package Wed Nov 21 2001 Christian Zoffoli 4.0-3jpp - changed extension --> jpp Sat Oct 06 2001 Guillaume Rousse 4.0-2jpp - first unified release - used original tarball Thu Sep 13 2001 Guillaume Rousse 4.0-1mdk - first Mandrake release --- diff --git a/.cvsignore b/.cvsignore index e69de29..5f0bee8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Avalon-4.1.4-src.tar.gz diff --git a/avalon-framework.spec b/avalon-framework.spec new file mode 100644 index 0000000..ccc7d79 --- /dev/null +++ b/avalon-framework.spec @@ -0,0 +1,138 @@ +%define short_name framework +%define short_Name Avalon +%define name avalon-%{short_name} +%define version 4.1.4 +%define release 2jpp +%define section free + +Name: %{name} +Version: %{version} +Release: %{release} +Epoch: 0 +Summary: Java components interfaces +License: Apache Software License +Url: http://avalon.apache.org/%{short_name}/ +Group: Development/Libraries/Application Frameworks +Vendor: JPackage Project +Distribution: JPackage +Source0: http://www.apache.org/dist/avalon/framework/v4.1.4/Avalon-4.1.4-src.tar.gz +Requires: avalon-logkit +Requires: xml-commons-apis +Requires: xalan-j2 +BuildRequires: ant +BuildRequires: junit +BuildRequires: avalon-logkit +BuildRequires: xml-commons-apis +BuildRequires: jpackage-utils >= 0:1.5 +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot + +%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. This documentation introduces you to those +patterns, interfaces and relationships. + +%package manual +Summary: Manual for %{name} +Group: Development/Libraries/Application Frameworks + +%description manual +Documentation for %{name}. + +%package javadoc +Summary: Javadoc for %{name} +Group: Development/Documentation + +%description javadoc +Javadoc for %{name}. + +%prep +rm -rf $RPM_BUILD_ROOT +%setup -n %{short_Name}-%{version} +# remove all binary libs +find . -name "*.jar" -exec rm -f {} \; + +%build +export CLASSPATH=%(build-classpath avalon-logkit junit log4j junit) +ant all +ant javadocs + +%install +install -d -m 755 $RPM_BUILD_ROOT%{_javadir} +install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} +install -m 644 target/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar +cp -pr target/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} +# create unversioned symlinks +(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/}; done) + +%clean +rm -rf $RPM_BUILD_ROOT + +%post javadoc +rm -f %{_javadocdir}/%{name} +ln -s %{name}-%{version} %{_javadocdir}/%{name} + +%postun javadoc +if [ "$1" = "0" ]; then + rm -f %{_javadocdir}/%{name} +fi + +%files +%defattr(0644,root,root,0755) +%doc KEYS LICENSE.txt README.txt +%{_javadir}/*.jar + +%files manual +%defattr(0644,root,root,0755) +%doc docs/* + +%files javadoc +%defattr(0644,root,root,0755) +%{_javadocdir}/%{name}-%{version} + +%changelog +* 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 diff --git a/sources b/sources index e69de29..e59ede5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2bcef3a218b6ee81acc4dc87af65d8df Avalon-4.1.4-src.tar.gz