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