From 6c1d6de96e775669dbef529269f05df8e46569ff Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Fri, 2 Aug 2019 14:41:28 -0400 Subject: [PATCH] import geronimo-jpa-1.1.1-21.module+el8+2598+06babf2e --- .geronimo-jpa.metadata | 1 + .gitignore | 1 + SPECS/geronimo-jpa.spec | 129 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 131 insertions(+) create mode 100644 .geronimo-jpa.metadata create mode 100644 .gitignore create mode 100644 SPECS/geronimo-jpa.spec diff --git a/.geronimo-jpa.metadata b/.geronimo-jpa.metadata new file mode 100644 index 0000000..bf0b9f0 --- /dev/null +++ b/.geronimo-jpa.metadata @@ -0,0 +1 @@ +601bebbf97955bbac3e52c8049bcb4b6deb0429b SOURCES/geronimo-jpa_3.0_spec-1.1.1.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1465ae5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/geronimo-jpa_3.0_spec-1.1.1.tar.xz diff --git a/SPECS/geronimo-jpa.spec b/SPECS/geronimo-jpa.spec new file mode 100644 index 0000000..9cf1b82 --- /dev/null +++ b/SPECS/geronimo-jpa.spec @@ -0,0 +1,129 @@ +%global spec_ver 3.0 +%global spec_name geronimo-jpa_%{spec_ver}_spec + +Name: geronimo-jpa +Version: 1.1.1 +Release: 21%{?dist} +Summary: Java persistence API implementation + +License: ASL 2.0 +URL: http://geronimo.apache.org/ +# Unfortunately no source release was created in +# http://repo2.maven.org/maven2/org/apache/geronimo/specs/geronimo-jpa_3.0_spec/1.1.1/ +# so we do: +# svn export http://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-jpa_3.0_spec-1.1.1 +# tar caf geronimo-jpa_3.0_spec-1.1.1.tar.xz geronimo-jpa_3.0_spec-1.1.1 +Source0: %{spec_name}-%{version}.tar.xz + +BuildArch: noarch + +BuildRequires: maven-local +BuildRequires: mvn(org.apache.geronimo.specs:specs:pom:) + +Provides: jpa_api = %{spec_ver} +Provides: javax.persistence = %{spec_ver} + + +%description +The Java Persistence API is a new programming model under EJB 3.0 +specification (JSR220) for the management of persistence and +object/relational mapping with Java EE and Java SE. Geronimo JPA is +one implementation of this specification. + + +%package javadoc +Summary: API documentation for %{name} + +%description javadoc +%{summary}. + +%prep +%setup -q -n %{spec_name}-%{version} + +%build +%mvn_file : %{name}/%{name} %{name} jpa +%mvn_alias : javax.persistence:persistence-api +%mvn_build + +%install +%mvn_install + +install -d -m 755 %{buildroot}%{_javadir}/javax.persistence/ +ln -sf ../%{name}.jar %{buildroot}%{_javadir}/javax.persistence/ + +%files -f .mfiles +%doc LICENSE.txt NOTICE.txt +%{_javadir}/javax.persistence/ + +%files javadoc -f .mfiles-javadoc +%doc LICENSE.txt NOTICE.txt + + +%changelog +* Wed Feb 07 2018 Fedora Release Engineering - 1.1.1-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.1.1-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.1.1-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Oct 10 2016 Mikolaj Izdebski - 1.1.1-18 +- Regenerate build-requires + +* Wed Feb 03 2016 Fedora Release Engineering - 1.1.1-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.1.1-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.1.1-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Nov 01 2013 Michal Srb - 1.1.1-14 +- Remove versioned jar (Resolves rhbz#1022099) + +* Mon Aug 12 2013 Stanislav Ochotnicky - 1.1.1-13 +- Add javax.persistence provides and directory + +* Sat Aug 03 2013 Fedora Release Engineering - 1.1.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 1.1.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.1.1-10 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Thu Jan 17 2013 Michal Srb - 1.1.1-9 +- Build with xmvn + +* Thu Jul 19 2012 Fedora Release Engineering - 1.1.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.1.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Nov 25 2011 Stanislav Ochotnicky - 1.1.1-6 +- Build with Maven 3 +- Fix packaging problems + +* Tue Feb 08 2011 Fedora Release Engineering - 1.1.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 30 2010 Stanislav Ochotnicky - 1.1.1-4 +- Add geronimo-parent-poms to Requires + +* Mon Jul 26 2010 - 1.1.1-3 +- Fix whitespace warnings +- Use unversioned Requires on jpackage-utils + +* Thu Jul 22 2010 Stanislav Ochotnicky - 1.1.1-2 +- Add jpa.jar symlink +- Change persistance-api maven depmap version to %%{spec_ver} +- Renamed provides to jpa_api + +* Tue Jul 20 2010 Stanislav Ochotnicky - 1.1.1-1 +- Initial package