Blame SPECS/geronimo-jpa.spec

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