diff --git a/.cvsignore b/.cvsignore index b5359c0..b3ff5b4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -logging-log4j-1.2.13-RHCLEAN.tar.gz +logging-log4j-1.2.14.tar.gz diff --git a/log4j-chainsaw.desktop b/log4j-chainsaw.desktop index d1315f8..3376a81 100644 --- a/log4j-chainsaw.desktop +++ b/log4j-chainsaw.desktop @@ -6,4 +6,4 @@ Icon=chainsaw.png Terminal=false Type=Application Encoding=UTF-8 -Categories=Application;Development;Monitor;X-JPackage; +Categories=GNOME;Application;Development;X-JPackage; diff --git a/log4j-logfactor5.desktop b/log4j-logfactor5.desktop index 594d4c3..df6bad9 100644 --- a/log4j-logfactor5.desktop +++ b/log4j-logfactor5.desktop @@ -6,4 +6,4 @@ Icon=logfactor5.png Terminal=false Type=Application Encoding=UTF-8 -Categories=Application;Development;Monitor;X-JPackage; +Categories=GNOME;Application;Development;X-JPackage; diff --git a/log4j-mx4j-tools.patch b/log4j-mx4j-tools.patch new file mode 100644 index 0000000..3e9795b --- /dev/null +++ b/log4j-mx4j-tools.patch @@ -0,0 +1,11 @@ +--- build.xml.sav2 2007-04-18 15:15:09.000000000 +0200 ++++ build.xml 2007-04-18 15:15:38.000000000 +0200 +@@ -139,7 +139,7 @@ + + +- ++ + + + diff --git a/log4j.spec b/log4j.spec index 84393e0..316c62a 100644 --- a/log4j.spec +++ b/log4j.spec @@ -1,4 +1,4 @@ -# Copyright (c) 2000-2005, JPackage Project +# Copyright (c) 2000-2007, JPackage Project # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -31,18 +31,18 @@ %define _with_gcj_support 1 %define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}} +%define bootstrap %{?_with_bootstrap:1}%{!?_with_bootstrap:%{?_without_bootstrap:0}%{!?_without_bootstrap:%{?_bootstrap:%{_bootstrap}}%{!?_bootstrap:0}}} %define section free Name: log4j -Version: 1.2.13 -Release: 3jpp.2 +Version: 1.2.14 +Release: 3jpp.1{?dist} Epoch: 0 Summary: Java logging package -License: Apache Software License -URL: http://logging.apache.org/log4j/ -#Source0: http://www.apache.org/dist/logging/log4j/1.2.13/logging-log4j-1.2.13.tar.gz -Source0: logging-log4j-1.2.13-RHCLEAN.tar.gz +License: Apache Software License 2 +URL: http://logging.apache.org/log4j +Source0: http://www.apache.org/dist/logging/log4j/1.2.14/logging-log4j-1.2.14.tar.gz # Converted from src/java/org/apache/log4j/lf5/viewer/images/lf5_small_icon.gif Source1: %{name}-logfactor5.png Source2: %{name}-logfactor5.sh @@ -54,8 +54,11 @@ Source6: %{name}-chainsaw.desktop Source7: %{name}.catalog Patch0: %{name}-logfactor5-userdir.patch Patch1: %{name}-javadoc-xlink.patch +Patch2: %{name}-mx4j-tools.patch +Patch3: %{name}-jmx-Agent.patch BuildRequires: jpackage-utils >= 0:1.6 BuildRequires: ant +%if ! %{bootstrap} #Use classpathx-jaf for now #BuildRequires: geronimo-jaf-1.0.2-api BuildRequires: classpathx-jaf @@ -64,6 +67,7 @@ BuildRequires: classpathx-mail #BuildRequires: geronimo-jms-1.1-api BuildRequires: jms BuildRequires: mx4j +%endif BuildRequires: jndi BuildRequires: java-javadoc BuildRequires: %{__perl} @@ -107,8 +111,10 @@ Javadoc for %{name}. %setup -q -n logging-%{name}-%{version} %patch0 -b .sav %patch1 -b .sav - -%{__perl} -pi -e 's/\r//g' LICENSE.txt +%patch2 -b .sav2 +%patch3 -b .sav +%{__perl} -pi -e 's/\r//g' LICENSE +%{__perl} -pi -e 's/\r//g' NOTICE # remove all the stuff we'll build ourselves find . \( -name "*.jar" -o -name "*.class" \) -exec %__rm -f {} \; @@ -116,7 +122,6 @@ find . \( -name "*.jar" -o -name "*.class" \) -exec %__rm -f {} \; %build -#export CLASSPATH=$(build-classpath jaf javamail/mailapi jms mx4j/mx4j) # javac.source=1.1 doesn't work with Sun's 1.4.2_09/1.5.0_05 %ant \ -Djavamail.jar=$(build-classpath javamail/mailapi) \ @@ -244,7 +249,8 @@ fi %files %defattr(-,root,root,-) -%doc LICENSE.txt +%doc LICENSE +%doc NOTICE %{_bindir}/* %{_javadir}/* %{_datadir}/applications/* @@ -252,7 +258,7 @@ fi %{_datadir}/sgml/%{name} %if %{gcj_support} -%attr(-,root,root) %{_libdir}/gcj/%{name}/log4j-1.2.13.jar.* +%attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-%{version}.jar.* %endif %files manual @@ -267,6 +273,26 @@ fi %changelog +* Sat May 26 2007 Vivek Lakshmanan 0:1.2.14-3jpp.1 +- Upgrade to 1.2.14 +- Modify the categories for the .desktop files so they are only + displayed under the development/programming menus +- Resolves: bug 241447 + +* Fri May 11 2007 Jason Corley 0:1.2.14-3jpp +- rebuild through mock and centos 4 +- replace vendor and distribution with macros + +* Fri Apr 20 2007 Ralph Apel - 0:1.2.14-2jpp +- Patch to allow build of org.apache.log4j.jmx.* with mx4j +- Restore Vendor: and Distribution: + +* Sat Feb 17 2007 Fernando Nasser - 0:1.2.14-1jpp +- Upgrade + +* Mon Feb 12 2007 Ralph Apel - 0:1.2.13-4jpp +- Add bootstrap option to build core + * Wed Aug 09 2006 Vivek Lakshmanan - 0:1.2.13-3jpp.2 - Remove patch for BZ #157585 because it doesnt seem to be needed anymore. diff --git a/sources b/sources index 58dc135..1fc05cc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0bd096035bc7ccbb9a055eef8b0755ab logging-log4j-1.2.13-RHCLEAN.tar.gz +7d8d02888b93e6f8d67b8e5f746196ae logging-log4j-1.2.14.tar.gz