Blame SPECS/geronimo-jpa.spec

814bc8
%global spec_ver 3.0
814bc8
%global spec_name geronimo-jpa_%{spec_ver}_spec
814bc8
814bc8
Name:           geronimo-jpa
814bc8
Version:        1.1.1
814bc8
Release:        21%{?dist}
814bc8
Summary:        Java persistence API implementation
814bc8
814bc8
License:        ASL 2.0
814bc8
URL:            http://geronimo.apache.org/
814bc8
# Unfortunately no source release was created in
814bc8
# http://repo2.maven.org/maven2/org/apache/geronimo/specs/geronimo-jpa_3.0_spec/1.1.1/
814bc8
# so we do:
814bc8
# svn export http://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-jpa_3.0_spec-1.1.1
814bc8
# tar caf geronimo-jpa_3.0_spec-1.1.1.tar.xz geronimo-jpa_3.0_spec-1.1.1
814bc8
Source0:       %{spec_name}-%{version}.tar.xz
814bc8
814bc8
BuildArch:     noarch
814bc8
814bc8
BuildRequires:  maven-local
814bc8
BuildRequires:  mvn(org.apache.geronimo.specs:specs:pom:)
814bc8
814bc8
Provides:       jpa_api = %{spec_ver}
814bc8
Provides:       javax.persistence = %{spec_ver}
814bc8
814bc8
814bc8
%description
814bc8
The Java Persistence API is a new programming model under EJB 3.0
814bc8
specification (JSR220) for the management of persistence and
814bc8
object/relational mapping with Java EE and Java SE. Geronimo JPA is
814bc8
one implementation of this specification.
814bc8
814bc8
814bc8
%package javadoc
814bc8
Summary:   API documentation for %{name}
814bc8
814bc8
%description javadoc
814bc8
%{summary}.
814bc8
814bc8
%prep
814bc8
%setup -q -n %{spec_name}-%{version}
814bc8
814bc8
%build
814bc8
%mvn_file  : %{name}/%{name} %{name} jpa
814bc8
%mvn_alias : javax.persistence:persistence-api
814bc8
%mvn_build
814bc8
814bc8
%install
814bc8
%mvn_install
814bc8
814bc8
install -d -m 755 %{buildroot}%{_javadir}/javax.persistence/
814bc8
ln -sf ../%{name}.jar %{buildroot}%{_javadir}/javax.persistence/
814bc8
814bc8
%files -f .mfiles
814bc8
%doc LICENSE.txt NOTICE.txt
814bc8
%{_javadir}/javax.persistence/
814bc8
814bc8
%files javadoc -f .mfiles-javadoc
814bc8
%doc LICENSE.txt NOTICE.txt
814bc8
814bc8
814bc8
%changelog
814bc8
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-21
814bc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
814bc8
814bc8
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-20
814bc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
814bc8
814bc8
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-19
814bc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
814bc8
814bc8
* Mon Oct 10 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.1-18
814bc8
- Regenerate build-requires
814bc8
814bc8
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-17
814bc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
814bc8
814bc8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-16
814bc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
814bc8
814bc8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-15
814bc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
814bc8
814bc8
* Fri Nov 01 2013 Michal Srb <msrb@redhat.com> - 1.1.1-14
814bc8
- Remove versioned jar (Resolves rhbz#1022099)
814bc8
814bc8
* Mon Aug 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1.1-13
814bc8
- Add javax.persistence provides and directory
814bc8
814bc8
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-12
814bc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
814bc8
814bc8
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-11
814bc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
814bc8
814bc8
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.1.1-10
814bc8
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
814bc8
- Replace maven BuildRequires with maven-local
814bc8
814bc8
* Thu Jan 17 2013 Michal Srb <msrb@redhat.com> - 1.1.1-9
814bc8
- Build with xmvn
814bc8
814bc8
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-8
814bc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
814bc8
814bc8
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-7
814bc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
814bc8
814bc8
* Fri Nov 25 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1.1-6
814bc8
- Build with Maven 3
814bc8
- Fix packaging problems
814bc8
814bc8
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-5
814bc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
814bc8
814bc8
* Fri Jul 30 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1.1-4
814bc8
- Add geronimo-parent-poms to Requires
814bc8
814bc8
* Mon Jul 26 2010  <sochotnicky@redhat.com> - 1.1.1-3
814bc8
- Fix whitespace warnings
814bc8
- Use unversioned Requires on jpackage-utils
814bc8
814bc8
* Thu Jul 22 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1.1-2
814bc8
- Add jpa.jar symlink
814bc8
- Change persistance-api maven depmap version to %%{spec_ver}
814bc8
- Renamed provides to jpa_api
814bc8
814bc8
* Tue Jul 20 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1.1-1
814bc8
- Initial package