Blob Blame History Raw
Name:           akuma
Version:        1.9
Release:        1%{?dist}
Summary:        Embeddable daemonization library for Java

# License is specified in pom file
License:        MIT
URL:            http://akuma.kohsuke.org
Source0:        https://github.com/kohsuke/%{name}/archive/%{name}-%{version}.tar.gz
Source1:        https://raw.github.com/kohsuke/youdebug/youdebug-1.5/LICENSE.txt

BuildRequires:  maven-local
BuildRequires:  mvn(net.java.dev.jna:jna)
BuildRequires:  mvn(org.kohsuke:pom)

BuildArch:      noarch

%description
This is a Java library you can use in your application
to support Unix daemonization. By taking advantages of POSIX API,
this library lets you fork your process into background
with proper daemonization steps.

%package        javadoc
Summary:        Javadoc for %{name}

%description javadoc
This package provides the API documentation for %{name}.

%prep
%setup -q -n %{name}-%{name}-%{version}

cp %{SOURCE1} LICENSE

%build
%mvn_build

%install
%mvn_install

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

%changelog
* Thu May 09 2013 Michal Srb <msrb@redhat.com> - 1.9-1
- Initial package