forked from kohsuke/akuma
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathakuma.spec
61 lines (47 loc) · 1.42 KB
/
akuma.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
%global _binary_filedigest_algorithm 1
%global _source_filedigest_algorithm 1
%global _binary_payload w9.gzdio
%global _source_payload w9.gzdio
Name: akuma
Summary: akuma daemonizer
Group: Internet/Applications
License: MIT
Version: 1.7
Release: 3%{?dist}
URL: http://java.net/projects/akuma
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch: x86_64 i686
BuildRequires: java >= 0:1.6.0
BuildRequires: ant >= 0:1.7.0
BuildRequires: jna
Requires: java >= 0:1.6.0
#Requires: bouncycastle
%define __jar_repack %{nil}
%description
akuma
%prep
%setup -q
%build
ant -Dlibdir=/usr/share/java clean package
%install
rm -rf $RPM_BUILD_ROOT
# Create the directory structure required to lay down our files
# common
install -d -m 755 $RPM_BUILD_ROOT/usr/share/java/
install -m 644 dist/lib/akuma.jar $RPM_BUILD_ROOT/usr/share/java/
%clean
rm -rf $RPM_BUILD_ROOT
%files
/usr/share/java/akuma.jar
%changelog
* Mon Mar 26 2012 Chris Duryee (beav) <[email protected]>
- use x86_64 and i686 ([email protected])
* Wed Mar 21 2012 Chris Duryee (beav) <[email protected]>
- use x86_64 for now, and remove version from jar filename ([email protected])
* Mon Feb 27 2012 Chris Duryee (beav) <[email protected]>
- new package built with tito
* Mon Feb 27 2012 Chris Duryee (beav) <[email protected]>
- new package built with tito
* Mon Feb 27 2012 Chris Duryee <[email protected]> 1.7
- initial setup