0303f5
%global spec_name geronimo-jms_1.1_spec
0303f5
0303f5
Name:		geronimo-jms
0303f5
Version:	1.1.1
0303f5
Release:	18%{?dist}
0303f5
Summary:	J2EE JMS v1.1 API
0303f5
0303f5
Group:		Development/Libraries
0303f5
License:	ASL 2.0
0303f5
URL:		http://geronimo.apache.org/
0303f5
# svn export http://svn.apache.org/repos/asf/geronimo/specs/tags/%{spec_name}-%{version}/
0303f5
Source0:	%{spec_name}-%{version}.tar.bz
0303f5
# Remove unavailable dependencies
0303f5
Patch0:		geronimo-jms-1.1-api-remove-mockobjects.patch
0303f5
0303f5
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
0303f5
BuildArch:	noarch
0303f5
0303f5
# This pulls in almost all of the required java and maven stuff
0303f5
BuildRequires:  maven-local
0303f5
BuildRequires:	geronimo-parent-poms
0303f5
BuildRequires:	maven-resources-plugin
0303f5
0303f5
# Ensure a smooth transition from geronimo-specs
0303f5
Provides:	jms = %{version}-%{release}
0303f5
Obsoletes:	geronimo-specs <= 1.0-3.3
0303f5
Obsoletes:	geronimo-specs-compat <= 1.0-3.3
0303f5
0303f5
%description
0303f5
The Java Message Service (JMS) API is a messaging standard that allows
0303f5
application components based on the Java 2 Platform, Enterprise Edition
0303f5
(J2EE) to create, send, receive, and read messages. It enables distributed
0303f5
communication that is loosely coupled, reliable, and asynchronous.
0303f5
0303f5
%package javadoc
0303f5
Summary:	API documentation for %{name}
0303f5
Group:		Documentation
0303f5
Requires:	jpackage-utils >= 0:1.7.5
0303f5
BuildArch:	noarch
0303f5
0303f5
%description javadoc
0303f5
%{summary}.
0303f5
0303f5
%prep
0303f5
%setup -q -n %{spec_name}-%{version}
0303f5
%patch0 -p1
0303f5
0303f5
%build
0303f5
%mvn_file  : %{name} %{spec_name} jms
0303f5
%mvn_alias : javax.jms:jms
0303f5
%mvn_build -f
0303f5
0303f5
%install
0303f5
%mvn_install
0303f5
0303f5
%files -f .mfiles
0303f5
%doc LICENSE.txt NOTICE.txt
0303f5
0303f5
%files javadoc -f .mfiles-javadoc
0303f5
%doc LICENSE.txt NOTICE.txt
0303f5
0303f5
%changelog
0303f5
* Fri Jul 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.1-18
0303f5
- Remove workaround for rpm bug #646523
0303f5
0303f5
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.1-17
0303f5
- Rebuild to regenerate API documentation
0303f5
- Resolves: CVE-2013-1571
0303f5
0303f5
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-16
0303f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0303f5
0303f5
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.1.1-15
0303f5
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
0303f5
- Replace maven BuildRequires with maven-local
0303f5
0303f5
* Thu Jan 17 2013 Michal Srb <msrb@redhat.com> - 1.1.1-14
0303f5
- Build with xmvn
0303f5
0303f5
* Thu Aug 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.1-13
0303f5
- Install LICENSE and NOTICE with javadoc package
0303f5
0303f5
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-12
0303f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0303f5
0303f5
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-11
0303f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0303f5
0303f5
* Thu Nov 24 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1.1-10
0303f5
- Fix forgotten pre scriptlet for javadoc symlink removal
0303f5
0303f5
* Thu Nov 24 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1.1-9
0303f5
- Use maven 3 to build
0303f5
- Update according to latest guidelines
0303f5
0303f5
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-8
0303f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0303f5
0303f5
* Mon Jul 12 2010 Alexander Kurtakov <akurtako@redhat.com> 1.1.1-7
0303f5
- Add javax.jms:jms depmap.
0303f5
0303f5
* Fri Apr  2 2010 Mary Ellen Foster <mefoster at gmail.com> 1.1.1-6
0303f5
- Add the *correct* version to the geronimo-specs Obsoletes line
0303f5
- Also Obsolete geronimo-specs-compat
0303f5
0303f5
* Tue Mar 16 2010 Mary Ellen Foster <mefoster at gmail.com> 1.1.1-5
0303f5
- Don't require geronimo-parent-poms at runtime
0303f5
0303f5
* Wed Feb 10 2010 Mary Ellen Foster <mefoster at gmail.com> 1.1.1-4
0303f5
- Add a version to the geronimo-specs Obsoletes line
0303f5
0303f5
* Wed Feb 10 2010 Mary Ellen Foster <mefoster at gmail.com> 1.1.1-3
0303f5
- Clean up provides list, and obsolete geronimo-specs
0303f5
- Change summary and javadoc description
0303f5
0303f5
* Wed Feb  3 2010 Mary Ellen Foster <mefoster at gmail.com> 1.1.1-2
0303f5
- Remove config marker on maven depmap fragment
0303f5
- Remove gcj
0303f5
- Move the provides/obsoletes a bit
0303f5
0303f5
* Tue Jan 19 2010 Mary Ellen Foster <mefoster at gmail.com> 1.1.1-1
0303f5
- Initial package