Blame SPECS/glassfish-fastinfoset.spec

992e9e
Name:          glassfish-fastinfoset
992e9e
Version:       1.2.13
992e9e
Release:       9%{?dist}
992e9e
Summary:       Fast Infoset
992e9e
License:       ASL 2.0
992e9e
URL:           https://fi.java.net
992e9e
# svn export https://svn.java.net/svn/fi~svn/tags/fastinfoset-project-1.2.13/ glassfish-fastinfoset-1.2.13
992e9e
# find glassfish-fastinfoset-1.2.13/ -name '*.class' -delete
992e9e
# find glassfish-fastinfoset-1.2.13/ -name '*.jar' -delete
992e9e
# rm -rf glassfish-fastinfoset-1.2.13/roundtrip-tests
992e9e
# tar czf glassfish-fastinfoset-1.2.13-src-svn.tar.gz glassfish-fastinfoset-1.2.13
992e9e
Source0:       %{name}-%{version}-src-svn.tar.gz
992e9e
Source1:       http://www.apache.org/licenses/LICENSE-2.0.txt
992e9e
# add xmlstreambuffer 1.5.x support
992e9e
Patch0:        %{name}-1.2.12-utilities-FastInfosetWriterSAXBufferProcessor.patch
992e9e
992e9e
BuildRequires: maven-local
992e9e
BuildRequires: mvn(com.sun.xml.stream.buffer:streambuffer)
992e9e
BuildRequires: mvn(com.sun.xsom:xsom)
992e9e
BuildRequires: mvn(junit:junit)
992e9e
BuildRequires: mvn(net.java:jvnet-parent:pom:)
992e9e
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
992e9e
992e9e
BuildArch:     noarch
992e9e
992e9e
%description
992e9e
Fast Infoset specifies a standardized binary encoding for the XML Information
992e9e
Set. An XML infoset (such as a DOM tree, StAX events or SAX events in
992e9e
programmatic representations) may be serialized to an XML 1.x document or, as
992e9e
specified by the Fast Infoset standard, may be serialized to a fast infoset
992e9e
document.  Fast infoset documents are generally smaller in size and faster to
992e9e
parse and serialize than equivalent XML documents.
992e9e
992e9e
%package javadoc
992e9e
Summary:       Javadoc for %{name}
992e9e
992e9e
%description javadoc
992e9e
This package contains javadoc for %{name}.
992e9e
992e9e
%prep
992e9e
%setup -q
992e9e
%patch0 -p0
992e9e
992e9e
cp %{SOURCE1} .
992e9e
992e9e
# Remove wagon-webdav
992e9e
%pom_xpath_remove "pom:build/pom:extensions"
992e9e
992e9e
%pom_remove_plugin :findbugs-maven-plugin
992e9e
%pom_remove_plugin :maven-antrun-extended-plugin
992e9e
%pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin
992e9e
%pom_remove_plugin org.codehaus.mojo:buildnumber-maven-plugin
992e9e
992e9e
%pom_disable_module roundtrip-tests
992e9e
%pom_disable_module samples
992e9e
992e9e
# Disable default-jar execution of maven-jar-plugin, which is causing
992e9e
# problems with version 3.0.0 of the plugin.
992e9e
%pom_xpath_inject "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:executions" "
992e9e
 <execution>
992e9e
  <id>default-jar</id>
992e9e
  <phase>skip</phase>
992e9e
 </execution>" fastinfoset
992e9e
992e9e
%mvn_file :FastInfoset %{name}
992e9e
%mvn_file :FastInfosetUtilities %{name}-utilities
992e9e
992e9e
%build
992e9e
%mvn_build
992e9e
992e9e
%install
992e9e
%mvn_install
992e9e
992e9e
%files -f .mfiles
992e9e
%license copyright.txt LICENSE-2.0.txt
992e9e
992e9e
%files javadoc -f .mfiles-javadoc
992e9e
%license copyright.txt LICENSE-2.0.txt
992e9e
992e9e
%changelog
992e9e
* Fri May 25 2018 Michael Simacek <msimacek@redhat.com> - 1.2.13-9
992e9e
- Regenerate BRs
992e9e
992e9e
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-8
992e9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
992e9e
992e9e
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-7
992e9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
992e9e
992e9e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-6
992e9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
992e9e
992e9e
* Tue Jun 21 2016 gil cattaneo <puntogil@libero.it> 1.2.13-5
992e9e
- add missing build requires
992e9e
992e9e
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-4
992e9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
992e9e
992e9e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.13-3
992e9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
992e9e
992e9e
* Fri Feb 13 2015 gil cattaneo <puntogil@libero.it> 1.2.13-2
992e9e
- introduce license macro
992e9e
992e9e
* Wed Jan 21 2015 gil cattaneo <puntogil@libero.it> 1.2.13-1
992e9e
- update to 1.2.13
992e9e
- Fix URL
992e9e
- Add license text
992e9e
992e9e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.12-11
992e9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
992e9e
992e9e
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.2.12-10
992e9e
- Use Requires: java-headless rebuild (#1067528)
992e9e
992e9e
* Mon Aug 05 2013 gil cattaneo <puntogil@libero.it> 1.2.12-9
992e9e
- rebuilt rhbz#992387
992e9e
- add xmlstreambuffer and jvnet-parent support
992e9e
- swith to Xmvn
992e9e
- adapt to new guideline
992e9e
992e9e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.12-8
992e9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
992e9e
992e9e
* Fri Feb 22 2013 Juan Hernandez <juan.hernandez@redhat.com> - 1.2.12-7
992e9e
- Remove the wagon-webdav build extension (rhbz 914033)
992e9e
992e9e
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.12-6
992e9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
992e9e
992e9e
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.2.12-5
992e9e
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
992e9e
- Replace maven BuildRequires with maven-local
992e9e
992e9e
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.12-4
992e9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
992e9e
992e9e
* Wed Mar 7 2012 Juan Hernandez <juan.hernandez@redhat.com> 1.2.12-3
992e9e
- Changed name from glassfish-fi to glassfish-fastinfoset
992e9e
992e9e
* Tue Feb 14 2012 Juan Hernandez <juan.hernandez@redhat.com> 1.2.12-2
992e9e
- Cleanup of the spec file
992e9e
992e9e
* Sat Jan 21 2012 Marek Goldmann <mgoldman@redhat.com> 1.2.12-1
992e9e
- Initial packaging