bcel/bcel.spec

45 lines
1.3 KiB
RPMSpec
Raw Normal View History

2019-12-17 10:11:57 +08:00
Name: bcel
2022-04-14 19:50:42 +08:00
Version: 6.4.1
Release: 1
2019-12-17 10:11:57 +08:00
Summary: Byte Code Engineering Library
License: ASL 2.0
URL: http://commons.apache.org/proper/commons-bcel/
Source0: http://archive.apache.org/dist/commons/bcel/source/bcel-%{version}-src.tar.gz
BuildArch: noarch
2022-04-14 19:50:42 +08:00
BuildRequires: maven-local mvn(org.apache.commons:commons-parent:pom:)
2019-12-17 10:11:57 +08:00
Obsoletes: bcel-javadoc < %{version}-%{release}
Provides: bcel-javadoc = %{version}-%{release}
%description
The Byte Code Engineering Library (formerly known as JavaClass) is intended to
give users a convenient possibility to analyze, create, and manipulate (binary)
Java class files (those ending with .class).
%prep
%autosetup -n %{name}-%{version}-src
%pom_remove_plugin :maven-source-plugin
2022-04-14 19:50:42 +08:00
%pom_remove_plugin :spotbugs-maven-plugin
2019-12-17 10:11:57 +08:00
%mvn_alias : bcel: apache:
%mvn_file : %{name}
%build
2022-04-14 19:50:42 +08:00
%mvn_build -f
2019-12-17 10:11:57 +08:00
%install
%mvn_install
%files
%attr(0644,root,root) %{_datadir}/maven-metadata/bcel.xml
%attr(0644,root,root) %{_datadir}/java/bcel.jar
%attr(0644,root,root) %{_datadir}/maven-poms/bcel.pom
%doc RELEASE-NOTES.txt
%license LICENSE.txt NOTICE.txt
%{_javadocdir}/%{name}
%changelog
2022-04-14 19:50:42 +08:00
* Thu Apr 14 2022 wangkai <wangkai385@h-partners.com> - 6.4.1-1
- Upgrade to version 6.4.1
2019-12-17 10:11:57 +08:00
* Thu Dec 7 2019 openEuler Buildteam <buildteam@openeuler.org> - 6.2-4
- Package init