Blame SPECS/geronimo-jpa.spec

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