1 |
Name: akuma |
2 |
Version: 1.9 |
3 |
Release: %mkrel 3 |
4 |
Group: Development/Java |
5 |
Summary: Embeddable daemonization library for Java |
6 |
|
7 |
# License is specified in pom file |
8 |
License: MIT |
9 |
URL: http://akuma.kohsuke.org |
10 |
Source0: https://github.com/kohsuke/%{name}/archive/%{name}-%{version}.tar.gz |
11 |
Source1: https://raw.github.com/kohsuke/youdebug/youdebug-1.5/LICENSE.txt |
12 |
|
13 |
BuildRequires: maven-local |
14 |
BuildRequires: mvn(net.java.dev.jna:jna) |
15 |
BuildRequires: mvn(org.kohsuke:pom) |
16 |
|
17 |
BuildArch: noarch |
18 |
|
19 |
%description |
20 |
This is a Java library you can use in your application |
21 |
to support Unix daemonization. By taking advantages of POSIX API, |
22 |
this library lets you fork your process into background |
23 |
with proper daemonization steps. |
24 |
|
25 |
%package javadoc |
26 |
Summary: Javadoc for %{name} |
27 |
|
28 |
%description javadoc |
29 |
This package provides the API documentation for %{name}. |
30 |
|
31 |
%prep |
32 |
%setup -q -n %{name}-%{name}-%{version} |
33 |
|
34 |
cp %{SOURCE1} LICENSE |
35 |
|
36 |
%build |
37 |
%mvn_build |
38 |
|
39 |
%install |
40 |
%mvn_install |
41 |
|
42 |
%files -f .mfiles |
43 |
%doc LICENSE |
44 |
%files javadoc -f .mfiles-javadoc |
45 |
%doc LICENSE |
46 |
|