/[packages]/updates/3/hawtjni/current/SPECS/hawtjni.spec
ViewVC logotype

Contents of /updates/3/hawtjni/current/SPECS/hawtjni.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 793487 - (show annotations) (download)
Sun Oct 26 15:22:47 2014 UTC (9 years, 5 months ago) by luigiwalser
File size: 2554 byte(s)
1.9 (fixes CVE-2013-2035, mga#12934)
1 Name: hawtjni
2 Version: 1.9
3 Release: %mkrel 1
4 Summary: Code generator that produces the JNI code
5 Group: Development/Java
6 License: ASL 2.0 and EPL and BSD
7 URL: http://hawtjni.fusesource.org/
8
9 Source0: https://github.com/fusesource/hawtjni/archive/hawtjni-project-%{version}.tar.gz
10 Patch0: 0001-Fix-shading-and-remove-unneeded-modules.patch
11 Patch1: 0002-Fix-xbean-compatibility.patch
12 Patch2: 0003-Remove-plexus-maven-plugin-dependency.patch
13 Patch3: 0004-Remove-eclipse-plugin.patch
14
15 BuildArch: noarch
16
17 BuildRequires: maven-local
18 BuildRequires: maven-compiler-plugin
19 BuildRequires: maven-plugin-plugin
20 BuildRequires: maven-surefire-report-plugin
21 BuildRequires: maven-project-info-reports-plugin
22 BuildRequires: maven-plugin-jxr
23 BuildRequires: maven-javadoc-plugin
24 BuildRequires: maven-surefire-plugin
25 BuildRequires: maven-clean-plugin
26 BuildRequires: maven-surefire-provider-junit4
27 BuildRequires: plexus-containers-component-metadata
28 BuildRequires: log4j
29 BuildRequires: junit4
30 BuildRequires: fusesource-pom
31 BuildRequires: xbean
32
33 %description
34 HawtJNI is a code generator that produces the JNI code needed to
35 implement java native methods. It is based on the jnigen code generator
36 that is part of the SWT Tools project which is used to generate all the
37 JNI code which powers the eclipse platform.
38
39 %package javadoc
40 Summary: Javadocs for %{name}
41 Group: Documentation
42
43 %description javadoc
44 This package contains the API documentation for %{name}.
45
46 %package -n maven-hawtjni-plugin
47 Summary: Use HawtJNI from a maven plugin
48 Group: Development/Java
49 Requires: hawtjni = %{version}-%{release}
50
51 %description -n maven-%{name}-plugin
52 This package allows to use HawtJNI from a maven plugin.
53
54 %prep
55 %setup -q -n hawtjni-hawtjni-project-%{version}
56
57 %patch0 -p1
58 %patch1 -p1
59 %patch2 -p1
60 %patch3 -p1
61
62 # Ready to replace patch0
63 # %pom_disable_module hawtjni-example
64 # %pom_disable_module hawtjni-website
65 # %pom_add_dep "org.apache.maven:maven-compat:3.0.3" maven-hawtjni-plugin/pom.xml
66 # %pom_remove_plugin ":maven-shade-plugin" hawtjni-generator/pom.xml
67
68 %mvn_package ":maven-hawtjni-plugin" maven-plugin
69
70 %build
71 %mvn_build
72
73 %install
74 %mvn_install
75
76 %files -f .mfiles
77 %dir %{_javadir}/%{name}
78 %doc readme.md license.txt changelog.md
79
80 %files javadoc -f .mfiles-javadoc
81 %doc license.txt
82
83 %files -n maven-hawtjni-plugin -f .mfiles-maven-plugin
84 %doc license.txt
85

  ViewVC Help
Powered by ViewVC 1.1.30