From 8d912b603cf4b91a2a175f75be7ac9f5622082d5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 29 2019 17:08:14 +0000 Subject: import apache-commons-logging-1.1.2-7.el7 --- diff --git a/.apache-commons-logging.metadata b/.apache-commons-logging.metadata new file mode 100644 index 0000000..874aa22 --- /dev/null +++ b/.apache-commons-logging.metadata @@ -0,0 +1 @@ +67e291330747cc6a8db31a51a8bb11f01039b06a SOURCES/commons-logging-1.1.2-src.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..de3705d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/commons-logging-1.1.2-src.tar.gz diff --git a/SOURCES/commons-logging-api-1.1.pom b/SOURCES/commons-logging-api-1.1.pom new file mode 100644 index 0000000..c8b5be8 --- /dev/null +++ b/SOURCES/commons-logging-api-1.1.pom @@ -0,0 +1,165 @@ + + 4.0.0 + commons-logging + commons-logging-api + Logging + 1.1 + Commons Logging is a thin adapter allowing configurable bridging to other, + well known logging systems. + http://jakarta.apache.org/commons/logging/ + + http://issues.apache.org/jira/browse/LOGGING + + + + + +
commons-dev@jakarta.apache.org
+
+
+
+
+ 2001 + + + Commons Dev List + commons-dev-subscribe@jakarta.apache.org + commons-dev-unsubscribe@jakarta.apache.org + http://mail-archives.apache.org/mod_mbox/jakarta-commons-dev/ + + + Commons User List + commons-user-subscribe@jakarta.apache.org + commons-user-unsubscribe@jakarta.apache.org + http://mail-archives.apache.org/mod_mbox/jakarta-commons-user/ + + + + + morgand + Morgan Delagrange + morgand at apache dot org + Apache + + Java Developer + + + + rwaldhoff + Rodney Waldhoff + rwaldhoff at apache org + Apache Software Foundation + + + craigmcc + Craig McClanahan + craigmcc at apache org + Apache Software Foundation + + + sanders + Scott Sanders + sanders at apache dot org + Apache Software Foundation + + + rdonkin + Robert Burrell Donkin + rdonkin at apache dot org + Apache Software Foundation + + + donaldp + Peter Donald + donaldp at apache dot org + + + + costin + Costin Manolache + costin at apache dot org + Apache Software Foundation + + + rsitze + Richard Sitze + rsitze at apache dot org + Apache Software Foundation + + + baliuka + Juozas Baliuka + baliuka@apache.org + + + Java Developer + + + + skitching + Simon Kitching + skitching@apache.org + Apache Software Foundation + + + dennisl + Dennis Lundberg + dennisl@apache.org + Apache Software Foundation + + + bstansberry + Brian Stansberry + + + + + The Apache Software License, Version 2.0 + /LICENSE.txt + + + + scm:svn:http://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk/ + http://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk/ + + + The Apache Software Foundation + http://jakarta.apache.org + + + src/java + src/test + + + maven-xdoc-plugin + 1.9.2 + + true + <strong>Site Only</strong> - v1.9.2 (minimum) + + + + + + + junit + junit + 3.8.1 + test + true + + + + + default + Default Repository + file:///www/jakarta.apache.org/builds/jakarta-commons/logging/ + + + default + Default Site + scp://people.apache.org//www/jakarta.apache.org/commons/logging/ + + converted + +
\ No newline at end of file diff --git a/SPECS/apache-commons-logging.spec b/SPECS/apache-commons-logging.spec new file mode 100644 index 0000000..49cd83b --- /dev/null +++ b/SPECS/apache-commons-logging.spec @@ -0,0 +1,229 @@ + +%global base_name logging +%global short_name commons-%{base_name} + +Name: apache-%{short_name} +Version: 1.1.2 +Release: 7%{?dist} +Summary: Apache Commons Logging +License: ASL 2.0 +Group: Development/Libraries +URL: http://commons.apache.org/%{base_name} +Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz +Source2: http://mirrors.ibiblio.org/pub/mirrors/maven2/%{short_name}/%{short_name}-api/1.1/%{short_name}-api-1.1.pom + +BuildArch: noarch +BuildRequires: maven-local +BuildRequires: java-devel >= 1:1.6.0 +BuildRequires: jpackage-utils >= 0:1.6 +BuildRequires: avalon-framework >= 4.3 +BuildRequires: avalon-logkit +BuildRequires: apache-commons-parent >= 26-7 +BuildRequires: maven-dependency-plugin +BuildRequires: maven-failsafe-plugin +BuildRequires: maven-plugin-build-helper +BuildRequires: maven-release-plugin +BuildRequires: maven-site-plugin +BuildRequires: maven-resources-plugin +BuildRequires: servlet + +# This should go away with F-17 +Provides: jakarta-%{short_name} = 0:%{version}-%{release} +Obsoletes: jakarta-%{short_name} <= 0:1.0.4 + +%description +The commons-logging package provides a simple, component oriented +interface (org.apache.commons.logging.Log) together with wrappers for +logging systems. The user can choose at runtime which system they want +to use. In addition, a small number of basic implementations are +provided to allow users to use the package standalone. +commons-logging was heavily influenced by Avalon's Logkit and Log4J. The +commons-logging abstraction is meant to minimize the differences between +the two, and to allow a developer to not tie himself to a particular +logging implementation. + +%package javadoc +Summary: API documentation for %{name} +Group: Documentation + +Obsoletes: jakarta-%{short_name}-javadoc <= 0:1.0.4 + +%description javadoc +%{summary}. + +# ----------------------------------------------------------------------------- + +%prep +%setup -q -n %{short_name}-%{version}-src + +# SecurityAllowedTestCase fails, probably due to environmental hazard +# See: rhbz#1056462, https://issues.apache.org/jira/browse/LOGGING-156 +find -name SecurityAllowedTestCase.java -delete + +# Sent upstream https://issues.apache.org/jira/browse/LOGGING-143 +%pom_remove_dep :avalon-framework +%pom_add_dep avalon-framework:avalon-framework-api:4.3 +%pom_add_dep avalon-framework:avalon-framework-impl:4.3:test + +%pom_remove_plugin :cobertura-maven-plugin +%pom_remove_plugin :maven-scm-publish-plugin + +# Upstream is changing Maven groupID and OSGi Bundle-SymbolicName back +# and forth, even between minor releases (such as 1.1.1 and 1.1.2). +# In case of Maven we can provide an alias, so that's not a big +# problem. But there is no alias mechanism for OSGi bundle names. +# +# I'll use Bundle-SymbolicName equal to "org.apache.commons.logging" +# because that's what upstream decided to use in future and because +# that's what most of Eclipse plugin are already using. See also +# rhbz#949842 and LOGGING-151. mizdebsk, 9 Apr 2013 +%pom_xpath_set pom:commons.osgi.symbolicName org.apache.commons.logging + +sed -i 's/\r//' RELEASE-NOTES.txt LICENSE.txt NOTICE.txt + +%mvn_file ":%{short_name}{*}" "%{short_name}@1" "%{name}@1" +%mvn_alias ":%{short_name}{*}" "org.apache.commons:%{short_name}@1" + +%build +%mvn_build + +# ----------------------------------------------------------------------------- + +%install +%mvn_install + +install -p -m 644 target/%{short_name}-api-%{version}.jar %{buildroot}/%{_javadir}/%{name}-api.jar +install -p -m 644 target/%{short_name}-adapters-%{version}.jar %{buildroot}/%{_javadir}/%{name}-adapters.jar + +pushd %{buildroot}/%{_javadir} +for jar in %{name}-*; do + ln -sf ${jar} `echo ${jar}| sed "s|apache-||g"` +done +popd + +install -pm 644 %{SOURCE2} %{buildroot}/%{_mavenpomdir}/JPP-%{short_name}-api.pom + +%add_maven_depmap JPP-%{short_name}-api.pom %{short_name}-api.jar -a "org.apache.commons:commons-logging-api" + +%files -f .mfiles +%doc LICENSE.txt NOTICE.txt +%doc PROPOSAL.html RELEASE-NOTES.txt +%{_javadir}/*%{short_name}-api.jar +%{_javadir}/*%{short_name}-adapters.jar + +%files javadoc -f .mfiles-javadoc +%doc LICENSE.txt NOTICE.txt + +# ----------------------------------------------------------------------------- + +%changelog +* Mon Jan 27 2014 Mikolaj Izdebski - 1.1.2-7 +- Remove unit test as a workaround for upstream bug LOGGING-156 +- Resolves: rhbz#1056462 + +* Fri Dec 27 2013 Daniel Mach - 1.1.2-6 +- Mass rebuild 2013-12-27 + +* Fri Sep 20 2013 Mikolaj Izdebski - 1.1.2-5 +- Add BuildRequires on apache-commons-parent >= 26-7 + +* Tue Aug 27 2013 Michal Srb - 1.1.2-4 +- Migrate away from mvn-rpmbuild (Resolves: #997523) + +* Fri Jun 28 2013 Mikolaj Izdebski - 1.1.2-3 +- Rebuild to regenerate API documentation +- Resolves: CVE-2013-1571 + +* Tue Apr 9 2013 Mikolaj Izdebski - 1.1.2-2 +- Set OSGi Bundle-SymbolicName to org.apache.commons.logging +- Resolves: rhbz#949842 + +* Mon Apr 8 2013 Mikolaj Izdebski - 1.1.2-1 +- Update to upstream version 1.1.2 +- Convert POM to POM macros +- Remove OSGi manifest patch; fixed upstream + +* Wed Feb 13 2013 Fedora Release Engineering - 1.1.1-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.1.1-22 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Thu Nov 22 2012 Mikolaj Izdebski - 1.1.1-21 +- Install NOTICE file +- Resolves: rhbz#879581 + +* Wed Jul 18 2012 Fedora Release Engineering - 1.1.1-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue May 1 2012 Alexander Kurtakov 1.1.1-19 +- Bring back jakarta-commons-logging provides/obsoletes - the comment was misleading. + +* Mon Apr 30 2012 Alexander Kurtakov 1.1.1-18 +- Fix build with latest libs. +- Adapt to current guidelines. + +* Thu Jan 12 2012 Fedora Release Engineering - 1.1.1-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Apr 21 2011 Stanislav Ochotnicky - 1.1.1-16 +- Build with maven 3 +- Fix build for avalon-framework + +* Mon Feb 07 2011 Fedora Release Engineering - 1.1.1-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 16 2010 Alexander Kurtakov 1.1.1-14 +- Bring back commons-logging* symlinks. + +* Thu Dec 16 2010 Stanislav Ochotnicky - 1.1.1-13 +- Replace tomcat6 BR with servlet25 only +- Cleanups according to new packaging guidelines +- Install maven metadata for -api jar +- Versionless jars/javadocs + +* Tue Nov 9 2010 Stanislav Ochotnicky - 1.1.1-12 +- Add depmaps for api and adapters subpackages +- Use apache-commons-parent BR instead of maven-* +- Replace tomcat5 BR with tomcat6 +- Reenable tests + +* Thu Jul 8 2010 Stanislav Ochotnicky - 1.1.1-11 +- Add license to javadoc subpackage + +* Wed Jun 9 2010 Alexander Kurtakov 1.1.1-10 +- Add osgi manifest entries. + +* Fri May 21 2010 Stanislav Ochotnicky - 1.1.1-9 +- Correct depmap filename for backward compatibility + +* Mon May 17 2010 Stanislav Ochotnicky - 1.1.1-8 +- Fix wrong depmap JPP name to short_name +- Add obsoletes to javadoc subpackage + +* Wed May 12 2010 Stanislav Ochotnicky - 1.1.1-7 +- Fix symlink problems introduced previously in r5 + +* Tue May 11 2010 Stanislav Ochotnicky - 1.1.1-6 +- Add one more add_to_maven_depmap for backward compatibility + +* Mon May 10 2010 Stanislav Ochotnicky - 1.1.1-5 +- Fix up add_to_maven_depmap +- Add jpackage-utils Requires for javadoc +- Cleanup install a bit + +* Fri May 7 2010 Stanislav Ochotnicky - 1.1.1-4 +- Fix provides + +* Thu May 6 2010 Stanislav Ochotnicky - 1.1.1-3 +- Revert to using default permissions +- Drop "Package" from summary, improve javadoc summary text + +* Thu May 6 2010 Stanislav Ochotnicky - 1.1.1-2 +- Fix EOLs on docs +- Create javadoc symlinks during install +- Use version macro in Source0 URL, use _mavenpomdir macro + +* Thu May 6 2010 Stanislav Ochotnicky - 1.1.1-1 +- Rename and rebase from jakarta-commons-logging