Blob Blame History Raw
Name:           dirgra
Version:        0.4
Release:        %autorelease
Summary:        Simple Directed Graph

License:        EPL-1.0
URL:            https://github.com/jruby/%{name}
Source0:        %{url}/archive/%{name}-%{version}/%{name}-%{version}.tar.gz
BuildArch:      noarch

BuildRequires:  maven-local
BuildRequires:  mvn(org.apache.maven.plugins:maven-source-plugin)

%description
Simple Directed Graph Implementation.

%javadoc_package

%prep
%autosetup -n %{name}-%{name}-%{version}

find \( -name \*.jar -o -name \*.class \) -delete

%pom_remove_parent .

%pom_xpath_remove pom:extensions .

%pom_remove_plugin :maven-javadoc-plugin .

%build
%mvn_build -f -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8

%install
%mvn_install

%files -f .mfiles
%license LICENSE.txt

%changelog
%autochangelog