[constant-pool-scanner] Initial import

Michal Srb msrb at fedoraproject.org
Tue Sep 3 13:03:32 UTC 2013


commit b177fb529f2d4735ff9c0fb682fbca4009752f4f
Author: Michal Srb <msrb at redhat.com>
Date:   Tue Sep 3 15:02:56 2013 +0200

    Initial import

 .gitignore                 |    2 +
 constant-pool-scanner.spec |   52 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    2 +
 3 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bd0ca6d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/constant-pool-scanner-1.2.tar.gz
+/LICENSE.txt
diff --git a/constant-pool-scanner.spec b/constant-pool-scanner.spec
new file mode 100644
index 0000000..d794618
--- /dev/null
+++ b/constant-pool-scanner.spec
@@ -0,0 +1,52 @@
+Name:           constant-pool-scanner
+Version:        1.2
+Release:        1%{?dist}
+Summary:        Java constant pool scanner
+
+License:        CDDL or GPLv2 with exceptions
+URL:            https://github.com/jenkinsci/constant-pool-scanner
+Source0:        https://github.com/jenkinsci/%{name}/archive/%{name}-%{version}.tar.gz
+Source1:        https://svn.java.net/svn/glassfish~svn/tags/legal-1.1/src/main/resources/META-INF/LICENSE.txt
+
+BuildRequires:  maven-local
+BuildRequires:  mvn(junit:junit)
+BuildRequires:  mvn(net.sourceforge.findbugs:annotations)
+BuildRequires:  mvn(org.apache.commons:commons-io)
+BuildRequires:  mvn(org.sonatype.oss:oss-parent)
+
+BuildArch:      noarch
+
+%description
+Simple utility to scan Java bytecode for class references in the constant pool.
+
+%package        javadoc
+Summary:        Javadoc for %{name}
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+
+%prep
+%setup -q -n %{name}-%{name}-%{version}
+
+cp %{SOURCE1} .
+
+%pom_remove_dep com.github.stephenc.findbugs:findbugs-annotations
+%pom_add_dep net.sourceforge.findbugs:annotations
+
+%build
+%mvn_build
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%dir %{_javadir}/%{name}
+%doc LICENSE.txt
+%files javadoc -f .mfiles-javadoc
+%doc LICENSE.txt
+
+%changelog
+* Mon Sep 02 2013 Michal Srb <msrb at redhat.com> - 1.2-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..05f6952 100644
--- a/sources
+++ b/sources
@@ -0,0 +1,2 @@
+dd0a1e22987fbe1fdcd803a56212eca8  constant-pool-scanner-1.2.tar.gz
+750f58ec5aa643312ec92473fe229fe5  LICENSE.txt


More information about the scm-commits mailing list