init package

This commit is contained in:
bingo2008 2020-02-20 14:32:11 +08:00
parent 17d9af3d21
commit 2a3ccbbe4f
3 changed files with 99 additions and 0 deletions

BIN
2.10.Final.tar.gz Normal file

Binary file not shown.

View File

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.1-api</artifactId>
<version>1.0.0.Final</version>
<name>Java Persistence API, Version 2.1</name>
<description>Clean-room definition of JPA APIs intended for use in developing Hibernate JPA implementation. See README.md for details</description>
<url>http://hibernate.org</url>
<issueManagement>
<system>jira</system>
<url>http://opensource.atlassian.com/projects/hibernate/browse/JPA</url>
</issueManagement>
<scm>
<url>http://github.com/hibernate/hibernate-jpa-api</url>
<connection>scm:git:http://github.com/hibernate/hibernate-jpa-api.git</connection>
<developerConnection>scm:git:git@github.com:hibernate/hibernate-jpa-api.git</developerConnection>
</scm>
<licenses>
<license>
<name>Eclipse Public License (EPL), Version 1.0</name>
<url>http://www.eclipse.org/legal/epl-v10.html</url>
<distribution>repo</distribution>
</license>
<license>
<name>Eclipse Distribution License (EDL), Version 1.0</name>
<url>http://www.eclipse.org/org/documents/edl-v10.php</url>
</license>
</licenses>
<developers>
<developer>
<id>epbernard</id>
<name>Emmanuel Bernard</name>
<email>emmanuel@hibernate.org</email>
<organization>Red Hat, Inc.</organization>
<url>http://in.relation.to/Bloggers/Emmanuel</url>
</developer>
<developer>
<id>hardy.ferentschik</id>
<name>Hardy Ferentschik</name>
<email>hferents@redhat.com</email>
<organization>Red Hat, Inc.</organization>
<url>http://in.relation.to/Bloggers/Hardy</url>
</developer>
<developer>
<id>sebersole</id>
<name>Steve Ebersole</name>
<email>steve@hibernate.org</email>
<organization>Red Hat, Inc.</organization>
<url>http://in.relation.to/Bloggers/Steve</url>
</developer>
</developers>
</project>

View File

@ -0,0 +1,46 @@
%global apiversion 2.1
%global minversion 0
%global _summary Java Persistence %{apiversion} API
Name: hibernate-jpa-2.1-api
Summary: %{_summary}
Version: 1.0.0
Release: 7
License: EPL and BSD
URL: http://www.hibernate.org/
Source0: https://github.com/hibernate/hibernate-jpa-api/archive/%{?apiversion}%{?minversion}.Final.tar.gz
Source1: http://repo1.maven.org/maven2/org/hibernate/javax/persistence/%{name}/%{version}.Final/%{name}-%{version}.Final.pom
BuildRequires: maven-local maven-plugin-bundle
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
BuildArch: noarch
%description
%{_summary}
%prep
%setup -q -n hibernate-jpa-api-2.10.Final
find . -name "*.jar" -delete
cp -p %{SOURCE1} pom.xml
sed -i 's/\r//' src/main/javadoc/jdstyle.css
%mvn_file :%{name} %{name}
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles -f .mfiles-javadoc
%doc README.md
%license license.txt
%changelog
* Fri Dec 13 2019 dingyiming<dingyiming3@huawei.com> - 1.0.0-7
- Package init