jdependency/jdependency.spec
daidai_is_here 6dc0a541ac package init
2020-03-06 18:29:57 +08:00

46 lines
1.3 KiB
RPMSpec

Name: jdependency
Version: 1.2
Release: 4
Summary: API to analyse class dependencies
License: ASL 2.0
URL: http://github.com/tcurdt/%{name}
Source0: http://github.com/tcurdt/%{name}/archive/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: maven-local mvn(commons-io:commons-io) mvn(junit:junit) mvn(org.ow2.asm:asm)
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) mvn(org.ow2.asm:asm-analysis)
BuildRequires: mvn(org.ow2.asm:asm-commons) mvn(org.ow2.asm:asm-tree) mvn(org.ow2.asm:asm-util)
BuildRequires: mvn(org.ow2.asm:asm-tree) mvn(org.ow2.asm:asm-util)
%description
jdependency is library that helps analyzing class level dependencies,
clashes and missing classes.
%package help
Summary: Help documentation for jdependency
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
%description help
Help documentation for jdependency.
%prep
%autosetup -n jdependency-jdependency-%{version} -p1
%mvn_file : jdependency
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc README.md LICENSE.txt
%files help -f .mfiles-javadoc
%license LICENSE.txt
%changelog
* Fri Mar 06 2020 daiqianwen <daiqianwen@huawei.com> - 1.2-4
- Package init