package init
This commit is contained in:
parent
b9eab2196d
commit
7864d16d3d
53
geronimo-jpa.spec
Normal file
53
geronimo-jpa.spec
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
%global spec_ver 3.0
|
||||||
|
%global spec_name geronimo-jpa_%{spec_ver}_spec
|
||||||
|
Name: geronimo-jpa
|
||||||
|
Version: 1.1.1
|
||||||
|
Release: 1
|
||||||
|
Summary: Java persistence API implementation
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: http://geronimo.apache.org/
|
||||||
|
Source0: https://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-jpa_3.0_spec/1.1.1/geronimo-jpa_3.0_spec-1.1.1-javadoc.jar
|
||||||
|
Source1: http://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-jpa_3.0_spec-1.1.1/pom.xml
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: maven-local 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
|
||||||
|
%autosetup -c %{spec_name}-%{version}
|
||||||
|
cp %{SOURCE1} ./
|
||||||
|
|
||||||
|
%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/
|
||||||
|
install -d %{_datadir}/%{name}-javadoc/html
|
||||||
|
cp %_builddir/%{name}-%{version}/*.html %{_datadir}/%{name}-javadoc/html
|
||||||
|
cp -r %_builddir/%{name}-%{version}/src-html %{_datadir}/%{name}-javadoc
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%doc META-INF/{LICENSE,NOTICE}
|
||||||
|
%{_javadir}/javax.persistence/
|
||||||
|
|
||||||
|
%files javadoc
|
||||||
|
%doc META-INF/{LICENSE,NOTICE}
|
||||||
|
%{_datadir}/%{name}-javadoc/{html,src-html}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jul 27 2020 huanghaitao <huanghaitao8@huawei.com> - 1.1.1-1
|
||||||
|
- package init
|
||||||
4
geronimo-jpa.yaml
Normal file
4
geronimo-jpa.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: NA
|
||||||
|
src_repo: NA
|
||||||
|
tag_prefix: NA
|
||||||
|
seperator: NA
|
||||||
BIN
geronimo-jpa_3.0_spec-1.1.1-javadoc.jar
Normal file
BIN
geronimo-jpa_3.0_spec-1.1.1-javadoc.jar
Normal file
Binary file not shown.
50
pom.xml
Normal file
50
pom.xml
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
or more contributor license agreements. See the NOTICE file
|
||||||
|
distributed with this work for additional information
|
||||||
|
regarding copyright ownership. The ASF licenses this file
|
||||||
|
to you under the Apache License, Version 2.0 (the
|
||||||
|
"License"); you may not use this file except in compliance
|
||||||
|
with the License. You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing,
|
||||||
|
software distributed under the License is distributed on an
|
||||||
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, either express or implied. See the License for the
|
||||||
|
specific language governing permissions and limitations
|
||||||
|
under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- $Rev$ $Date$ -->
|
||||||
|
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
|
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>org.apache.geronimo.specs</groupId>
|
||||||
|
<artifactId>specs</artifactId>
|
||||||
|
<version>1.4</version>
|
||||||
|
<relativePath>../pom.xml</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<artifactId>geronimo-jpa_3.0_spec</artifactId>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
<name>JPA 1.0</name>
|
||||||
|
<version>1.1.1</version>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<geronimo.osgi.export.pkg>javax.persistence*</geronimo.osgi.export.pkg>
|
||||||
|
<geronimo.osgi.export.version>3.0</geronimo.osgi.export.version>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<scm>
|
||||||
|
<connection>scm:svn:https://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-jpa_3.0_spec-1.1.1</connection>
|
||||||
|
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-jpa_3.0_spec-1.1.1</developerConnection>
|
||||||
|
<url>scm:svn:https://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-jpa_3.0_spec-1.1.1</url>
|
||||||
|
</scm>
|
||||||
|
|
||||||
|
</project>
|
||||||
Loading…
x
Reference in New Issue
Block a user