Name: avalon-logkit
Epoch: 0
Version: 2.1
Release: 33%{?dist}
Summary: Java logging toolkit
License: ASL 2.0
URL: http://avalon.apache.org/
BuildArch: noarch
Source0: http://archive.apache.org/dist/excalibur/%{name}/source/%{name}-%{version}-src.zip
Patch0001: 0001-Port-build-script-to-Maven-3.patch
Patch0002: 0002-Port-to-Java-7.patch
Patch0003: 0003-Fix-encoding.patch
BuildRequires: maven-local
BuildRequires: mvn(javax.mail:mail)
BuildRequires: mvn(javax.servlet:servlet-api)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(log4j:log4j)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.geronimo.specs:geronimo-jms_1.1_spec)
Provides: deprecated()
%description
LogKit is a logging toolkit designed for secure performance orientated
logging in applications. To get started using LogKit, it is recomended
that you read the whitepaper and browse the API docs.
%package javadoc
Summary: Javadoc for %{name}
Provides: deprecated()
%description javadoc
Javadoc for %{name}.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
mv project.xml pom.xml
# LogFactor5 is no longer distributed with log4j
%pom_remove_dep log4j:log4j
rm -rf src/java/org/apache/log/output/lf5
%mvn_file : %{name}
%mvn_alias : logkit:logkit
# Add proper Apache Felix Bundle Plugin instructions
# so that we get a reasonable OSGi manifest.
%pom_xpath_inject pom:project "bundle"
%pom_xpath_inject pom:build "
org.apache.felix
maven-bundle-plugin
true
avalon-logkit-2.1
<_nouses>true
"
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%license LICENSE.txt NOTICE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt NOTICE.txt
%changelog
* Wed Jul 24 2019 Fedora Release Engineering - 0:2.1-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering - 0:2.1-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 21 2019 Mikolaj Izdebski - 0:2.1-31
- Mark package as deprecated
* Thu Jul 12 2018 Fedora Release Engineering - 0:2.1-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering - 0:2.1-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering - 0:2.1-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering - 0:2.1-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Jun 14 2016 Mikolaj Izdebski - 0:2.1-26
- Add alias for logkit:logkit
* Tue Jun 14 2016 Mikolaj Izdebski - 0:2.1-25
- Cleanup package
- Build with Maven
* Wed Feb 03 2016 Fedora Release Engineering - 0:2.1-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Oct 16 2015 Mikolaj Izdebski - 0:2.1-23
- Require geronimo-jms instead of jms
* Thu Jul 16 2015 Michael Simacek - 0:2.1-22
- Build against aqute-bnd-2.4.1
* Tue Jul 14 2015 Mikolaj Izdebski - 0:2.1-21
- Add build-requires on javapackages-local
* Wed Jun 17 2015 Fedora Release Engineering - 0:2.1-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri May 29 2015 Alexander Kurtakov 0:2.1-19
- Compile and depend on glassfish-servlet-api instead of tomcat.
* Wed Mar 4 2015 Alexander Kurtakov 0:2.1-18
- Bump to servlet 3.1.
* Sat Jun 07 2014 Fedora Release Engineering - 0:2.1-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed May 21 2014 Mikolaj Izdebski - 0:2.1-16
- Use .mfiles generated during build
* Tue May 13 2014 Michael Simacek - 0:2.1-15
- Disable LogFactor5 which is no longer available
* Mon Mar 17 2014 Mikolaj Izdebski - 0:2.1-14
- Add missing requires on javamail
* Sat Aug 03 2013 Fedora Release Engineering - 0:2.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Feb 13 2013 Fedora Release Engineering - 0:2.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Tue Aug 21 2012 Stanislav Ochotnicky - 0:2.1-11
- Change build-classpath call from macro to shell expansion
* Thu Aug 16 2012 Mikolaj Izdebski - 0:2.1-10
- Fix license tag
- Install NOTICE file
* Wed Jul 18 2012 Fedora Release Engineering - 0:2.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Wed Apr 18 2012 Alexander Kurtakov 0:2.1-8
- Another Java 7 fix.
- BR/R servlet 3.0 api.
* Thu Jan 12 2012 Fedora Release Engineering - 0:2.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Oct 18 2011 Stanislav Ochotnicky - 0:2.1-6
- aqute-bndlib renamed to aqute-bnd (#745166)
- Fix compilation with openjdk 1.7.0
- Use new maven macros
- Packaging tweaks
* Fri May 6 2011 Stanislav Ochotnicky - 0:2.1-5
- Fix up depdenencies in pom
* Tue May 3 2011 Severin Gehwolf 0:2.1-4
- Convert jar's to OSGi bundles using aqute-bndlib.
* Thu Apr 21 2011 Stanislav Ochotnicky - 0:2.1-3
- Add maven metadata into package
- Tweaks according to new guidelines
* Mon Feb 07 2011 Fedora Release Engineering - 0:2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Nov 9 2010 Alexander Kurtakov 0:2.1-2
- Add missing ant-junit BR.
* Tue Nov 9 2010 Alexander Kurtakov 0:2.1-1
- Update to 2.1 (rhbz#599622).
* Tue Nov 9 2010 Stanislav Ochotnicky - 0:1.2-9
- Fix build to use tomcat6
- Cleanups, various packaging problems fixed
* Fri Jul 24 2009 Fedora Release Engineering - 0:1.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon Feb 23 2009 Fedora Release Engineering - 0:1.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Jul 9 2008 Tom "spot" Callaway - 0:1.2-6
- drop repotag
- fix license tag
* Tue Feb 19 2008 Fedora Release Engineering - 0:1.2-5jpp.5
- Autorebuild for GCC 4.3
* Fri Feb 09 2007 Permaine Cheung 0:1.2-4jpp.5%{?dist}
- Fix source URL, BuildRoot
* Thu Feb 08 2007 Permaine Cheung 0:1.2-4jpp.4%{?dist}
- rpmlint cleanup.
* Thu Aug 03 2006 Deepak Bhole 0:1.2-4jpp.3
- Added missing requirements.
* Sat Jul 22 2006 Jakub Jelinek - 0:1.2-4jpp_2fc
- Rebuilt
* Wed Jul 19 2006 Deepak Bhole 0:1.2-4jpp_1fc
- Added conditional native compilation.
- Removed name/release/version defines as applicable.
* Fri Aug 20 2004 Ralph Apel 0:1.2-3jpp
- Build with ant-1.6.2
* Fri May 09 2003 David Walluck 0:1.2-2jpp
- update for JPackage 1.5
* Fri Mar 21 2003 Nicolas Mailhot 1.2-1jpp
- For jpackage-utils 1.5
* Tue May 07 2002 Guillaume Rousse 1.0.1-4jpp
- hardcoded distribution and vendor tag
- group tag again
* Thu May 2 2002 Guillaume Rousse 1.0.1-3jpp
- distribution tag
- group tag
* Mon Mar 18 2002 Guillaume Rousse 1.0.1-2jpp
- generic servlet support
* Sun Feb 03 2002 Guillaume Rousse 1.0.1-1jpp
- 1.0.1
- versioned dir for javadoc
- no dependencies for and javadoc package
- adaptation for new servlet3 package
- drop j2ee package
- regenerated the patch
- section package
* Wed Dec 5 2001 Guillaume Rousse 1.0-4jpp
- javadoc into javadoc package
- Requires and BuildRequires servletapi3 >= 3.2.3-2
- regenerated the patch
* Wed Nov 21 2001 Christian Zoffoli 1.0-3jpp
- changed extension --> jpp
* Tue Nov 20 2001 Guillaume Rousse 1.0-2jpp
- non-free extension classes back in original archive
- removed packager tag
* Sun Oct 28 2001 Guillaume Rousse 1.0-1jpp
- 1.0
* Tue Oct 9 2001 Guillaume Rousse 1.0-0.b5.2jpp
- non-free extension as additional package
* Sat Oct 6 2001 Guillaume Rousse 1.0-0.b5.1jpp
- 1.0b5
- first unified release
- used original tarball
* Mon Sep 10 2001 Guillaume Rousse 1.0-0.b4.1mdk
- first Mandrake release