%define exagrid_release .exagrid1
Name:           sdnotify-java
Version:        1.1
Release:        0%{?dist}.0%{?exagrid_release}
Summary:        systemd notification protocol in Java
License:        LGPL
URL:            https://github.com/faljse/SDNotify
BuildArch:      noarch
Source: %{name}-%{version}.tar.gz

BuildRequires:  maven-local

%description
SDNotify implements the systemd notification protocol in Java.

%package        javadoc
Summary:        API documentation for %{name}

%description    javadoc
%{summary}.

%prep
%setup -q
%mvn_file : %{name}

%build
%mvn_build

%install
%mvn_install

%files -f .mfiles
%doc LICENSE

%files javadoc -f .mfiles-javadoc
%doc LICENSE
