[apache-log4j-extras] Initial import (#1059384)
rrati
rrati at fedoraproject.org
Wed Jan 29 20:41:03 UTC 2014
commit fe67a15acbdf9899af9d80f65f1e4882ab518285
Author: Robert Rati <rrati at redhat.com>
Date: Wed Jan 29 15:41:19 2014 -0500
Initial import (#1059384)
.gitignore | 1 +
apache-log4j-extras.spec | 82 ++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 84 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1638a0a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/apache-log4j-extras-1.2.17.1-e5dc3b0.tar.gz
diff --git a/apache-log4j-extras.spec b/apache-log4j-extras.spec
new file mode 100644
index 0000000..0ef7f0c
--- /dev/null
+++ b/apache-log4j-extras.spec
@@ -0,0 +1,82 @@
+%global commit e5dc3b04eeb9c7107f5a2b80c2b0f43434722cfd
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Name: apache-log4j-extras
+Version: 1.2.17.1
+Release: 1%{?dist}
+Summary: Apache Extras Companion for Apache log4j
+
+Group: Development/Libraries
+License: ASL 2.0
+URL: http://logging.apache.org/log4j/extras
+Source0: https://github.com/apache/log4j-extras/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
+BuildArch: noarch
+BuildRequires: ant
+BuildRequires: ant-contrib
+BuildRequires: ant-junit
+BuildRequires: apache-rat-plugin
+BuildRequires: hsqldb
+BuildRequires: java-devel
+BuildRequires: jpackage-utils
+BuildRequires: maven-antrun-plugin
+BuildRequires: maven-changes-plugin
+BuildRequires: maven-compiler-plugin
+BuildRequires: maven-install-plugin
+BuildRequires: maven-jar-plugin
+BuildRequires: maven-javadoc-plugin
+BuildRequires: maven-local
+BuildRequires: maven-plugin-jxr
+BuildRequires: maven-release-plugin
+BuildRequires: maven-resources-plugin
+BuildRequires: maven-site-plugin
+BuildRequires: maven-skins
+BuildRequires: maven-surefire-plugin
+
+Requires: java
+
+%description
+Apache Extras Companion for Apache log4j is a collection of appenders,
+filters, layouts, and receivers for Apache log4j 1.2
+
+%package javadoc
+Summary: Javadoc for %{name}
+Group: Documentation
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+
+%prep
+%setup -qn log4j-extras-%{commit}
+find -name '*.class' -exec rm -f '{}' \;
+find -name '*.jar' -exec rm -f '{}' \;
+
+%pom_xpath_set "pom:project/pom:dependencies/pom:dependency[pom:groupId='hsqldb']/pom:groupId" org.hsqldb
+
+%build
+# Tests disabled because of failures
+%mvn_build -- -DskipTests
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc LICENSE NOTICE
+%dir %{_javadir}/%{name}
+
+%files javadoc -f .mfiles-javadoc
+%doc LICENSE NOTICE
+
+%changelog
+* Wed Jan 29 2014 Robert Rati <rrati at redhat> - 1.2.17.1-1
+- Update to upstream 1.2.17.1
+- Use new %mvn_* macros
+
+* Sat Dec 24 2011 David Nalley <david at gnsa.us> - 1.1-3
+- switching from ant to maven because ant doesn't have a javadoc target
+
+* Thu Oct 20 2011 David Nalley <david at gnsa.us> - 1.1-2
+- removing forbidden unicode trademark symbols
+
+* Thu Oct 20 2011 David Nalley <david at gnsa.us> - 1.1-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..f87da02 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bad13d69f9cd10d338115f2e529157d7 apache-log4j-extras-1.2.17.1-e5dc3b0.tar.gz
More information about the scm-commits
mailing list