!1 package init

Merge pull request !1 from gu-gu-gu/gu
This commit is contained in:
openeuler-ci-bot 2020-02-21 09:45:25 +08:00 committed by Gitee
commit 019ef6f7b3
3 changed files with 70 additions and 0 deletions

BIN
2.9.1 Normal file

Binary file not shown.

6
jdepend-2.9.1.pom Normal file
View File

@ -0,0 +1,6 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>jdepend</groupId>
<artifactId>jdepend</artifactId>
<version>2.9.1</version>
</project>

64
jdepend.spec Normal file
View File

@ -0,0 +1,64 @@
Name: jdepend
Version: 2.9.1
Release: 22
Summary: Java Design Quality Metrics
License: BSD
URL: http://www.clarkware.com/
Source0: http://github.com/clarkware/jdepend/tarball/2.9.1
Source1: https://repo1.maven.org/maven2/jdepend/jdepend/2.9.1/jdepend-2.9.1.pom
BuildArch: noarch
BuildRequires: ant java-devel javapackages-local
%description
JDepend traverses a set of Java class and source file directories and
generates design quality metrics for each Java package. JDepend allows
you to automatically measure the quality of a design in terms of its
extensibility, reusability, and maintainability to effectively manage
and control package dependencies.
%package javadoc
Summary: Javadoc for jdepend
%description javadoc
This package provides javadoc files for jdepend.
%package demo
Summary: Demos for jdepend
Requires: jdepend = %{version}-%{release}
%description demo
This package provides demonstrations and samples for jdepend.
%package_help
%prep
%setup -q -n clarkware-jdepend-5798059
find . -name "*.jar" -delete
find . -type d -exec chmod 755 {} \;
%mvn_file %{name}:%{name} %{name}
%build
ant jar javadoc
%install
%mvn_artifact %{SOURCE1} dist/%{name}-%{version}.jar
%mvn_install -J build/docs/api
rm -rf build/docs/api
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
cp -pr sample $RPM_BUILD_ROOT%{_datadir}/%{name}
%files -f .mfiles
%license LICENSE
%files javadoc -f .mfiles-javadoc
%license LICENSE
%files demo
%{_datadir}/jdepend
%files help
%doc README docs
%changelog
* Fri Feb 14 2020 gulining<gulining1@huawei.com> - 2.9.1-22
- Package init