Projects
Eulaceura:Factory
findbugs-bcel
_service:obs_scm:findbugs-bcel.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:findbugs-bcel.spec of Package findbugs-bcel
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
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2