/[packages]/cauldron/XmlSchema/current/SPECS/XmlSchema.spec
ViewVC logotype

Annotation of /cauldron/XmlSchema/current/SPECS/XmlSchema.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 965172 - (hide annotations) (download)
Thu Feb 18 00:39:05 2016 UTC (8 years, 9 months ago) by umeabot
File size: 1551 byte(s)
Mageia 6 Mass Rebuild
1 dmorgan 805453 Name: XmlSchema
2     Version: 1.4.7
3 umeabot 965172 Release: %mkrel 11
4 dmorgan 805453 Summary: Lightweight schema object model
5     License: ASL 2.0
6     URL: http://ws.apache.org/commons/XmlSchema
7     # svn export http://svn.apache.org/repos/asf/webservices/commons/tags/XmlSchema/XmlSchema-1.4.7
8     # tar cJf XmlSchema-1.4.7.tar.xz XmlSchema-1.4.7
9     Source0: %{name}-%{version}.tar.xz
10     Source1: LICENSE-2.0.txt
11     # maven-site-plugin is broken by the lack of cvsjava in maven-scm.
12     # cvsjava was removed when netbeans was orphaned.
13     Patch1: %{name}-no-site-plugin.patch
14     BuildArch: noarch
15     Group: Development/Java
16    
17     BuildRequires: maven-local
18     BuildRequires: maven-shared
19     BuildRequires: maven-remote-resources-plugin
20     BuildRequires: apache-resource-bundles
21     BuildRequires: bcel
22     BuildRequires: xalan-j2
23     BuildRequires: xmlunit
24     BuildRequires: dos2unix
25    
26     %description
27     Commons XMLSchema is a lightweight schema object model that can be
28     used to manipulate or generate a schema.
29    
30     %package javadoc
31     Summary: API documentation for %{name}
32    
33     %description javadoc
34     This package contains API documentation for %{name}.
35    
36     %prep
37 ovitters 876990 %setup -q
38 dmorgan 805453 %patch1 -p1
39    
40     # This is provided by modern Java environments
41     %pom_remove_dep "org.apache.ws.commons:ws-commons-java5"
42    
43     # Fix line endings
44     cp -p %{SOURCE1} .
45     dos2unix LICENSE-2.0.txt README.txt RELEASE-NOTE.txt
46    
47     %mvn_file :%{name} %{name}
48    
49     %build
50     %mvn_build
51    
52     %install
53     %mvn_install
54    
55     %files -f .mfiles
56     %doc LICENSE-2.0.txt README.txt RELEASE-NOTE.txt
57    
58     %files javadoc -f .mfiles-javadoc
59     %doc LICENSE-2.0.txt
60    

  ViewVC Help
Powered by ViewVC 1.1.30