102 lines
3.2 KiB
RPMSpec
102 lines
3.2 KiB
RPMSpec
# vim: set ts=4 sw=4 sts=4 et:
|
|
Name: ws-xmlschema
|
|
Version: 2.0.2
|
|
Release: 11%{?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
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-11
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 2.0.2-10
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
* 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
|
|
|