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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.28