Compare commits
18 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ae2c9bc67 | ||
|
|
2832d8e623 | ||
|
|
688fd1efdd | ||
|
|
88df19ed42 | ||
|
|
c2ba0f3832 | ||
|
|
f55c97c398 | ||
|
|
f8e751b6b5 | ||
|
|
fc848ff6f3 | ||
|
|
693b4af100 | ||
|
|
be569e8563 | ||
|
|
ef1330ca56 | ||
|
|
7f08d42b47 | ||
|
|
28e412c57c | ||
|
|
c83ebccb5e | ||
|
|
d3c016baa1 | ||
|
|
7f51d5e3ad | ||
|
|
c46eff6fc1 | ||
|
|
5550bc9836 |
5 changed files with 1 additions and 113 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
/ws-xmlschema-2.0.2.tar.xz
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Orphaned for 6+ weeks
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
a61d1762cde8f36c1b8493bd04c0f8a8 ws-xmlschema-2.0.2.tar.xz
|
||||
|
|
@ -1,100 +0,0 @@
|
|||
# vim: set ts=4 sw=4 sts=4 et:
|
||||
Name: ws-xmlschema
|
||||
Version: 2.0.2
|
||||
Release: 3%{?dist}
|
||||
Summary: Apache XMLSchema
|
||||
Group: Development/Libraries
|
||||
License: ASL 2.0
|
||||
URL: http://ws.apache.org/commons/xmlschema20/
|
||||
|
||||
# wget -c http://apache.osuosl.org/ws/xmlschema/2.0.2/xmlschema-2.0.2-source-release.zip
|
||||
# unzip xmlschema-2.0.2-source-release.zip
|
||||
# rm -r xmlschema-2.0.2/w3c-testcases
|
||||
# tar cafJ ws-xmlschema-2.0.2.tar.xz xmlschema-2.0.2
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
|
||||
Patch0: xmlschema-2.0.2-no-w3c-testcase-module.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: jpackage-utils
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: apache-resource-bundles
|
||||
BuildRequires: maven
|
||||
BuildRequires: maven-assembly-plugin
|
||||
BuildRequires: maven-compiler-plugin
|
||||
BuildRequires: maven-install-plugin
|
||||
BuildRequires: maven-jar-plugin
|
||||
BuildRequires: maven-javadoc-plugin
|
||||
BuildRequires: maven-remote-resources-plugin
|
||||
BuildRequires: maven-shade-plugin
|
||||
BuildRequires: maven-surefire-plugin
|
||||
BuildRequires: xmlunit
|
||||
|
||||
Requires: jpackage-utils
|
||||
Requires: java
|
||||
|
||||
%description
|
||||
Apache XMLSchema is a light weight schema object model that can be
|
||||
used to manipulate or generate XML schema. It has very few external
|
||||
dependencies and can be easily integrated into an existing project.
|
||||
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadocs for %{name}
|
||||
Group: Documentation
|
||||
Requires: jpackage-utils
|
||||
|
||||
%description javadoc
|
||||
This package contains the API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n xmlschema-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
# fastinstall profile avoids some build dependencies
|
||||
# tests require unavailable dependencies
|
||||
mvn-rpmbuild \
|
||||
-Pfastinstall \
|
||||
-Dmaven.test.skip=true \
|
||||
-Dproject.build.sourceEncoding=UTF-8 \
|
||||
package javadoc:aggregate
|
||||
|
||||
%install
|
||||
|
||||
install -d -m 755 %{buildroot}%{_javadir}
|
||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
||||
|
||||
install -pm 644 xmlschema-core/target/xmlschema-core-%{version}.jar %{buildroot}%{_javadir}/xmlschema-core.jar
|
||||
install -pm 644 xmlschema-core/pom.xml %{buildroot}%{_mavenpomdir}/JPP-xmlschema-core.pom
|
||||
%add_maven_depmap JPP-xmlschema-core.pom xmlschema-core.jar
|
||||
|
||||
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||
%add_maven_depmap JPP-%{name}.pom
|
||||
|
||||
# javadoc
|
||||
cp -rp target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
|
||||
|
||||
%files
|
||||
%doc LICENSE NOTICE README.txt RELEASE-NOTE.txt
|
||||
%{_mavenpomdir}/*
|
||||
%{_mavendepmapfragdir}/*
|
||||
%{_javadir}/*
|
||||
|
||||
%files javadoc
|
||||
%doc LICENSE NOTICE
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Thu Jul 5 2012 Patryk Obara <pobara@redhat.com> 2.0.2-3
|
||||
- Removed link, simplified install phase
|
||||
|
||||
* Thu Jun 28 2012 Patryk Obara <pobara@redhat.com> 2.0.2-2
|
||||
- Repackaging of sources to remove test files with bad licensing
|
||||
- Fix jar file name and location
|
||||
|
||||
* Mon Jun 18 2012 Patryk Obara <pobara@redhat.com> 2.0.2-1
|
||||
- Initial packaging
|
||||
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
diff -Naur -x '*java' xmlschema-2.0.2/pom.xml xmlschema-2.0.2-work/pom.xml
|
||||
--- xmlschema-2.0.2/pom.xml 2012-04-07 14:45:52.000000000 +0200
|
||||
+++ xmlschema-2.0.2-work/pom.xml 2012-06-28 15:01:49.580158584 +0200
|
||||
@@ -83,7 +83,6 @@
|
||||
<modules>
|
||||
<module>xmlschema-core</module>
|
||||
<module>xmlschema-bundle-test</module>
|
||||
- <module>w3c-testcases</module>
|
||||
</modules>
|
||||
<build>
|
||||
<defaultGoal>install</defaultGoal>
|
||||
Loading…
Add table
Add a link
Reference in a new issue