Blame SPECS/geronimo-saaj.spec

4ff5ce
%global pkg_name geronimo-saaj
4ff5ce
%{?scl:%scl_package %{pkg_name}}
4ff5ce
%{?maven_find_provides_and_requires}
4ff5ce
4ff5ce
%global spec_ver 1.3
4ff5ce
%global spec_name geronimo-saaj_%{spec_ver}_spec
4ff5ce
4ff5ce
Name:             %{?scl_prefix}%{pkg_name}
4ff5ce
Version:          1.1
4ff5ce
Release:          14.12%{?dist}
4ff5ce
Summary:          Java EE: SOAP with Attachments API Package v1.3
4ff5ce
License:          ASL 2.0 and W3C
4ff5ce
4ff5ce
URL:              http://geronimo.apache.org/
4ff5ce
Source0:          http://repo2.maven.org/maven2/org/apache/geronimo/specs/%{spec_name}/%{version}/%{spec_name}-%{version}-source-release.tar.gz
4ff5ce
# Use parent pom files instead of unavailable 'genesis-java5-flava'
4ff5ce
Patch1:           use_parent_pom.patch
4ff5ce
BuildArch:        noarch
4ff5ce
4ff5ce
BuildRequires:    %{?scl_prefix_java_common}javapackages-tools
4ff5ce
BuildRequires:    %{?scl_prefix}maven-local
4ff5ce
BuildRequires:    %{?scl_prefix}geronimo-parent-poms
4ff5ce
BuildRequires:    %{?scl_prefix}maven-resources-plugin
4ff5ce
BuildRequires:    %{?scl_prefix}maven-surefire-provider-junit
4ff5ce
BuildRequires:    %{?scl_prefix}geronimo-osgi-support
4ff5ce
4ff5ce
4ff5ce
4ff5ce
%description
4ff5ce
Provides the API for creating and building SOAP messages. 
4ff5ce
4ff5ce
%package javadoc
4ff5ce
Summary:          Javadoc for %{pkg_name}
4ff5ce
4ff5ce
%description javadoc
4ff5ce
This package contains the API documentation for %{pkg_name}.
4ff5ce
4ff5ce
4ff5ce
%prep
4ff5ce
%setup -q -n %{spec_name}-%{version}
4ff5ce
%{?scl:scl enable %{scl} - <<"EOF"}
4ff5ce
set -e -x
4ff5ce
iconv -f iso8859-1 -t utf-8 LICENSE > LICENSE.conv && mv -f LICENSE.conv LICENSE
4ff5ce
sed -i 's/\r//' LICENSE NOTICE
4ff5ce
%patch1 -p0
4ff5ce
%pom_remove_dep :geronimo-activation_1.1_spec
4ff5ce
4ff5ce
%mvn_file : %{pkg_name}
4ff5ce
%mvn_alias : org.apache.geronimo.specs:geronimo-saaj_1.1_spec javax.xml.soap:saaj-api
4ff5ce
%{?scl:EOF}
4ff5ce
4ff5ce
%build
4ff5ce
%{?scl:scl enable %{scl} - <<"EOF"}
4ff5ce
set -e -x
4ff5ce
%mvn_build
4ff5ce
%{?scl:EOF}
4ff5ce
4ff5ce
%install
4ff5ce
%{?scl:scl enable %{scl} - <<"EOF"}
4ff5ce
set -e -x
4ff5ce
%mvn_install
4ff5ce
%{?scl:EOF}
4ff5ce
4ff5ce
4ff5ce
%files -f .mfiles
4ff5ce
%doc LICENSE NOTICE
4ff5ce
4ff5ce
%files javadoc -f .mfiles-javadoc
4ff5ce
%doc LICENSE NOTICE
4ff5ce
4ff5ce
%changelog
4ff5ce
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 1.1-14.12
4ff5ce
- Fix BR on maven-local & co.
4ff5ce
4ff5ce
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 1.1-14.11
4ff5ce
- maven33 rebuild #2
4ff5ce
4ff5ce
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 1.1-14.10
4ff5ce
- maven33 rebuild
4ff5ce
4ff5ce
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 1.1-14.9
4ff5ce
- Mass rebuild 2015-01-13
4ff5ce
4ff5ce
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 1.1-14.8
4ff5ce
- Mass rebuild 2015-01-06
4ff5ce
4ff5ce
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-14.7
4ff5ce
- Mass rebuild 2014-05-26
4ff5ce
4ff5ce
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-14.6
4ff5ce
- Mass rebuild 2014-02-19
4ff5ce
4ff5ce
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-14.5
4ff5ce
- Mass rebuild 2014-02-18
4ff5ce
4ff5ce
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-14.4
4ff5ce
- Remove requires on java
4ff5ce
4ff5ce
* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-14.3
4ff5ce
- SCL-ize build-requires
4ff5ce
4ff5ce
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-14.2
4ff5ce
- Rebuild to regenerate auto-requires
4ff5ce
4ff5ce
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-14.1
4ff5ce
- First maven30 software collection build
4ff5ce
4ff5ce
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.1-14
4ff5ce
- Mass rebuild 2013-12-27
4ff5ce
4ff5ce
* Fri Aug 23 2013 Michal Srb <msrb@redhat.com> - 1.1-13
4ff5ce
- Migrate away from mvn-rpmbuild (Resolves: #997499)
4ff5ce
4ff5ce
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-12
4ff5ce
- Rebuild to regenerate API documentation
4ff5ce
- Resolves: CVE-2013-1571
4ff5ce
4ff5ce
* Tue Mar 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-11
4ff5ce
- Replace local depmap with POM macro
4ff5ce
- Resolves: rhbz#914030
4ff5ce
4ff5ce
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-10
4ff5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4ff5ce
4ff5ce
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.1-9
4ff5ce
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
4ff5ce
- Replace maven BuildRequires with maven-local
4ff5ce
4ff5ce
* Thu Aug 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-8
4ff5ce
- Fix license tag
4ff5ce
- Remove dangling symlink
4ff5ce
- Update to current guidelines
4ff5ce
4ff5ce
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-7
4ff5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4ff5ce
4ff5ce
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
4ff5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4ff5ce
4ff5ce
* Wed Nov 30 2011 Alexander Kurtakov <akurtako@redhat.com> 1.1-5
4ff5ce
- Build with Maven 3.
4ff5ce
- Adapt to current guidelines.
4ff5ce
4ff5ce
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-4
4ff5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4ff5ce
4ff5ce
* Wed Aug 4 2010 Chris Spike <chris.spike@arcor.de> 1.1-3
4ff5ce
- Added 'org.apache.geronimo.specs:geronimo-saaj_1.1_spec' to maven depmap
4ff5ce
4ff5ce
* Mon Aug 2 2010 Chris Spike <chris.spike@arcor.de> 1.1-2
4ff5ce
- Consistently using 'rm' now
4ff5ce
- Removed W3C from 'License:' field (XMLSchema.dtd not existent)
4ff5ce
4ff5ce
* Thu Jul 22 2010 Chris Spike <chris.spike@arcor.de> 1.1-1
4ff5ce
- Initial version of the package