diff --git a/2.9.1 b/2.9.1 new file mode 100644 index 0000000..9429ae6 Binary files /dev/null and b/2.9.1 differ diff --git a/jdepend-2.9.1.pom b/jdepend-2.9.1.pom new file mode 100644 index 0000000..8813cce --- /dev/null +++ b/jdepend-2.9.1.pom @@ -0,0 +1,6 @@ + + 4.0.0 + jdepend + jdepend + 2.9.1 + \ No newline at end of file diff --git a/jdepend.spec b/jdepend.spec new file mode 100644 index 0000000..c466a1d --- /dev/null +++ b/jdepend.spec @@ -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 - 2.9.1-22 +- Package init