commit
f740dc5eee
BIN
bcel-20140707svn1547656.tgz
Normal file
BIN
bcel-20140707svn1547656.tgz
Normal file
Binary file not shown.
152
bcel-findbugs-6.0.pom
Normal file
152
bcel-findbugs-6.0.pom
Normal file
@ -0,0 +1,152 @@
|
||||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.google.code.findbugs</groupId>
|
||||
<artifactId>bcel-findbugs</artifactId>
|
||||
<version>6.0</version>
|
||||
<packaging>jar</packaging>
|
||||
<url>http://findbugs.sourceforge.net/</url>
|
||||
<name>FindBugs-bcel</name>
|
||||
<description>Modified BCEL for Findbugs</description>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The Apache Software License, Version 2.0</name>
|
||||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:http://code.google.com/p/findbugs/</connection>
|
||||
<developerConnection>scm:git:https://code.google.com/p/findbugs/</developerConnection>
|
||||
<url>https://code.google.com/p/findbugs/</url>
|
||||
</scm>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<id>bp</id>
|
||||
<name>Bill Pugh</name>
|
||||
<email>pugh at cs.umd.edu</email>
|
||||
<url>http://www.cs.umd.edu/~pugh/</url>
|
||||
<roles>
|
||||
<role>Project Lead</role>
|
||||
<role>Primary Developer</role>
|
||||
</roles>
|
||||
<timezone>-5</timezone>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>al</id>
|
||||
<name>Andrey Loskutov</name>
|
||||
<email>Loskutov@gmx.de</email>
|
||||
<url>http://andrei.gmxhome.de/privat.html</url>
|
||||
<roles>
|
||||
<role>Eclipse plugin</role>
|
||||
</roles>
|
||||
<timezone>+1</timezone>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>bp</id>
|
||||
<name>Keith Lea</name>
|
||||
<email></email>
|
||||
<url>http://keithlea.com/</url>
|
||||
<roles>
|
||||
<role>web cloud</role>
|
||||
</roles>
|
||||
<timezone>-5</timezone>
|
||||
</developer>
|
||||
</developers>
|
||||
<contributors>
|
||||
<contributor>
|
||||
<name>Garvin LeClaire</name>
|
||||
<email>garvin.leclaire@gmail.com</email>
|
||||
<url></url>
|
||||
<roles>
|
||||
<role>Maven</role>
|
||||
</roles>
|
||||
<timezone>-5</timezone>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>David H. Hovemeyer</name>
|
||||
<email>dhovemey@ycp.edu</email>
|
||||
<url>http://goose.ycp.edu/~dhovemey/</url>
|
||||
<roles>
|
||||
<role>project founder</role>
|
||||
</roles>
|
||||
<timezone>-5</timezone>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Nay Ayewah</name>
|
||||
<email></email>
|
||||
<url></url>
|
||||
<roles>
|
||||
<role></role>
|
||||
</roles>
|
||||
<timezone>-5</timezone>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Ben Langmead</name>
|
||||
<email></email>
|
||||
<url></url>
|
||||
<roles>
|
||||
<role></role>
|
||||
</roles>
|
||||
<timezone>-5</timezone>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Tomas Pollak</name>
|
||||
<email></email>
|
||||
<url></url>
|
||||
<roles>
|
||||
<role>Eclipse plugin tests</role>
|
||||
</roles>
|
||||
<timezone>-5</timezone>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Phil Crosby</name>
|
||||
<email></email>
|
||||
<url></url>
|
||||
<roles>
|
||||
<role></role>
|
||||
</roles>
|
||||
<timezone>-5</timezone>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Peter Friese</name>
|
||||
<email></email>
|
||||
<url></url>
|
||||
<roles>
|
||||
<role>Eclipse plugin</role>
|
||||
</roles>
|
||||
<timezone>-5</timezone>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Dave Brosius</name>
|
||||
<email></email>
|
||||
<url></url>
|
||||
<roles>
|
||||
<role></role>
|
||||
</roles>
|
||||
<timezone>-5</timezone>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Brian Goetz</name>
|
||||
<email></email>
|
||||
<url></url>
|
||||
<roles>
|
||||
<role></role>
|
||||
</roles>
|
||||
<timezone>-5</timezone>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Rohan Lloyd</name>
|
||||
<email></email>
|
||||
<url></url>
|
||||
<roles>
|
||||
<role></role>
|
||||
</roles>
|
||||
<timezone>-5</timezone>
|
||||
</contributor>
|
||||
</contributors>
|
||||
|
||||
</project>
|
||||
71
findbugs-bcel.spec
Normal file
71
findbugs-bcel.spec
Normal file
@ -0,0 +1,71 @@
|
||||
Name: findbugs-bcel
|
||||
Version: 6.0
|
||||
Release: 0.13.20140707svn1547656
|
||||
Summary: A Library for FindBugs provides Byte Code
|
||||
|
||||
License: ASL 2.0
|
||||
URL: http://commons.apache.org/proper/commons-bcel/
|
||||
#This archive was created with:
|
||||
#svn export http://svn.apache.org/repos/asf/commons/_moved_to_git/bcel/trunk -r 1547656 bcel-6.0
|
||||
#tar -Jcf bcel-20140707svn1547656.tar.xz bcel-6.0
|
||||
Source0: bcel-20140707svn1547656.tgz
|
||||
#specify project information and configuration
|
||||
Source1: http://central.maven.org/maven2/com/google/code/findbugs/bcel-findbugs/%{version}/bcel-findbugs-%{version}.pom
|
||||
|
||||
BuildRequires: javapackages-local java-devel, jpackage-utils
|
||||
Requires: java-headless, jpackage-utils
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
This is a Byte Code Engineering Library (BCEL) provided for
|
||||
FindBugs 3.0.
|
||||
|
||||
%package help
|
||||
Summary: Help documents for findbugs-bcel
|
||||
Provides: %{name}-javadoc = %{version}-%{release}
|
||||
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
||||
|
||||
%description help
|
||||
Help documents for findbugs-bcel.
|
||||
|
||||
%prep
|
||||
%autosetup -n bcel-%{version} -p1
|
||||
|
||||
%build
|
||||
mkdir classes
|
||||
find src/main/java -type f -name '*.java' | xargs javac -g -d classes -source 1.5 -encoding ISO8859-1
|
||||
cd classes
|
||||
jar cf findbugs-bcel.jar org
|
||||
cd ..
|
||||
|
||||
mkdir javadoc
|
||||
find src/main/java -type f -name '*.java' | xargs javadoc -sourcepath src/main/java \
|
||||
-classpath classes -source 1.5 -encoding ISO8859-1 -d javadoc -Xdoclint:none
|
||||
|
||||
%install
|
||||
install -Dp classes/findbugs-bcel.jar $RPM_BUILD_ROOT%{_javadir}/findbugs-bcel.jar
|
||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
install -pm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||
|
||||
%add_maven_depmap JPP-%{name}.pom %{name}.jar -a "com.google.code.findbugs:bcel"
|
||||
|
||||
install -d $RPM_BUILD_ROOT%{_javadocdir}
|
||||
cp -a javadoc $RPM_BUILD_ROOT%{_javadocdir}/findbugs-bcel
|
||||
|
||||
%pretrans help -p <lua>
|
||||
path = "%{_javadocdir}/%{name}"
|
||||
st = posix.stat(path)
|
||||
if st and st.type == "link" then
|
||||
os.remove(path)
|
||||
end
|
||||
|
||||
%files -f .mfiles
|
||||
%doc LICENSE.txt
|
||||
|
||||
%files help
|
||||
%doc LICENSE.txt NOTICE.txt README.txt
|
||||
%{_javadocdir}/findbugs-bcel*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 5 2020 wutao <wutao61@huawei.com> - 6.0-0.13.20140707svn1547656
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user