Compare commits

..

No commits in common. "rawhide" and "f20" have entirely different histories.

5 changed files with 109 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/ws-xmlschema-2.0.2.tar.xz

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

1
sources Normal file
View file

@ -0,0 +1 @@
a61d1762cde8f36c1b8493bd04c0f8a8 ws-xmlschema-2.0.2.tar.xz

96
ws-xmlschema.spec Normal file
View file

@ -0,0 +1,96 @@
# vim: set ts=4 sw=4 sts=4 et:
Name: ws-xmlschema
Version: 2.0.2
Release: 9%{?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
BuildArch: noarch
BuildRequires: jpackage-utils
BuildRequires: java-devel
BuildRequires: apache-resource-bundles
BuildRequires: maven-local
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
BuildRequires: maven-shared
%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
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n xmlschema-%{version}
%pom_disable_module xmlschema-bundle-test
%pom_disable_module w3c-testcases
%build
# fastinstall profile avoids some build dependencies
# tests require unavailable dependencies
%mvn_build -f -- -Pfastinstall
%install
%mvn_install
%files -f .mfiles
%dir %{_javadir}/%{name}
%doc LICENSE NOTICE README.txt RELEASE-NOTE.txt
%files javadoc -f .mfiles-javadoc
%doc LICENSE NOTICE
%changelog
* Tue Aug 06 2013 Marek Goldmann <mgoldman@redhat.com> - 2.0.2-9
- New guidelines
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Feb 19 2013 Marek Goldmann <mgoldman@redhat.com> - 2.0.2-7
- Added maven-shared BR
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.0.2-5
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
- Replace maven BuildRequires with maven-local
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* 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

View file

@ -0,0 +1,11 @@
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>