/[packages]/cauldron/springframework-ws/current/SPECS/springframework-ws.spec
ViewVC logotype

Annotation of /cauldron/springframework-ws/current/SPECS/springframework-ws.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 749542 - (hide annotations) (download)
Wed Oct 15 03:27:45 2014 UTC (10 years, 9 months ago) by umeabot
File size: 8306 byte(s)
Second Mageia 5 Mass Rebuild
1 dmorgan 623455 %global namedreltag .RELEASE
2     %global namedversion %{version}%{?namedreltag}
3     %global oname spring-ws
4     Name: springframework-ws
5     Version: 2.1.1
6 umeabot 749542 Release: %mkrel 5
7 dmorgan 623455 Summary: Spring Web Services
8     License: ASL 2.0
9     Group: Development/Java
10     URL: http://projects.spring.io/spring-ws/
11     # latest release depend on springframework >= 3.2.2.RELEASE
12     Source0: https://github.com/spring-projects/%{oname}/archive/%{oname}-%{namedversion}.tar.gz
13    
14     BuildRequires: java-devel
15    
16     BuildRequires: mvn(com.sun.xml.messaging.saaj:saaj-impl)
17     BuildRequires: mvn(commons-httpclient:commons-httpclient)
18     BuildRequires: mvn(commons-logging:commons-logging)
19     BuildRequires: mvn(dom4j:dom4j)
20     BuildRequires: mvn(javax.ejb:ejb)
21     BuildRequires: mvn(javax.jms:jms)
22     BuildRequires: mvn(javax.xml.soap:saaj-api)
23     BuildRequires: mvn(javax.xml.stream:stax-api)
24     BuildRequires: mvn(javax.mail:mail)
25     BuildRequires: mvn(jaxen:jaxen)
26     BuildRequires: mvn(jivesoftware:smack)
27     BuildRequires: mvn(org.apache.httpcomponents:httpclient)
28     BuildRequires: mvn(org.apache.ws.commons.axiom:axiom-api)
29     BuildRequires: mvn(org.apache.ws.commons.axiom:axiom-impl)
30     BuildRequires: mvn(org.apache.ws.xmlschema:xmlschema-core)
31     BuildRequires: mvn(org.codehaus.woodstox:woodstox-core-asl)
32     BuildRequires: mvn(org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec)
33     BuildRequires: mvn(org.jdom:jdom2)
34     BuildRequires: mvn(org.springframework:spring-core)
35     BuildRequires: mvn(org.springframework:spring-aop)
36     BuildRequires: mvn(org.springframework:spring-context)
37     BuildRequires: mvn(org.springframework:spring-jms)
38     BuildRequires: mvn(org.springframework:spring-oxm)
39     BuildRequires: mvn(org.springframework:spring-tx)
40     BuildRequires: mvn(org.springframework:spring-web)
41     BuildRequires: mvn(org.springframework:spring-webmvc)
42     BuildRequires: mvn(wsdl4j:wsdl4j)
43     BuildRequires: mvn(xmlunit:xmlunit)
44     BuildRequires: mvn(xom:xom)
45    
46     %if 0
47     # test deps
48     BuildRequires: easymock
49     BuildRequires: mvn(cglib:cglib-nodep)
50     BuildRequires: mvn(commons-httpclient:commons-httpclient)
51     BuildRequires: mvn(junit:junit)
52     BuildRequires: mvn(log4j:log4j)
53     BuildRequires: mvn(org.apache.activemq:activemq-core)
54     BuildRequires: mvn(org.apache.ws.xmlschema:xmlschema-core)
55     BuildRequires: mvn(org.aspectj:aspectjrt)
56     BuildRequires: mvn(org.aspectj:aspectjweaver)
57     BuildRequires: mvn(org.codehaus.woodstox:woodstox-core-asl)
58     BuildRequires: mvn(org.jvnet.mock-javamail:mock-javamail)
59     BuildRequires: mvn(org.mortbay.jetty:jetty)
60     BuildRequires: mvn(org.springframework:spring-test)
61     %endif
62    
63     BuildRequires: maven-local
64     BuildRequires: maven-plugin-bundle
65    
66     BuildArch: noarch
67    
68     %description
69     Spring Web Services is a product of the Spring community
70     focused on creating document-driven Web services. It
71     aims to facilitate contract-first SOAP service development,
72     allowing for the creation of flexible web services
73     using one of the many ways to manipulate XML payloads.
74    
75     %package javadoc
76     Summary: Javadoc for %{name}
77    
78     %description javadoc
79     This package contains javadoc for %{name}.
80    
81     %prep
82     %setup -q -n %{oname}-%{oname}-%{namedversion}
83     %pom_xpath_remove pom:build/pom:extensions
84     %pom_xpath_remove pom:build/pom:extensions parent
85     %pom_remove_plugin :maven-assembly-plugin
86     %pom_remove_plugin :docbkx-maven-plugin
87     %pom_remove_plugin :docbkx-maven-plugin parent
88     %pom_remove_plugin :com.springsource.bundlor.maven parent
89     %pom_remove_plugin :jaxws-maven-plugin parent
90     %pom_remove_plugin :axistools-maven-plugin parent
91     %pom_remove_plugin :xmlbeans-maven-plugin parent
92     %pom_xpath_remove "pom:dependencies/pom:dependency[pom:scope = 'test']" parent
93    
94     # depend on: org.codehaus.mojo tomcat-maven-plugin
95     %pom_disable_module archetype
96     # depend on: org.springframework spring-test xmlunit
97     %pom_disable_module test
98    
99     %pom_xpath_set "pom:project/pom:dependencyManagement/pom:dependencies/pom:dependency[pom:artifactId='servlet-api']/pom:groupId" "
100     org.jboss.spec.javax.servlet" parent
101     %pom_xpath_set "pom:project/pom:dependencyManagement/pom:dependencies/pom:dependency[pom:artifactId='servlet-api']/pom:artifactId" "
102     jboss-servlet-api_3.0_spec" parent
103    
104     %pom_xpath_set "pom:project/pom:dependencies/pom:dependency[pom:artifactId='servlet-api']/pom:groupId" "
105     org.jboss.spec.javax.servlet" core
106     %pom_xpath_set "pom:project/pom:dependencies/pom:dependency[pom:artifactId='servlet-api']/pom:artifactId" "
107     jboss-servlet-api_3.0_spec" core
108    
109     # require jdom >= 2.0.1
110     %pom_xpath_set "pom:project/pom:dependencyManagement/pom:dependencies/pom:dependency[pom:groupId='org.jdom']/pom:artifactId" jdom2 parent
111     %pom_xpath_set "pom:project/pom:dependencies/pom:dependency[pom:groupId='org.jdom']/pom:artifactId" jdom2 core
112    
113    
114     %pom_xpath_remove "pom:dependencies/pom:dependency[pom:scope = 'test']" core
115     %pom_remove_dep javax.activation:activation core
116     %pom_remove_dep org.springframework:spring-test core
117     # add OSGi support and FIX Bundle-SymbolicName
118     %pom_remove_plugin com.springsource.bundlor:com.springsource.bundlor.maven core
119     %pom_add_plugin org.apache.felix:maven-bundle-plugin core '
120     <extensions>true</extensions>
121     <configuration>
122     <instructions>
123     <Bundle-SymbolicName>org.springframework.ws</Bundle-SymbolicName>
124     <Bundle-Name>${project.name}</Bundle-Name>
125     <Bundle-Vendor>SpringSource</Bundle-Vendor>
126     <Bundle-Version>${osgi.version}</Bundle-Version>
127     </instructions>
128     </configuration>
129     <executions>
130     <execution>
131     <id>bundle-manifest</id>
132     <phase>process-classes</phase>
133     <goals>
134     <goal>manifest</goal>
135     </goals>
136     </execution>
137     </executions>'
138    
139     # TODO
140     %if 0
141     %pom_remove_dep javax.activation:activation security
142     %pom_remove_plugin com.springsource.bundlor:com.springsource.bundlor.maven security
143     %pom_add_plugin org.apache.felix:maven-bundle-plugin security '
144     <extensions>true</extensions>
145     <configuration>
146     <instructions>
147     <Bundle-SymbolicName>org.springframework.ws.security</Bundle-SymbolicName>
148     <Bundle-Name>${project.name}</Bundle-Name>
149     <Bundle-Vendor>SpringSource</Bundle-Vendor>
150     <Bundle-Version>${osgi.version}</Bundle-Version>
151     </instructions>
152     </configuration>
153     <executions>
154     <execution>
155     <id>bundle-manifest</id>
156     <phase>process-classes</phase>
157     <goals>
158     <goal>manifest</goal>
159     </goals>
160     </execution>
161     </executions>'
162     %else
163     # depend on:
164     # (unavailable deps)
165     # http://xwss.java.net/ https://svn.java.net/svn/xwss~svn
166     # com.sun.xml.wsit xws-security 1.3.1
167     # http://wsit.java.net/ https://svn.java.net/svn/wsit~svn/
168     # com.sun.xml.wsit wsit-rt 1.1
169     # org.springframework.security:spring-security-core 3.1.0.RELEASE
170     %pom_disable_module security
171     %endif
172    
173     %pom_xpath_remove "pom:dependencies/pom:dependency[pom:scope = 'test']" support
174     %pom_remove_dep org.springframework:spring-test support
175     %pom_remove_dep javax.activation:activation support
176     %pom_remove_plugin com.springsource.bundlor:com.springsource.bundlor.maven support
177     %pom_add_plugin org.apache.felix:maven-bundle-plugin support '
178     <extensions>true</extensions>
179     <configuration>
180     <instructions>
181     <Bundle-SymbolicName>org.springframework.ws.support</Bundle-SymbolicName>
182     <Bundle-Name>${project.name}</Bundle-Name>
183     <Bundle-Vendor>SpringSource</Bundle-Vendor>
184     <Bundle-Version>${osgi.version}</Bundle-Version>
185     </instructions>
186     </configuration>
187     <executions>
188     <execution>
189     <id>bundle-manifest</id>
190     <phase>process-classes</phase>
191     <goals>
192     <goal>manifest</goal>
193     </goals>
194     </execution>
195     </executions>'
196    
197     %pom_remove_plugin com.springsource.bundlor:com.springsource.bundlor.maven xml
198     %pom_add_plugin org.apache.felix:maven-bundle-plugin xml '
199     <extensions>true</extensions>
200     <configuration>
201     <instructions>
202     <Bundle-SymbolicName>org.springframework.ws.xml</Bundle-SymbolicName>
203     <Bundle-Name>${project.name}</Bundle-Name>
204     <Bundle-Vendor>SpringSource</Bundle-Vendor>
205     <Bundle-Version>${osgi.version}</Bundle-Version>
206     </instructions>
207     </configuration>
208     <executions>
209     <execution>
210     <id>bundle-manifest</id>
211     <phase>process-classes</phase>
212     <goals>
213     <goal>manifest</goal>
214     </goals>
215     </execution>
216     </executions>'
217    
218     sed -i 's/\r//' notice.txt
219    
220     %build
221    
222     # test skipped unavailable test deps
223     %mvn_build -f -- -Dproject.build.sourceEncoding=UTF-8
224    
225     %install
226     %mvn_install
227    
228     %files -f .mfiles
229 dmorgan 623766 %dir %{_javadir}/%{name}
230 dmorgan 623455 %doc changelog.txt license.txt notes.txt notice.txt readme.txt
231    
232     %files javadoc -f .mfiles-javadoc
233     %doc license.txt notice.txt
234    

  ViewVC Help
Powered by ViewVC 1.1.30