/[packages]/cauldron/apache-juddi/current/SPECS/apache-juddi.spec
ViewVC logotype

Contents of /cauldron/apache-juddi/current/SPECS/apache-juddi.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 331572 - (show annotations) (download)
Sun Dec 16 13:27:38 2012 UTC (6 years, 7 months ago) by dmorgan
File size: 2407 byte(s)
imported package apache-juddi
1 Name: apache-juddi
2 Version: 3.1.4
3 Release: %mkrel 1
4 Summary: Client API for UDDI
5 Group: Development/Java
6 License: ASL 2.0
7 URL: http://juddi.apache.org/
8
9 # svn export http://svn.apache.org/repos/asf/juddi/tags/juddi-3.1.4/ apache-juddi
10 # tar cafJ apache-juddi-3.1.4.tar.xz apache-juddi
11 Source0: %{name}-%{version}.tar.xz
12
13 Patch1: 0001-Build-only-client-module.patch
14 Patch2: 0002-Change-jaxws-api-dependency.patch
15 Patch3: 0003-Disable-ReadWSDLTest.readFromJar.patch
16
17 BuildArch: noarch
18
19 BuildRequires: jpackage-utils
20 BuildRequires: java-devel
21 BuildRequires: maven
22 BuildRequires: maven-compiler-plugin
23 BuildRequires: maven-jar-plugin
24 BuildRequires: maven-javadoc-plugin
25 BuildRequires: maven-surefire-provider-junit4
26 BuildRequires: jboss-jaxws-2.2-api
27 BuildRequires: wsdl4j
28
29 Requires: jpackage-utils
30 Requires: java
31 Requires: jboss-jaxws-2.2-api
32 Requires: wsdl4j
33
34 %description
35 jUDDI is an open source Java implementation of the Universal Description,
36 Discovery, and Integration (UDDI v3) specification for Web Services.
37
38 This package includes only the client side of jUDDI.
39
40 %package javadoc
41 Summary: Javadocs for %{name}
42 Group: Documentation
43 Requires: jpackage-utils
44
45 %description javadoc
46 This package contains the API documentation for %{name}.
47
48 %prep
49 %setup -q -n %{name}
50
51 %patch1 -p1
52 %patch2 -p1
53 %patch3 -p1
54
55 %build
56 mvn-rpmbuild package javadoc:aggregate
57
58 %install
59 install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name}
60 install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
61 install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
62
63 for m in uddi-ws juddi-client; do
64 # JAR
65 install -pm 644 ${m}/target/${m}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/${m}.jar
66
67 # POM
68 install -pm 644 ${m}/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-${m}.pom
69
70 # DEPMAP
71 %add_maven_depmap JPP.%{name}-${m}.pom %{name}/${m}.jar
72 done
73
74 # POM
75 install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-parent.pom
76
77 #DEPMAP
78 %add_maven_depmap JPP.%{name}-parent.pom
79
80 # APIDOCS
81 cp -rp target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
82
83 %files
84 %doc RELEASE_NOTES.html LICENSE NOTICE
85 %{_mavenpomdir}/*
86 %{_mavendepmapfragdir}/*
87 %{_javadir}/*
88
89 %files javadoc
90 %doc LICENSE NOTICE
91 %{_javadocdir}/%{name}
92

  ViewVC Help
Powered by ViewVC 1.1.26